LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-03-2006, 04:27 AM   #31
laktech
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
[FIX] TypeError: __init__() got multiple values for keyword argument


Quote:
Originally Posted by aroche
Hi Aaron

Ok so i followed your doc and added in everything the same way you did but then when i go to mount the filesystem it throws back a load of "code/crap " see below. I have tried different version of the mount.gmailfs and got different errors i can also post them up but bassically it was giving out about not enough arguments given and "username" is not a valid argument stuff like that, i will post them up in 20 min if thats any help.


Thanks again for the help on this one

Regards

Al.

command im running:

mount -t gmailfs /usr/bin/gmailfs.py /home/alan/gmail -o username=gmailaccount,password=passwd,fsname=12344

Ignored option :rw
Ignored option :0
Traceback (most recent call last):
File "/sbin/mount.gmailfs", line 164, in ?
main(mountpoint, namedOptions, useEncfs)
File "/sbin/mount.gmailfs", line 90, in main
gmailfs.main(mountpoint, namedOptions)
File "/usr/bin/gmailfs.py", line 1130, in main
server = Gmailfs(mountpoint, **namedOptions)
File "/usr/bin/gmailfs.py", line 542, in __init__
Fuse.__init__(self, mountpoint, **kw)
File "/usr/lib/python2.4/site-packages/fuse.py", line 559, in __init__
self.parser = parserclass(*args, **kw)
File "/usr/lib/python2.4/site-packages/fuse.py", line 223, in __init__
SubbedOptParse.__init__(self, *args, **kw)
File "/usr/lib/python2.4/site-packages/fuseparts/subbedopts.py", line 239, in __init__
OptionParser.__init__(self, *args, **kw)
TypeError: __init__() got multiple values for keyword argument 'usage'
I was having this same problem. The issue is with the FUSE python bindings. You must force FUSE python bindings to enforce compatibility. This is done by

Code:
export FUSE_PYTHON_COMPAT=0.1
Matt Jerzy Kowalczyk
 
Old 08-03-2006, 05:47 AM   #32
Sailesh
LQ Newbie
 
Registered: Jul 2006
Posts: 16

Rep: Reputation: 0
how to build the kernel module first? Where will be the kernel config menu? How to know the type of kernel?

Please be more detailed...
I am a newbie....
thnx
 
Old 08-03-2006, 01:26 PM   #33
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Quote:
I was having this same problem. The issue is with the FUSE python bindings. You must force FUSE python bindings to enforce compatibility. This is done by


Code:
export FUSE_PYTHON_COMPAT=0.1
Matt Jerzy Kowalczyk
Thanks for the tip Matt!

Quote:
how to build the kernel module first? Where will be the kernel config menu? How to know the type of kernel?

Please be more detailed...
I am a newbie....
thnx
You need to get the kernel source for your distro. Check to see if you have it allready by going to /usr/src and seeing if there is a kernel version that matches the output of 'uname -r'. Once you have the source, you can compile your kernel. There are many guides on how to do this, I suggest you read one of them. Feel free to ask if you still a bit confused after reading it.

regards,
...drkstr
 
Old 12-11-2006, 12:51 AM   #34
yongitz
Member
 
Registered: Nov 2005
Location: Davao City, Philippines
Distribution: RHEL, CentOS, Ubuntu, Mint
Posts: 139

Rep: Reputation: 20
Hi guys! I'm just wondering. Could this be done on cygwin? Thanks..
 
Old 12-11-2006, 12:56 AM   #35
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
As long as the kernel used by cgywin supports fuse file systems, and has a working python install, then yes. But it will probably take a little tinkering. But hell, that's most of the fun anyways.

best regards,
...drkstr
 
Old 05-07-2007, 09:39 AM   #36
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
where do I get python-fuse if I am behind a HTTP proxy and can't use CVS? I download fuse (the file .tar.gz) from its sourceforge download page but that doesn't have python-fuse in it. Any ideas?
Thanks
duryodhan
 
Old 05-18-2007, 02:16 AM   #37
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
http://sourceforge.net/project/showf...kage_id=231951

enjoy,

...drkstr
 
  


Reply

Tags
gmail, howto


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access my gmail account in Mepis Charos MEPIS 7 07-28-2005 12:52 AM
Mount Gmail-like account as drive snutz411 Linux - Networking 41 06-05-2005 12:08 AM
ANYBODY WANT A GMAIL Account jon2kx General 9 08-17-2004 05:39 AM
I want a GMail account! jrbush82 General 1 08-06-2004 08:58 PM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration