AttributeError: 'os' has no attribute 'error'

yael oshri
2009-09-08
2013-03-15
  • yael oshri

    yael oshri - 2009-09-08

    Hi,

    I get the following error:
                  File "\jython\Lib\traceback.py", line 140, in format_exception
      File "\jython\Lib\traceback.py", line 75, in format_tb
      File "\jython\Lib\traceback.py", line 99, in extract_tb
      File "\jython\Lib\linecache.py", line 15, in getline
      File "\jython\Lib\linecache.py", line 41, in getlines
      File "\jython\Lib\linecache.py", line 70, in updatecache
    AttributeError: class 'org.python.modules.os' has no attribute 'error'.

    I use java 5 & jython 2.1

    Does someone know this problem & how to solve it?

    thanks

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-09-08

      I think asking at the jython list would be more appropriate for this error (and don't forget to post the code-sample that's yielding that error there).

      Cheers,

      Fabio

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks