我使用以下命令在我的 Synology DS114 上安装了带有 ipkg 的 getmail:
ipkg update
ipkg install python
ipkg install py25-getmail
执行 getmail 命令时,我得到这个堆栈跟踪:
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
getmail包坏了吗?请问如何解决这个问题?
谢谢