Opened 12 years ago
Closed 12 years ago
#10064 closed defect (fixed)
Plug-in Does Not Install
Reported by: | Owned by: | Mark Ryan | |
---|---|---|---|
Priority: | high | Component: | ChildTicketsPlugin |
Severity: | blocker | Keywords: | setuptools |
Cc: | Ryan J Ollos | Trac Release: | 0.12 |
Description
Using Trac 0.12.3, Python 2.7 served via Apache on a PostgreSQL back-end. Edited trac.ini as per plugin instructions. When I install the python egg, the plugin does not show up on the admin panel. The child tickets section does not show up on any of my existing tickets. No errors noted in the Trac log file set to log at INFO level. Ensured the python egg is physically located in the Trac project's 'plugins' directory
Attachments (0)
Change History (11)
comment:1 follow-up: 2 Changed 12 years ago by
comment:2 follow-up: 5 Changed 12 years ago by
It seems to be a casting issue specific with PostgreSQL and perhaps MySQL. I found this post on the issue:
https://github.com/itota/trac-subtickets-plugin/issues/16
I made the fix as per the post and it seemed to fix my initial error, however, as I clicked through the ticket details I got additional (similar) errors.
Replying to czarnymb:
Same for me... Using Trac 0.12.3, Python 2.6 served by Apache on MySQL.
Some ideas ?
comment:3 Changed 12 years ago by
Hi guys
What version of setuptools are you using... In ticket #7017, there was a problem restrictions in the setup.py file and setuptools 0.6rc11.
comment:4 Changed 12 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|
comment:5 Changed 12 years ago by
Replying to anonymous:
It seems to be a casting issue specific with PostgreSQL and perhaps MySQL. I found this post on the issue:
https://github.com/itota/trac-subtickets-plugin/issues/16
I made the fix as per the post and it seemed to fix my initial error, however, as I clicked through the ticket details I got additional (similar) errors.
Replying to czarnymb:
Same for me... Using Trac 0.12.3, Python 2.6 served by Apache on MySQL.
Some ideas ?
This issue was raied (and hopefully fixed!) in #9971.
Could you guys please set logging to debug level and see what the output is (id the childticketsplugin even getting loaded?)
Thanks
comment:6 follow-up: 8 Changed 12 years ago by
I've updated setuptools from 0.6c11 to 0.6c12dev-r88846 by
easy_install setuptools==dev06
Then I've tried to install ChildTicketsPlugin and got
error: setup script exited with error: pyconfiig.h: No such file or directory
My solution to this problem was editing the setup.py file
- install_requires = ['Trac>=0.12', 'Genshi>=0.5', 'Python>=2.4'], + install_requires = ['Trac>=0.12', 'Genshi>=0.5'],
and it works perfect.
comment:7 Changed 12 years ago by
Keywords: | setuptools added |
---|
comment:8 Changed 12 years ago by
comment:9 follow-up: 10 Changed 12 years ago by
Hi Andy
Does modifying the setup.py files as detailed above fix your issues here?
comment:10 Changed 12 years ago by
Replying to walnut:
Hi Andy
Does modifying the setup.py files as detailed above fix your issues here?
Unfortunately, no. The behavior I get now is that the plugin is not even recognized by the admin tool at all. The egg is in the project's plugin directory but it is not on the list of plugin nor is the functionality available on the ticket details.
comment:11 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Disregard my last post. I missed earlier thread on upgrading setup tools to 0.6c12dev-r88846 as related to the modification of setup.py. Doing this and modifying setup.py as suggested seems to have fixed this issue for me. Much appreciated.
Same for me... Using Trac 0.12.3, Python 2.6 served by Apache on MySQL.
Some ideas ?