Agile_Data_Code
Agile_Data_Code copied to clipboard
File "./gmail.py", line 7, in <module> from lepl.apps.rfc3696 import EmailUtils ImportError: No module named lepl.apps.rfc3696
when i try to run this:
./gmail.py -m automatic -u [email protected] -p 'pwd' -s ./email.avro.schema -f '[Gmail]/All Mail' -o /tmp/test_mbox 2>&1 &
i get this error:
Traceback (most recent call last):
File "./gmail.py", line 7, in
Please let me know if you have any suggestions. Thanks Sai
pip install lepl
On Sat, Mar 1, 2014 at 11:52 PM, saisaigraph [email protected]:
when i try to run this:
./gmail.py -m automatic -u [email protected] -p 'pwd' -s ./email.avro.schema -f '[Gmail]/All Mail' -o /tmp/test_mbox 2>&1 &
i get this error:
Traceback (most recent call last): File "./gmail.py", line 7, in from lepl.apps.rfc3696 import EmailUtils
ImportError: No module named lepl.apps.rfc3696
Please let me know if you have any suggestions. Thanks Sai
Reply to this email directly or view it on GitHubhttps://github.com/rjurney/Agile_Data_Code/issues/26 .
Russell Jurney twitter.com/rjurney [email protected] datasyndrome.com
Hi, I get timeout exception error immediately after running ./gmail.py... I can connect to imap.gmail.com by telnet.
If you let it keep going, it should work despite the exception. It reconnects. ᐧ
On Sat, Mar 7, 2015 at 8:41 AM, pmaldonadolopez [email protected] wrote:
Hi, I get timeout exception error immediately after running ./gmail.py... I can connect to imap.gmail.com by telnet.
— Reply to this email directly or view it on GitHub https://github.com/rjurney/Agile_Data_Code/issues/26#issuecomment-77697172 .
Russell Jurney twitter.com/rjurney [email protected] datasyndrome.com
Hi, thanks for the reply, but it still doesn't work: I get
Folder '[Gmail]/All Mail' SELECT status: NO Problem initializing imap connection.
Then it stays there and nothing is copied to the target folder. Any suggestions on how to fix this?
I think you should put you args in quotes eg -u '[email protected]' -p 'password' etc
Problem: Warning: /tmp/my_inbox_directory already exists:
Warning: /tmp/my_inbox_directorytmp already exists:
Traceback (most recent call last):
File "./gmail.py", line 104, in
File "/usr/lib/python2.7/imaplib.py", line 661, in select
typ, dat = self._simple_command(name, mailbox)
File "/usr/lib/python2.7/imaplib.py", line 1087, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "/usr/lib/python2.7/imaplib.py", line 837, in _command
', '.join(Commands[name])))
imaplib.error: command SELECT illegal in state NONAUTH, only allowed in states AUTH, SELECTED
I am getting the same error as above even after 'sudo pip install lepl':
Traceback (most recent call last): File "./gmail.py", line 7, in from lepl.apps.rfc3696 import EmailUtils ImportError: No module named lepl.apps.rfc3696
I solved the above error:
sudo pip install lepl was pointing to 3.5 instead of 2.7 due to upgrading pip.
sudo python -m pip install lepl
fixed it.