Changes between Initial Version and Version 1 of Ticket #9579
- Timestamp:
- Dec 14, 2011, 8:02:36 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9579 – Description
initial v1 2 2 3 3 Trying to add file using trac-admin: 4 {{{ 4 5 trac-admin /var/trac/my_trac/ download add my_file.php.zip description="Latest version of my_file" 6 }}} 5 7 6 8 I got the following error: 9 {{{ 7 10 AttributeError: 'DownloadsApi' object has no attribute 'store_download' 11 }}} 8 12 9 13 I fixed it by replacing: 10 api.store_download(context, download, file) 14 `api.store_download(context, download, file)` 11 15 12 16 with 13 api._add_download( context, download, file) 17 `api._add_download( context, download, file)` 14 18 15 in consoleadmin.py19 in `consoleadmin.py` 16 20 17 21 Rgds