Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10988 closed defect (fixed)

No module named hours_layout_changer error

Reported by: charlesbo Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

I am using timingandestimationplugin/branches/trac0.12-Permissions.

But I see below error in my trac.log after installation. When checking source code, I see

from hours_layout_changer import HoursLayoutChanger, TicketPropsLayoutChanger

in api.py, but couldn't find hours_layout_changer anywhere, did I do anything wrong?

2013-03-30 09:43:48,739 Trac[loader] DEBUG: Loading simplemultiproject from /usr/local/lib/python2.7/dist-packages/SimpleMultiProject-0.0.3dev_r12675-py2.7.egg
2013-03-30 09:43:48,744 Trac[loader] DEBUG: Loading timingandestimationplugin from /usr/local/lib/python2.7/dist-packages/timingandestimationplugin-1.3.4b-py2.7.egg
2013-03-30 09:43:48,759 Trac[loader] ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": 
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py", line 1, in <module>
  File "build/bdist.linux-i686/egg/timingandestimationplugin/api.py", line 21, in <module>
ImportError: No module named hours_layout_changer

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

(In [12856]) fixed broken import of module I refactored away last week fix #10988

comment:2 Changed 11 years ago by Russ Tyndall

apologies! Not sure how this got missed last week when I initially refactored away that module (its contents are now in ticket_webui and split into different components than previously).

I think this should be fixed (version 1.3.5(b)). Please let me know if you experience any further issues.

comment:3 in reply to:  2 Changed 11 years ago by anonymous

Replying to bobbysmith007:

apologies! Not sure how this got missed last week when I initially refactored away that module (its contents are now in ticket_webui and split into different components than previously).

I think this should be fixed (version 1.3.5(b)). Please let me know if you experience any further issues.

No worries, thanks a lot for your quick react!

comment:4 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)

comment:5 in reply to:  4 Changed 11 years ago by anonymous

Replying to rjollos:

Thanks for tidy up the description! I am quite new to Trac, but learnt from your change :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.