Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5331 closed defect (invalid)

Syntax error with trac-admin commands (0.12)

Reported by: galaktor Owned by: Blackhex
Priority: normal Component: DownloadsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


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:

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* = enabled = enabled

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.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by galaktor

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

I am a dork...I just realized, that this functionality only goes with Trac 0.12, and I am still on 0.11.4.

Sorry :-)

comment:2 Changed 8 years ago by Blackhex

Yep, I just wanted to point that out but you were faster.

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.