Modify

Opened 14 years ago

Closed 14 years ago

#7150 closed defect (fixed)

Plugin does not load

Reported by: Sanjay Owned by: kostialopuhin
Priority: normal Component: TracAjaxCommentsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi,

The plugin does not seem to work. The plugin is stored in the right location. Other plugins are working fine.

I am attaching the logs from easy_install and trac

easy_install log: C:\Program Files\BitNami Trac Stack\python\Lib\site-packages>easy_install tracaj axcommentsplugin Processing tracajaxcommentsplugin Running 0.11\setup.py -q bdist_egg --dist-dir C:\Program Files\BitNami Trac Stac k\python\Lib\site-packages\tracajaxcommentsplugin\0.11\egg-dist-tmp-pcsfn0 warning: install_lib: 'build\lib' does not exist -- no Python modules to install

zip_safe flag not set; analyzing archive contents... Adding tracajaxcomments 0.1 to easy-install.pth file

Installed c:\program files\bitnami trac stack\python\lib\site-packages\tracajaxc omments-0.1-py2.5.egg Processing dependencies for tracajaxcomments==0.1 Finished processing dependencies for tracajaxcomments==0.1

trac log: 2010-05-20 17:23:28,209 Trac[env] INFO: -------------------------------- environment startup [Trac 0.11.6] -------------------------------- 2010-05-20 17:23:28,318 Trac[loader] ERROR: Skipping "ajaxcomments = ajaxcomments": (can't import "ImportError: No module named ajaxcomments") 2010-05-20 17:23:28,334 Trac[loader] ERROR: Skipping "CustomSelectAdmin = CustomSelectAdmin": (can't import "ImportError: No module named customselectadmin") 2010-05-20 17:23:28,365 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2010-05-20 17:23:28,365 Trac[graphviz] INFO: version: 0.7.5dev - id: $Id$ 2010-05-20 17:23:28,411 Trac[cache] INFO: repos rev [0] != cached rev [None]

Attachments (1)

3dh_new_setup.zip (41.5 KB) - added by 3dh@… 14 years ago.
fixed sources (28.05.2010) with new setup package

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by kostialopuhin

Status: newassigned

Thanx for report, I'll try to reproduce and fix it on the weekend!

comment:2 Changed 14 years ago by anonymous

I added the templates that I forgot to add on the initial commit - maybe it will fix the problem?

Changed 14 years ago by 3dh@…

Attachment: 3dh_new_setup.zip added

fixed sources (28.05.2010) with new setup package

comment:3 Changed 14 years ago by 3dh@…

I rewrote the setup script and reordered the sources for it - now the plugin can be installed with easy_install.

Further I fixed a small syntax problem (only with python 2.4) in ajaxcomments, line 51 - the if statement now is splitted into two lines for backward compatibility.

comment:4 Changed 14 years ago by kostialopuhin

(In [8028]) see #7150 - changed directory structure

comment:5 Changed 14 years ago by kostialopuhin

(In [8029]) see #7150 - incorporated patch from 3dh@… that fixes setup problems and adds python 2.4 compatability

comment:6 Changed 14 years ago by kostialopuhin

Thank you for the patch - I really should have looked at other plugins more carefully to get the proper directory structure. I hope now the plugin installs from svn?

comment:7 Changed 14 years ago by anonymous

Resolution: fixed
Status: assignedclosed

Great - now installing works flawlessly!

Modify Ticket

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