python - Synology DS114 : install getmail with ipkg -


i installed getmail ipkg on synology ds114 using commands:

ipkg update ipkg install python ipkg install py25-getmail 

when executing getmail command, stacktrace:

nas> getmail traceback (most recent call last):   file "/opt/bin/getmail", line 13, in <module>     import imaplib   file "/opt/lib/python2.5/imaplib.py", line 25, in <module>     import binascii, os, random, re, socket, sys, time   file "/opt/lib/python2.5/random.py", line 58, in <module>     sg_magicconst = 1.0 + _log(4.5) overflowerror: math range error 

is getmail package broken? how fix please?

thanks

problem 1:
calculation random.py trying on sudden amount of digits, , that's causing overflow.

if seems take long period of time complete, delay in finding fully-qualified hostname of system. fix ensure have valid mapping of address-to-hostname addresses in system. can in /etc/hosts file, in authoritative content dns server, or in system-specific manner

try before executing "getmail command"

python -c "import socket; print socket.getfqdn()" 

problem 2
getmail ran out of memory, due bug in python's imap library fixed in 2008.

you can most-likely fix upgrading python later version 2.6.x or later. after upgrade install getmail again.
if you're unlucky secondary error causing this. it's hard troubleshoot.

try these solutions, if don't work, there more information possible provide?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -