Opened 12 years ago

Last modified 12 years ago

#9579 closed defect

trac-admin add is broken — at Version 1

Reported by: shumisha@… Owned by: Radek Bartoň
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

Hello,

Trying to add file using trac-admin:

trac-admin /var/trac/my_trac/ download add my_file.php.zip  description="Latest version of my_file"

I got the following error:

AttributeError: 'DownloadsApi' object has no attribute 'store_download'

I fixed it by replacing: api.store_download(context, download, file)

with api._add_download( context, download, file)

in consoleadmin.py

Rgds

Change History (1)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.