Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7477109
By: jwishnie

yes, everything works fine on the command line.

'math' is a C-shared-library that in Ubuntu is under lib-dynload/math.so

Here's the stack trace--if I'm reading it properly, 'math' fails to import 
because
it can't import 'log', both of which are standard and in the path... Again,
from the command line, no problem executing this script and there are no ENV
variables set.

    sender_len=int(math.ceil(sender_dec_len/2.0))
AttributeError: 'module' object has no attribute 'ceil'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in
apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in
<module>
    from apport.report import Report
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 14, in
<module>
    import subprocess, tempfile, os.path, urllib, re, pwd, grp, os, sys
  File "/usr/lib/python2.5/tempfile.py", line 33, in <module>
    from random import Random as _Random
  File "/usr/lib/python2.5/random.py", line 43, in <module>
    from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil
as _ceil
ImportError: cannot import name log


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to