Modify

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#9589 closed defect (wontfix)

Can't see plugin in list

Reported by: didley@… Owned by: walnut
Priority: normal Component: ChildTicketTreeMacro
Severity: normal Keywords: setuptools
Cc: Trac Release: 0.12

Description

I copied Tracchildtickettreemacro-1.0.1-py2.5.egg in my plugin folder. But I can't see the plugin under ...admin/general/plugin .

I'm using

System Information

Trac 0.12.2
Babel 0.9.5
CustomFieldAdmin 0.2.2
Docutils 0.6
FullBlog 0.1.1
Genshi 0.6
Pygments 1.0
pysqlite 2.3.2
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
pytz 2009j
setuptools 0.6c11
SilverCity 0.9.7
SQLite 3.3.4
Subversion 1.5.6 (r36142)
jQuery: 1.4.2

No error messages comes up and no error message in the log file. So I don't know how I can enable this plugin.

Attachments (0)

Change History (9)

comment:1 Changed 3 years ago by walnut

I see the plugin in the admin list only after a restart. Does it work after a restart?

Also, try and upload the plugin via the admin console, does it appear then?

comment:2 Changed 3 years ago by didley@…

I don't see the plugin in the admin panel also not after restart

after this

I did upload the plugin via admin console and can't see the plugin also.

You know I have the same problem with ChildTicketsPlugin also. See #9590.

comment:3 Changed 3 years ago by walnut

Hi

I cannot reproduce this issue at all....

Are the permissions correct on the plugin file (Tracchildtickettreemacro-1.0.1-py2.5.egg), is it readable by the server process?

Please provide a listing of the plugin directory: ls -l /path/to/trac/env/plugins ...

Thanks
Mark

comment:4 Changed 3 years ago by didley@…

Hello again,

the Tracchildtickettreemacro is readable by the server process.

16.02.2008  18:19             2.125 autonav-trac.py
31.10.2011  08:43             2.367 autonav-trac.pyc
16.02.2008  18:44               666 Center.py
31.10.2011  08:43               925 Center.pyc
16.02.2008  18:42               792 Color.py
31.10.2011  08:43             1.316 Color.pyc
08.05.2008  09:34             2.054 Include.py
31.10.2011  08:38             2.253 Include.pyc
09.01.2012  09:27                 0 log.log
16.02.2008  18:11             1.117 ReTickets.py
31.10.2011  08:43             1.379 ReTickets.pyc
04.12.2007  14:18             6.560 TicketBox.py
31.10.2011  08:43             6.269 TicketBox.pyc
23.10.2011  14:12            53.694 Trac_jsGantt-0.9-py2.5.egg
22.05.2011  19:33             9.121 Tracchildtickets-2.4.2-py2.5.egg
19.02.2010  11:41             2.321 TracCreator-0.1-py2.5.egg
25.04.2010  20:46            44.440 TracFlashGantt-1.0-py2.5.egg
22.04.2008  14:25            71.659 TracTags-0.6-py2.5.egg
15.07.2011  16:39            33.170 TracWatchlistPlugin-0.5-py2.5.egg
14.07.2011  13:09           114.102 TracWorkflowAdmin-0.12.0.1-py2.5.egg
19.07.2011  16:34             4.335 WikiCreateTicket-0.1-py2.5.egg
16.02.2008  18:13               860 WikiInclude.py
31.10.2011  08:43             1.462 WikiInclude.pyc

Attached find list of plugins.

didley

comment:5 Changed 3 years ago by didley@…

Here again with ls -l

-rwxrwxrwx 1 Administratoren ????????    666 Feb 16  2008 Center.py
-rwxrwxrwx 1 Administratoren ????????    925 Oct 31 08:43 Center.pyc
-rwxrwxrwx 1 Administratoren ????????    792 Feb 16  2008 Color.py
-rwxrwxrwx 1 Administratoren ????????   1316 Oct 31 08:43 Color.pyc
-rwxrwxrwx 1 Administratoren ????????   2054 May  8  2008 Include.py
-rwxrwxrwx 1 Administratoren SYSTEM     2253 Oct 31 08:38 Include.pyc
-rwxrwxrwx 1 Administratoren ????????   1117 Feb 16  2008 ReTickets.py
-rwxrwxrwx 1 Administratoren ????????   1379 Oct 31 08:43 ReTickets.pyc
-rwxrwxrwx 1 Administratoren ????????   6560 Dec  4  2007 TicketBox.py
-rwxrwxrwx 1 Administratoren ????????   6269 Oct 31 08:43 TicketBox.pyc
-rwxrwxrwx 1 Administratoren ????????   2321 Feb 19  2010 TracCreator-0.1-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????  44440 Apr 25  2010 TracFlashGantt-1.0-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????  71659 Apr 22  2008 TracTags-0.6-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????  33170 Jul 15 17:39 TracWatchlistPlugin-0.5-py2.5.egg
-rwxrwxrwx 1 Administratoren ???????? 114102 Jul 14 14:09 TracWorkflowAdmin-0.12.0.1-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????  53694 Oct 23 15:12 Trac_jsGantt-0.9-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????   9121 May 22  2011 Tracchildtickets-2.4.2-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????   4335 Jul 19 17:34 WikiCreateTicket-0.1-py2.5.egg
-rwxrwxrwx 1 Administratoren ????????    860 Feb 16  2008 WikiInclude.py
-rwxrwxrwx 1 Administratoren ????????   1462 Oct 31 08:43 WikiInclude.pyc
-rwxrwxrwx 1 Administratoren ????????   2125 Feb 16  2008 autonav-trac.py
-rwxrwxrwx 1 Administratoren ????????   2367 Oct 31 08:43 autonav-trac.pyc

comment:6 Changed 3 years ago by didley@…

Now I found a solution. It's strange for me but a developer will understand why it now works maybe.

Change in setup.py

install_requires = ['Trac>=0.12', 'Genshi>=0.5', 'Python>=2.4']

to

install_requires = ['Trac>=0.12', 'Genshi>=0.5'],

helps.

You know I'm using Python 2.5.4 but with the constraint 'Python>=2.4' it works not. It was hard to find but I'm happy now.

didley

comment:7 Changed 3 years ago by walnut

Excellent! Glad you've found the (cause of) the problem!

Just out of interest, does it work when you put in a constraint like:

install_requires = ['Trac>=0.12', 'Genshi>=0.5', 'Python>=2.5']

Thx
Mark

comment:8 Changed 3 years ago by walnut

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

I think this is a problem with setuptools 0.6c11 (see #7017).

Regards
Mark

comment:9 Changed 2 years ago by rjollos

  • Keywords setuptools added

You may find the discussion in #9793 and #9800 interesting.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from walnut. Next status will be 'closed'.
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.