Opened 12 years ago

Last modified 12 years ago

#9579 closed defect

trac-admin add is broken — at Initial Version

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

Description

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 (0)

Note: See TracTickets for help on using tickets.