Unable to modify or save usercertificate;binary

View: New views
2 Messages — Rating Filter:   Alert me  

Unable to modify or save usercertificate;binary

by Vincent Cruz :: Rate this Message:

| View Threaded | Show Only this Message

Hello,

  I'm runing Luma 2.3 with python-ldap 2.0.6, PyQt 3.15 and Qt 3.3.5.
I'm trying to set the "usercertificate;binary" attribute for an entry.
So i'm clicking on the "Edit attribute" icon, but i have the following
error when i click on the file browser icon:

  File "/usr/local/lib/luma/base/utils/gui/editors/BinaryEditor.py",
line 70, in showFileDialog
    None, 1)
Reason: exceptions.RuntimeError cannot pass None as argument 0 in this call

  But i'm still able to add a certificate (provided it's encoded in
DER format). Then i'm trying to save the "usercertificate;binary" from
another user. When i click on the save/export icon, i have the
following error:

  File "/usr/local/lib/luma/base/utils/gui/AdvancedObjectWidget.py",
line 446, in modifierClicked
    self.exportAttribute(attributeName, index)
  File "/usr/local/lib/luma/base/utils/gui/AdvancedObjectWidget.py",
line 461, in exportAttribute
    None, 1))
Reason: exceptions.RuntimeError cannot pass None as argument 0 in this call

Ps: I attached the ldif and the certificate in DER format, i used for tests.

Regards,
Vincent



ldif (1K) Download Attachment
cert.der (1K) Download Attachment

Re: Unable to modify or save usercertificate;binary

by Wido Depping :: Rate this Message:

| View Threaded | Show Only this Message

On 5/11/06, Vincent Cruz <cruz.vincent@...> wrote:

> Hello,
>
>   I'm runing Luma 2.3 with python-ldap 2.0.6, PyQt 3.15 and Qt 3.3.5.
> I'm trying to set the "usercertificate;binary" attribute for an entry.
> So i'm clicking on the "Edit attribute" icon, but i have the following
> error when i click on the file browser icon:
>
>   File "/usr/local/lib/luma/base/utils/gui/editors/BinaryEditor.py",
> line 70, in showFileDialog
>     None, 1)
> Reason: exceptions.RuntimeError cannot pass None as argument 0 in this call
>
>   But i'm still able to add a certificate (provided it's encoded in
> DER format). Then i'm trying to save the "usercertificate;binary" from
> another user. When i click on the save/export icon, i have the
> following error:
>
>   File "/usr/local/lib/luma/base/utils/gui/AdvancedObjectWidget.py",
> line 446, in modifierClicked
>     self.exportAttribute(attributeName, index)
>   File "/usr/local/lib/luma/base/utils/gui/AdvancedObjectWidget.py",
> line 461, in exportAttribute
>     None, 1))
> Reason: exceptions.RuntimeError cannot pass None as argument 0 in this call
>
> Ps: I attached the ldif and the certificate in DER format, i used for tests.
>
> Regards,
> Vincent
>
>
>

Confirmed and fixed. Bugfixrelease will be out this week.

mfg.
  Wido
--
Wido Depping
ICQ: 51303067    AIM: wido3379
Jabber: wido@...


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Luma-users mailing list
Luma-users@...
https://lists.sourceforge.net/lists/listinfo/luma-users