Modify

Opened 3 years ago

Closed 3 years ago

#11524 closed defect (cantfix)

ExcelDownloadPlugin installed but doesn't work

Reported by: mi.junqing@… Owned by: Jun Omae
Priority: normal Component: ExcelDownloadPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Follow instruction on TracHacks ExcelDownloadPlugin#Installation section, do

  1. $ easy_install xlwt
    # easy_install xlwt
    Searching for xlwt
    Reading http://pypi.python.org/simple/xlwt/
    Best match: xlwt 0.7.5
    Downloading https://pypi.python.org/packages/source/x/xlwt/xlwt-0.7.5.tar.gz#md5=59cb5efd55319465dfcd25e6a485f03c
    Processing xlwt-0.7.5.tar.gz
    Running xlwt-0.7.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wvbG3Z/xlwt-0.7.5/egg-dist-tmp-qt3Zsd
    zip_safe flag not set; analyzing archive contents...
    Adding xlwt 0.7.5 to easy-install.pth file
    
    Installed /usr/lib/python2.4/site-packages/xlwt-0.7.5-py2.4.egg
    Processing dependencies for xlwt
    Finished processing dependencies for xlwt
    
  2. $ easy_install http://trac-hacks.org/svn/exceldownloadplugin/0.12
    # easy_install http://trac-hacks.org/svn/exceldownloadplugin/0.12
    Downloading http://trac-hacks.org/svn/exceldownloadplugin/0.12
    Doing subversion checkout from http://trac-hacks.org/svn/exceldownloadplugin/0.12 to /tmp/easy_install-R6zmjZ/0.12
    Processing 0.12
    Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-R6zmjZ/0.12/egg-dist-tmp-vUNQ6Y
    zip_safe flag not set; analyzing archive contents...
    Adding ExcelDownloadPlugin 0.12.0.4 to easy-install.pth file
    
    Installed /usr/lib/python2.4/site-packages/ExcelDownloadPlugin-0.12.0.4-py2.4.egg
    Processing dependencies for ExcelDownloadPlugin==0.12.0.4
    Finished processing dependencies for ExcelDownloadPlugin==0.12.0.4
    
  3. Edit conf/trac.ini to enable the plugin, by adding “tracexceldownload.* = enabled” in [components] section.

After that I restart apache daemon, but nothing changed. I visit query, report or ticket page in Trac, but no “Excel” or “Excel including history” links at the bottom of the pages.

I have turn on Trac log, the log file refer here.

Attachments (1)

trac.log (101.7 KB) - added by mi.junqing@… 3 years ago.
Trac log file

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by mi.junqing@…

Attachment: trac.log added

Trac log file

comment:1 Changed 3 years ago by Jun Omae

Resolution: cantfix
Status: newclosed

That is an installation issue. The following lines are missing in your trac.log. You should restart tracd (or web server) after a egg file is installed.

Trac[loader] DEBUG: Loading tracexceldownload.ticket from /usr/lib/python2.4/site-packages/ExcelDownloadPlugin-0.12.0.4-py2.4.egg
Trac[loader] DEBUG: Loading tracexceldownload.translation from /usr/lib/python2.4/site-packages/ExcelDownloadPlugin-0.12.0.4-py2.4.egg

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.