Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#12858 closed defect (fixed)

Support for 1.0.9

Reported by: Massimo Owned by: Ryan J Ollos
Priority: normal Component: IncludeSourcePartialPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

This is Trac 1.0.9 with nginx and uwsgi.

I have built both plugins from the latest svn:

-rw-r--r--  1 trac trac 9,5K Aug 29 13:42 TracIncludeMacro-3.0.0.dev0-py2.7.egg
-rw-r--r--  1 trac trac 8,6K Aug 29 13:49 IncludeSource-0.1-py2.7.egg

However IncludeSource-0.1-py2.7.egg coming from this plugin IncludeSourcePartialPlugin is not recognized by Trac, it does not appear in the Admin plugin list or in the /about. The [[IncludeSource...]] macro does not work. The other works fine. But I definitely need to define parts like the usage() body of some source code files I like to quote in wikis.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 6 years ago by Ryan J Ollos

Owner: changed from Chris Heller to Ryan J Ollos
Status: newaccepted

comment:3 Changed 6 years ago by Ryan J Ollos

Checking the logs is always helpful in debugging plugins, see trac:TracTroubleshooting#ChecktheLogs.

17:51:18 Trac[loader] ERROR: Skipping "includesource.IncludeSource = includesource.IncludeSource": 
Traceback (most recent call last):
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/", line 68, in _load_eggs
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/pkg_resources/", line 2281, in load
    return self.resolve()
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/pkg_resources/", line 2287, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named includesource.IncludeSource

comment:4 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 15744:

0.2: Fix ImportError due to missing

Fixes #12858.

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.