Changes between Initial Version and Version 1 of Ticket #9579


Ignore:
Timestamp:
Dec 14, 2011, 8:02:36 AM (12 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9579 – Description

    initial v1  
    22
    33Trying to add file using trac-admin:
     4{{{
    45trac-admin /var/trac/my_trac/ download add my_file.php.zip  description="Latest version of my_file"
     6}}}
    57
    68I got the following error:
     9{{{
    710AttributeError: 'DownloadsApi' object has no attribute 'store_download'
     11}}}
    812
    913I fixed it by replacing:
    10 api.store_download(context, download, file)
     14`api.store_download(context, download, file)`
    1115
    1216with
    13 api._add_download( context, download, file)
     17`api._add_download( context, download, file)`
    1418
    15 in consoleadmin.py
     19in `consoleadmin.py`
    1620
    1721Rgds