#54 Unexpected arg: ClientCookie.HTTPSHandler(debuglevel=0)

closed
None
5
2008-07-12
2008-07-10
Mark
No

Python 2.5 with mechanize library and changing
import ClientCookie
to
import mechainze as Client Cookie

I see the following error when mounting:

# mount -t gmailfs /usr/bin/gmailfs.py /mnt/gmailfs -o username=$GMAIL_USER,password=$GMAIL_PSWD,fsname=<...>
Ignored option :rw
07/10/08 16:20:22 WARNING Unable to read configuration file: ['/etc/gmailfs.conf', '/root/.gmailfs']
Traceback (most recent call last):
File "/sbin/mount.gmailfs", line 164, in <module>
main(mountpoint, namedOptions, useEncfs)
File "/sbin/mount.gmailfs", line 90, in main
gmailfs.main(mountpoint, namedOptions)
File "/usr/bin/gmailfs.py", line 1172, in main
server = Gmailfs(namedOptions,mountpoint,version="gmailfs 0.8.0",usage='',dash_s_do='setsingle')
File "/usr/bin/gmailfs.py", line 607, in __init__
self.ga = libgmail.GmailAccount(username, password)
File "/usr/local/lib/python2.5/site-packages/libgmail.py", line 269, in __init__
ClientCookie.HTTPSHandler(debuglevel=0),
TypeError: __init__() got an unexpected keyword argument 'debuglevel'
07/10/08 16:20:23 ERROR gmailfs child died, exiting...

Discussion

  • Waseem Daher

    Waseem Daher - 2008-07-12

    Logged In: YES
    user_id=338872
    Originator: NO

    Fixed in CVS. Please check out the latest version; if it still doesn't work for you there, let us know.

     
  • Waseem Daher

    Waseem Daher - 2008-07-12
    • assigned_to: nobody --> wdaher
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks