Re: imapServer.py Problem

John Kristensen <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hell Heiko,

On 06/09/12 23:11, [email protected] wrote:
> Dear fellow Roundup users,
>
> I was trying to run the imapServer.py script on Windows Home Server SP2,
> but did not succeed.
>
> When starting the script according to the scheme
>  >python imapServer.py C:\trackerhome
> imaps://tracker-mailaddress:password@imapserver
>
> I get the following errors:
> Traceback (most recent call last):
>    File "imapServer.py", line 381, in <module>
>      main()
>    File "imapServer.py", line 357, in main
>      log.setLevel(opts.verbose)
>    File "C:\Python27\lib\logging\__init__.py", line 1108, in setLevel
>      self.level = _checkLevel(level)
>    File "C:\Python27\lib\logging\__init__.py", line 190, in _checkLevel
>      raise TypeError("Level not an integer or a valid string: %r" % level)
> TypeError: Level not an integer or a valid string: None
>
> roundup-mailgw itself runs flawlessly using the same input. I would
> greatly appreciate if anybody could point me to what I am doing wrong.
>

There appears to be an error in the imapServer.py script where no 
default value for the verbosity level of the output is being set. Try 
using one of the verbose options (-v,-V,-q,-Q) when you run the command. 
For a full list of the options available, run:

   python imapServer.py -h

Hopefully this will work around the problem. I'll log the bug in issue 
tracker and see if we can get it fixed for future releases.

SeeYa,
John.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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.