Syntax error with trac-admin commands (0.12)
|Reported by:||galaktor||Owned by:||Radek Bartoň|
Thank you for implementing this. I have installed 0.12, but somehow Trac (11.4) refuses to upgrade and says there's nothing to be upgraded. Is this because I already had a previous verson of TracDownloads installed?
The result is, that I keep getting the following error when trying to use the trac-admin commands:
*** Unknown syntax: download list
This is how my relevant parts of trac.ini look like:
[components] tracdownloads.api.* = enabled tracdownloads.api.downloadsapi = enabled tracdownloads.core.* = enabled tracdownloads.core.downloadscore = enabled tracdownloads.core.downloadsdownloads = enabled tracdownloads.init.* = enabled tracdownloads.init.downloadsinit = enabled tracdownloads.timeline.* = enabled tracdownloads.timeline.downloadstimeline = enabled tracdownloads.webadmin.* = enabled tracdownloads.webadmin.downloadswebadmin = enabled tracdownloads.wiki.* = enabled tracdownloads.wiki.downloadswiki = enabled [downloads] consoleadmin_user = anonymous ext = zip,gz,bz2,rar,pdf,txt,doc,docx,xls,xlsx,ppt,pptx,odt,ods,exe,7z,avi,mov,jpg,png,tif path = C:\projects\trac\revelation\downloads title = Downloads unique_filename = False visible_fields = id,file,description,size,time,count,author,tags,component,version, \ architecture,platform,type # For 0.12 branch.
I have Trac 0.11.4 running on Windows Server 2008 Enterprise (Python 2.5), should that be any issue.