Modify

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#10988 closed defect (fixed)

No module named hours_layout_changer error

Reported by: bobomeng@… Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by rjollos)

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 20 months ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 follow-up: Changed 20 months ago by 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.

comment:3 in reply to: ↑ 2 Changed 20 months 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 follow-up: Changed 20 months ago by rjollos

  • Description modified (diff)

comment:5 in reply to: ↑ 4 Changed 20 months ago by anonymous

Replying to rjollos:

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

Add Comment

Modify Ticket

Action
as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.