Modify

Opened 9 months ago

Closed 9 months ago

#11524 closed defect (cantfix)

ExcelDownloadPlugin installed but doesn't work

Reported by: mi.junqing@… Owned by: jun66j5
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@… 9 months ago.
Trac log file

Download all attachments as: .zip

Change History (2)

Changed 9 months ago by mi.junqing@…

Trac log file

comment:1 Changed 9 months ago by jun66j5

  • Resolution set to cantfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.