Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

GmailFS

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
91 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
snuffer
Apprentice
Apprentice
Posts: 207
Joined: Sat Jun 12, 2004 9:07 am
Location: Israel

  • Quote

Post by snuffer » Sat Sep 18, 2004 9:19 am

From Dictionary.com search of endorse
To give approval of or support to, especially by public statement; sanction: endorse a political candidate. See Synonyms at approve.
Registered Linux User #360735.
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Mon Sep 20, 2004 7:57 pm

Sorry for intruding on this legal discussion, but is AVFS in portage too? I can't seem to find it.

I don't mind building it manually, but it's so easy keeping it up-to-date :P
If you can't dazzle them with brilliance, baffle them with bullshit.
Top
Pythonhead
Developer
Developer
User avatar
Posts: 1801
Joined: Mon Dec 16, 2002 6:30 pm
Location: Redondo Beach, Republic of Calif.
Contact:
Contact Pythonhead
Website

  • Quote

Post by Pythonhead » Mon Sep 20, 2004 10:46 pm

Rainmaker wrote:Sorry for intruding on this legal discussion, but is AVFS in portage too? I can't seem to find it.
How dare you. My lawyer will be in contact with you soon.

Search!

http://bugs.gentoo.org/show_bug.cgi?id=23112

My turn to be off topic. Heres a new app that lets you access several web based email accounts (including gmail) as pop3:
net-mail/freepops
Top
SuperJudge
Apprentice
Apprentice
User avatar
Posts: 177
Joined: Tue Jun 08, 2004 6:35 pm
Location: Albany, GA
Contact:
Contact SuperJudge
Website

  • Quote

Post by SuperJudge » Sun Oct 17, 2004 2:46 am

Rainmaker wrote:Sorry for intruding on this legal discussion, but is AVFS in portage too? I can't seem to find it.

I don't mind building it manually, but it's so easy keeping it up-to-date :P
I found on the SF page that Fuse 1.4 is a separate project of AVFS, and if you go to the Fuse project page you can use their mirrors to get either Fues-1.3, or rename the link and wget Fuse-1.3. I got that to work.
---Powered by Honda
Top
feld
Guru
Guru
User avatar
Posts: 593
Joined: Sun Aug 29, 2004 5:29 pm
Location: USA

  • Quote

Post by feld » Thu Feb 03, 2005 7:45 pm

this is great... best use of GMAIL ever!



-Feld
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Top
insanidade
n00b
n00b
User avatar
Posts: 20
Joined: Mon May 09, 2005 11:49 pm

  • Quote

Post by insanidade » Sat Jun 25, 2005 4:31 am

Hi all.
After performing the whole installation process, I get the following message when trying to access my /mnt/gmail folder:

"No space left on device"

There is a lot of output in the terminal I have used to mount the fs.
I see the internet connection very active during my attempts to access /mnt/gmail... but nothing happens but the described above.


Any help?
Thanks in advance.

Otávio Augusto
Top
geaaru
n00b
n00b
User avatar
Posts: 73
Joined: Fri Feb 25, 2005 11:55 pm

  • Quote

Post by geaaru » Sun Jun 26, 2005 11:57 am

I have inserted ebuild for gmailfs version 0.4. I have only modified downloaded file name and add two postinstall operations. With version 0.3 doesn't work. but with 0.4 version I connect with gmail server but I have this error message when I try to read from mounted filesystem:

Code: Select all

ERROR:gmailfs:Exception getting query:n=__c____d__ p=__a____fs____b__
ERROR:gmailfs:Exception getting query:n=__c____d__ p=__a____fs____b__
ERROR:gmailfs:Exception getting query:n=__c____d__ p=__a____fs____b__
Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 1082, in getinodemsg
    if len(folder)!=1:
TypeError: len() of unsized object
ERROR:gmailfs:no slash in path:/
Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 201, in _sendMessage
    if ga.sendMessage(gmsg):
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 526, in sendMessage
    items = self._parsePage(req)
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 300, in _parsePage
    items = _parsePage(self._retrievePage(urlOrRequest))
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 107, in _parsePage
    if itemsDict[D_VERSION] != js_version and not versionWarned:
KeyError: 'v'
Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 201, in _sendMessage
    if ga.sendMessage(gmsg):
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 526, in sendMessage
    items = self._parsePage(req)
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 300, in _parsePage
    items = _parsePage(self._retrievePage(urlOrRequest))
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 107, in _parsePage
    if itemsDict[D_VERSION] != js_version and not versionWarned:
KeyError: 'v'
Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 201, in _sendMessage
    if ga.sendMessage(gmsg):
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 526, in sendMessage
    items = self._parsePage(req)
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 300, in _parsePage
    items = _parsePage(self._retrievePage(urlOrRequest))
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 107, in _parsePage
    if itemsDict[D_VERSION] != js_version and not versionWarned:
KeyError: 'v'
ERROR:gmailfs:Send failed too many times
ls: /mnt/gmailfs: No space left on device
Are there problems with gmailfs version? What is the problem?
Thanks for your help.
Top
insanidade
n00b
n00b
User avatar
Posts: 20
Joined: Mon May 09, 2005 11:49 pm

  • Quote

Post by insanidade » Mon Jun 27, 2005 2:25 am

That is exactly the same error I get.

So, does anybody have any sugestion?

Regards

Otávio Augusto
Top
teme00
n00b
n00b
Posts: 4
Joined: Wed Mar 23, 2005 10:11 pm

  • Quote

Post by teme00 » Mon Jun 27, 2005 6:19 am

I also have the same error message. Have not found any solution...
Top
geaaru
n00b
n00b
User avatar
Posts: 73
Joined: Fri Feb 25, 2005 11:55 pm

  • Quote

Post by geaaru » Mon Jun 27, 2005 10:24 am

With my gmail-0.4.ebuild I mounted gmailfs. You try it...

http://bugs.gentoo.org/show_bug.cgi?id=63785

:)
Top
teme00
n00b
n00b
Posts: 4
Joined: Wed Mar 23, 2005 10:11 pm

  • Quote

Post by teme00 » Tue Jun 28, 2005 7:29 am

Have been reading howtos, but i can't figured it out how to install that gmail-0.4.ebuild? Could you give some advice?
Top
geaaru
n00b
n00b
User avatar
Posts: 73
Joined: Fri Feb 25, 2005 11:55 pm

  • Quote

Post by geaaru » Tue Jun 28, 2005 7:41 am

From this link
http://bugs.gentoo.org/attachment.cgi?i ... ction=view
download gmailfs-0.4.ebuild
then downlaod also ebuild of fuse-python
http://bugs.gentoo.org/show_bug.cgi?id=63789

For installing gmailfs:
emerge fuse
cp gmailfs-0.4.ebuild /usr/local/portage/sys-fs/gmailfs
cp fuse-python-0.1-r1.ebuild /usr/local/portage/sys-fs/fuse-python
cp <patch fuse-python> /usr/local/portage/sys-fs/fuse-python/files
cd /usr/local/portage/sys-fs/gmailfs && ebuild gmailfs-0.4.ebuild digest
cd /usr/local/portage/sys-fs/fuse-python && ebuild fuse-python-0.1-r1.ebuild digest
emerge fuse-python
emerge gmailfs
configure /etc/gmailfs.conf
mount -t gmailfs /usr/bin/gmailfs.py /mnt/gmailfs

and then working.... good work. Bye.
Top
teme00
n00b
n00b
Posts: 4
Joined: Wed Mar 23, 2005 10:11 pm

  • Quote

Post by teme00 » Tue Jun 28, 2005 9:01 am

Thanks for your advice! Actually i found that problem was that i don't have CVS version of libgmail. Anyway, now it works!
Top
geaaru
n00b
n00b
User avatar
Posts: 73
Joined: Fri Feb 25, 2005 11:55 pm

  • Quote

Post by geaaru » Tue Jun 28, 2005 9:07 am

I use libgmail on portage (version 0.0.8 ) and working the same one... I don't use cvs version.
However, now you can mount gmailfs, this it is important!:)
Bye.
Top
NotQuiteSane
Guru
Guru
User avatar
Posts: 492
Joined: Sun Jan 30, 2005 1:28 am
Location: Klamath Falls, Jefferson, USA, North America, Midgarth
Contact:
Contact NotQuiteSane
Website

  • Quote

Post by NotQuiteSane » Tue Jul 19, 2005 4:32 am

geaaru wrote:ebuild fuse-python-0.1-r1.ebuild digest
I'm having trouble with the above line. I keep getting back:

Code: Select all

!!! aux_get(): ebuild path for 'sys-fs/fuse-python-0.1-r1' not specified:
!!!                     none
I had a similar problem here, and double checked all the settings from that thread.

Code: Select all

ebuild gmailfs digest
works perfectly. as do other packages i've added in. just not fuse-python

any ideas?

NQS
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Top
NotQuiteSane
Guru
Guru
User avatar
Posts: 492
Joined: Sun Jan 30, 2005 1:28 am
Location: Klamath Falls, Jefferson, USA, North America, Midgarth
Contact:
Contact NotQuiteSane
Website

  • Quote

Post by NotQuiteSane » Tue Jul 19, 2005 4:45 am

NotQuiteSane wrote: I'm having trouble with ...
Nevermind. fixed. got a "y" key that has to be pressed firmly. portage didn't like 'fuse-pthon'

NQS
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Top
kermitthefrog917
Tux's lil' helper
Tux's lil' helper
Posts: 106
Joined: Sun May 08, 2005 3:45 pm

  • Quote

Post by kermitthefrog917 » Sun Sep 11, 2005 9:13 pm

not working anymore....
google updated something... my firefox extension died today as well... the update fixed it no problem... but i cant get gmailfs up and running... libgmail is the problem. wont let me log in. says i have a wrong username/password.

theres got to be an updated libgmail out there....

anyway... is there a better way to be routing this? i think the libgmail has been around longer than the pop3 gmail access has..... anyway that pop3 could be used instead??? wouldnt that be more efficient?
Top
Treiks
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 82
Joined: Thu Apr 15, 2004 12:15 pm

  • Quote

Post by Treiks » Fri Sep 16, 2005 10:40 am

I use:
libgmail-0.0.8-r1
gmailfs-0.4
And from some days always got:

Code: Select all

[root@wolf~]# mount -t gmailfs /usr/bin/gmailfs.py /mnt/gmail
gmailfs.py:Gmailfs:mountpoint: '/mnt/gmail'
gmailfs.py:Gmailfs:unnamed mount options: ['rw']
gmailfs.py:Gmailfs:named mount options: {}
Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 1117, in ?
    server = Gmailfs()
  File "/usr/bin/gmailfs.py", line 603, in __init__
    self.ga.login()
  File "/usr/lib/python2.3/site-packages/libgmail.py", line 298, in login
    raise GmailLoginFailure("Login failed. (Wrong username/password?)")
libgmail.GmailLoginFailure: 'Login failed. (Wrong username/password?)'
The password and username is OK so I assume google made chnges.
Top
kermitthefrog917
Tux's lil' helper
Tux's lil' helper
Posts: 106
Joined: Sun May 08, 2005 3:45 pm

  • Quote

Post by kermitthefrog917 » Fri Sep 16, 2005 8:41 pm

I updated to libgmail-1.1 and it was able to log in, and post files, but it locks up pretty badly whenever i try and access those files.
anyone else had problems?
Top
meulie
l33t
l33t
User avatar
Posts: 845
Joined: Tue Jun 17, 2003 12:07 pm
Location: a Dutchman living in Norway
Contact:
Contact meulie
Website

  • Quote

Post by meulie » Wed Sep 21, 2005 6:04 pm

Hi all!

When I try to mount my gmail-folder, I get:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 29, in ?
    from constants import *
ImportError: No module named constants
What am I doing wrong...?
Greetz,
Evert Meulie
Top
six6
n00b
n00b
Posts: 6
Joined: Fri Feb 25, 2005 8:24 pm
Contact:
Contact six6
Website

  • Quote

Post by six6 » Fri Sep 23, 2005 12:46 pm

I'm using Ubuntu but stumbled across here to see if it's working in Gentoo. Mounting the filesystem succeeds for me

Code: Select all

# mount|grep google
/dev/fuse on /mnt/google type fuse (rw,nosuid,nodev)
... but I can't access any files

Code: Select all

# ls /mnt/ 
Empty account 
Traceback (most recent call last):
  File "/usr/share/gmailfs/gmailfs-newer.py", line 252, in __init__
    self.inode_msg = self.getinodeMsg(matchInode)
  File "/usr/share/gmailfs/gmailfs-newer.py", line 275, in getinodeMsg
    return thread._messages[len(thread._messages)-1]
IndexError: list index out of range
ls: /mnt/google: Input/output error
Anyone have a similar error? My account isn't "Empty"; it has emails in it.

@meulie

Your constants.py file has probably been renamed lgconstants.py (as mentioned earlier in the thread, ref:bug report). Just make a symbolic link called constants.py and it shouldn't complain.
Top
Ph0eniX
Guru
Guru
User avatar
Posts: 502
Joined: Fri Sep 24, 2004 8:59 pm
Location: New York, U.S.

  • Quote

Post by Ph0eniX » Fri Sep 23, 2005 3:29 pm

Pythonhead wrote:I bet Google will start shutting down accounts quickly since using gmail as storage is against their policy.


Heres an ebuild I wrote for libgmail if you want to check your gmail for new mail, download it etc:
http://bugs.gentoo.org/show_bug.cgi?id=62100

Check out the demos directory for scripts for pop3, smtp etc
Nevermind. I didn't realize that this thread was from 2003.
Top
meulie
l33t
l33t
User avatar
Posts: 845
Joined: Tue Jun 17, 2003 12:07 pm
Location: a Dutchman living in Norway
Contact:
Contact meulie
Website

  • Quote

Post by meulie » Fri Sep 23, 2005 9:17 pm

six6 wrote: @meulie

Your constants.py file has probably been renamed lgconstants.py (as mentioned earlier in the thread, ref:bug report). Just make a symbolic link called constants.py and it shouldn't complain.
Thanks! :) That got me a step further! ;-)
Greetz,
Evert Meulie
Top
geaaru
n00b
n00b
User avatar
Posts: 73
Joined: Fri Feb 25, 2005 11:55 pm

  • Quote

Post by geaaru » Tue Oct 18, 2005 10:28 am

meulie wrote:Hi all!

When I try to mount my gmail-folder, I get:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 29, in ?
    from constants import *
ImportError: No module named constants
What am I doing wrong...?
From: http://bugs.gentoo.org/show_bug.cgi?id=63785

> einfo "You actually need to use libgmail from CVS. So do this:"
> einfo "cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libgmail login"
> einfo "cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libgmail co libgmail"
> einfo "then copy constants.py and libgmail.py to your"
> einfo "/usr/lib/python-<ver>/site-packages directory"
chmod a+x /sbin/mount.gmailfs
ln -s /sbin/mount.gmailfs /sbin/mount.fuse

Have you download constants.py and libgmail.py from cvs?
Top
Soef
n00b
n00b
Posts: 41
Joined: Thu Mar 17, 2005 10:12 am

  • Quote

Post by Soef » Wed Oct 26, 2005 12:06 pm

geaaru wrote:
meulie wrote:Hi all!

When I try to mount my gmail-folder, I get:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/gmailfs.py", line 29, in ?
    from constants import *
ImportError: No module named constants
What am I doing wrong...?
From: http://bugs.gentoo.org/show_bug.cgi?id=63785

> einfo "You actually need to use libgmail from CVS. So do this:"
> einfo "cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libgmail login"
> einfo "cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libgmail co libgmail"
> einfo "then copy constants.py and libgmail.py to your"
> einfo "/usr/lib/python-<ver>/site-packages directory"
chmod a+x /sbin/mount.gmailfs
ln -s /sbin/mount.gmailfs /sbin/mount.fuse

Have you download constants.py and libgmail.py from cvs?
That should fix it, but make sure you do "emerge cvs" first to be able to use "cvs".

The latest CVS version of libgmail doesn't have constants.py but is called lgconstants.py. I managed to make it work by renaming the new file to the old descryption. I figured it wouldn't be any harm since the installed version is an "old" version...
Bleeding edge is our downfall...
Top
Post Reply

91 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy