Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 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

Description

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.

Attachments (0)

Change History (2)

comment:1 Changed 5 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 5 years ago by Blackhex

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

Add Comment

Modify Ticket

Action
as 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.