Opened 12 years ago
Last modified 12 years ago
#9579 closed defect
trac-admin add is broken — at Version 1
Reported by: | Owned by: | Radek Bartoň | |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
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
Note: See
TracTickets for help on using
tickets.