Modify

Opened 8 years ago

Closed 8 years ago

#239 closed defect (fixed)

Couldn't install a hack.

Reported by: Blackhex Owned by: coderanger
Priority: normal Component: HackInstallPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

I installed version 0.5_r539. When I want to install hack from TrackAdmin I get error:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.darwin-8.4.0-Power_Macintosh/egg/webadmin/web_ui.py", line 106, in process_request
  File "build/bdist.linux-i686/egg/hackinstall/web_ui.py", line 98, in process_admin_request
  File "build/bdist.linux-i686/egg/hackinstall/web_ui.py", line 255, in _install_plugins
IndexError: list index out of range

Using Track 0.9.4 with mod_python.

Attachments (0)

Change History (10)

comment:1 Changed 8 years ago by coderanger

  • Status changed from new to assigned

What plugin were you trying to install?

comment:2 Changed 8 years ago by Blackhex

I think that first was DiscussionPlugin but it is doing this for every plugin. Now I notice that non-logged-in user has access to TracAdmin with options about HackInstallPlugin enabled only. Is this a feature (I hope not so)?

comment:3 Changed 8 years ago by coderanger

Oops, that was a hack so someone could see the interface to help me debug something. Fixed in [543].

comment:4 Changed 8 years ago by Blackhex

I deleted old version and installed new from svn and here is cut from logfile:

23:02:31 Trac[web_ui] DEBUG: Found egg 'TracWebAdmin.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Found egg 'AuthForm.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Found egg 'AuthForm.egg'
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracWebAdmin.egg'
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracChangeLog.egg'
23:02:31 Trac[web_ui] DEBUG: Found egg 'HackInstall-0.5_r539-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 539
23:02:31 Trac[web_ui] DEBUG: Found egg 'WantedPages.egg'
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracTags.egg'
23:02:31 Trac[web_ui] DEBUG: Found egg 'HackInstall-0.5-py2.3.egg'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracDoxygen-0.1-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracDoxygen-0.1-py2.3.egg'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracGuestbook-0.1-py2.3.egg'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracGuestbook-0.1-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracEmoticons-0.1-py2.3.egg'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracEmoticons-0.1-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracVisitRateCounter-0.1-py2.3.egg'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'TracVisitRateCounter-0.1-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[web_ui] DEBUG: Found egg 'HackInstall-0.5-py2.3.egg-tmp'
23:02:31 Trac[web_ui] DEBUG: Extracted version = 0
23:02:31 Trac[core] INFO: Running os.system(easy_install -m --install-dir=/var/lib/trac/plugins --record=/var/lib/trac/plugins/hackinstall-recordiXGYyB.txt http://blackhex.no-ip.org/svn/syscssplugin/0.9)
23:02:31 Trac[main] ERROR: No handler matched request to /svn/syscssplugin/0.9
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 104, in dispatch
    raise TracError, 'No handler matched request to %s' % req.path_info
TracError: No handler matched request to /svn/syscssplugin/0.9
23:02:31 Trac[web_ui] WARNING: Encountered an unknown error when installing SysCssPlugin. Please see your webserver's logs for more information.
23:02:31 Trac[main] ERROR: Error during installation, please see the log for more information.
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.darwin-8.4.0-Power_Macintosh/egg/webadmin/web_ui.py", line 106, in process_request
  File "build/bdist.linux-i686/egg/hackinstall/web_ui.py", line 99, in process_admin_request
  File "build/bdist.linux-i686/egg/hackinstall/web_ui.py", line 264, in _install_plugins
TracError: Error during installation, please see the log for more information.

comment:5 Changed 8 years ago by coderanger

Can you see if there is any output from easy_install in your webserver log?

comment:6 Changed 8 years ago by anonymous

No, only this:

Wed Mar 22 23:00:39 2006] [notice] mod_python: Creating 32 session mutexes based on 6 max processes and 25 max threads.
[Wed Mar 22 23:00:39 2006] [notice] Apache/2.0.55 (Debian) DAV/2 SVN/1.2.3 mod_python/3.1.3 Python/2.3.5 configured -- resuming normal operations
[Wed Mar 22 23:00:49 2006] [notice] mod_python: (Re)importing module 'trac.web.modpython_frontend'
[Wed Mar 22 23:00:50 2006] [notice] mod_python: (Re)importing module 'trac.web.modpython_frontend'
error: Can't download http://blackhex.no-ip.org/svn/discussionplugin/0.9: 500 Internal Server Error
error: Can't download http://blackhex.no-ip.org/svn/hackinstallplugin/0.9: 500 Internal Server Error
error: Can't download http://blackhex.no-ip.org/svn/syscssplugin/0.9: 500 Internal Server Error

comment:7 Changed 8 years ago by Blackhex

Oops, I'm very sorry, I misunderstood URL setting. I confound this setting with global Trac URL setting.

comment:8 Changed 8 years ago by coderanger

Heh, I should probably make it more clear in UI what those settings mean. Does it work with that set to its default? (Just remove the {{[hackinstall]}}} section from trac.ini)

comment:9 Changed 8 years ago by Blackhex

Now its OK. Sorry, once more.

comment:10 Changed 8 years ago by coderanger

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be '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.