Re: Traceback (most recent call last): File "/usr/local/bin/getmail", line 59, in <module>

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Fabio H. F. <[email protected]> wrote:
> Hello , i am having problems with getmail after upgrading to 5.14, any idea
> what might be ?
[...]
> Ubuntu 14.04 x64
> python2.7                             2.7.6-8ubuntu0.5
> 
> error message executing /usr/local/bin/getmail --version:
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/getmail", line 59, in <module>
>     from getmailcore import __version__, retrievers, destinations, filters,
> \
>   File "/usr/local/lib/python2.7/dist-packages/getmailcore/retrievers.py",
> line 369, in <module>
>     class SimpleIMAPRetriever(IMAPRetrieverBase, IMAPinitMixIn):
>   File "/usr/local/lib/python2.7/dist-packages/getmailcore/retrievers.py",
> line 382, in SimpleIMAPRetriever
>     ConfTupleOfUnicode(name='mailboxes', required=False,
> NameError: name 'ConfTupleOfUnicode' is not defined

Something about your getmail installation is broken.  The item it's
complaining about not being defined actually is defined and exported by the
baseclasses module, the contents of which is imported at the top of
retrievers.py.

Try removing /usr/local/lib/python2.7/dist-packages/getmailcore (and any other
getmail-related directories/files there) and re-installing 5.14.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.