Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#4800 closed defect (fixed)

[Patch] Filename causes module not loaded error

Reported by: trac-hacks@… Owned by: Ryan J Ollos
Priority: normal Component: AllAttachmentsMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


Installing following the instructions initially failed to load the plugin with the following error in my trac.log:

2009-03-17 13:51:45,816 Trac[loader] ERROR: Failed to load plugin from /Users/tracroot/etl2/plugins/
Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/", line 89, in _load_py_files
    module = imp.load_source(plugin_name, plugin_file)
  File "/Users/tracroot/etl2/plugins/", line 9, in <module>
    from import WikiMacroBase, parse_args
SystemError: Parent module 'AllAttachmentsMacro-1' not loaded

Renaming the file from to cleared this and the macro appears in my admin page and can be used as expected.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Ryan J Ollos

Summary: Filename causes module not loaded error[Patch] Filename causes module not loaded error

comment:2 Changed 9 years ago by Ryan J Ollos

Owner: changed from daan to Ryan J Ollos

Assigining ticket to new maintainer.

comment:3 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [8400]) Removed revision from filename. Added revision info to macro. Fixes #4800.

comment:4 Changed 9 years ago by Ryan J Ollos

(In [8401]) Accidentally added revision info twice in [8400]. Refs #4800.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.