Menu ▾ ▴

ImportError: cannot import name ....

jwin
2007-01-24
2013-03-15
  • jwin

    jwin - 2007-01-24

    after checkout of trac (tag 10.3), i get

    Traceback (most recent call last):
      File "D:\Projekte\trac_10\trac\web\standalone.py", line 27, in ?
        from trac.util import autoreload, daemon
    ImportError: cannot import name autoreload

    In project properties i have .../trac_10.3/trac/ as Pythonpath entry.
    I use Python 2.5

    System Pythonpath is 'clean'.

    in standalona.py there is this import:
    from trac.util import autoreload, daemon

    Adding .../trac_10.3/trac/util as Pythonpath entry does not help.

    what could be wrong ?

     
    • jwin

      jwin - 2007-01-24

      ofcourse I meant D:\Projekte\trac_10\trac as project Pythonpath entry.

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2007-01-24

        I think your pythonpath entry should be "D:\Projekte\trac_10\" instead of "...\trac"

        Cheers,

        Fabio

         
    • jwin

      jwin - 2007-01-24

      Yes, that is it.
      Thank you !