For the record, upgrading trac to 0.11b2 fixed the problem
On Mar 27, 1:17 pm, eleight <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm having problems getting the downloads plug-in working correctly.
> I did not do the initial
> system/python/trac installations, but have successfully added the
> DateFieldPlugIn before.
>
> I downloaded the plugin, did a python setup.py bdist_egg, then
> installed the egg file
> through the web interface.
>
> That seems to have happened correctly, and it's now in the trac
> plugins
> directory. It shows up in the plugins page in the trac admin tab.
>
> However, when I try to assign permissions, I run into problems, ie:
> trac-admin /u/trac permission add eleight DOWNLOADS_VIEW
> Command failed: DOWNLOADS_VIEW is not a valid action.
>
> I stepped through the troubleshooting plugins suggestions, and in
> doing so,
> I turned on logging, and see the following errors:
> grep ERROR trac.log
> 2008-02-28 13:06:48,847 Trac[loader] ERROR: Skipping
> "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("textile>=2.0"
> not found)
> 2008-02-28 13:06:48,867 Trac[loader] ERROR: Skipping
> "trac.mimeview.rst = trac.mimeview.rst [rest]": ("docutils>=0.3" not
> found)
> 2008-02-28 13:06:48,887 Trac[loader] ERROR: Skipping
> "trac.mimeview.pygments = trac.mimeview.pygments_renderer [pygments]":
> ("Pygments>=0.5" not found)
> 2008-02-28 13:06:48,905 Trac[loader] ERROR: Skipping
> "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]":
> ("SilverCity>=0.9.4" not found)
> 2008-02-28 13:06:48,937 Trac[loader] ERROR: Skipping
> "TracDownloads.timeline = tracdownloads.timeline": (can't import
> "cannot import name Context")
> 2008-02-28 13:06:48,940 Trac[loader] ERROR: Skipping
> "TracDownloads.wiki = tracdownloads.wiki": (can't import "cannot
> import name Context")
> 2008-02-28 13:06:48,941 Trac[loader] ERROR: Skipping
> "TracDownloads.core = tracdownloads.core": (can't import "cannot
> import name Context")
> 2008-02-28 13:06:48,959 Trac[loader] ERROR: Skipping
> "TracDownloads.tags = tracdownloads.tags [tags]": ("TracTags" not
> found)
> 2008-02-28 13:06:48,960 Trac[loader] ERROR: Skipping
> "TracDownloads.admin = tracdownloads.admin": (can't import "cannot
> import name Context")
>
> Although I don't know python, I went to look at the source files for
> TracDownloads and see
> in admin.py "from trac.mimeview import Context"
>
> I see a mimeview directory in /usr/lib/python2.5/site-packages/
> Trac-0.11dev_r5883-py2.5.egg/trac
> but, don't know if I need to change/add something in the trac.ini file
> for this to seen/read by the
> downloads egg file?
>
> I'd appreciate any help,
>
> Elizabeth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---