Modify

Opened 8 years ago

Closed 8 years ago

Last modified 7 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 8 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 8 years ago by Ryan J Ollos

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

comment:3 Changed 8 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/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2281, in load
    return self.resolve()
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2287, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named includesource.IncludeSource

comment:4 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 15744:

0.2: Fix ImportError due to missing __init__.py

Fixes #12858.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.