Modify

Opened 10 years ago

Closed 10 years ago

#11959 closed defect (cantfix)

Installation aborts

Reported by: soenke@… Owned by: Ryan J Ollos
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords: setuptools svn17
Cc: Trac Release: 0.12

Description

Following the instruction on http://forum.qnapclub.de/viewtopic.php?f=80&t=6649&p=167066&hilit=trac#p167066

the idea was to install the masterticketspluign.

Unfortunately the easy_install procedure aborts with the attached picture error stack.

Actual system is a TS410 with Firmware 4.1.0 Build 20140612

and installation of trac like ipkg install python26 py26-trac py26-genshi py26-setuptools svn-py

Attachments (1)

Howto.xps (343.8 KB) - added by soenke@… 10 years ago.
Howto from link in original post (German)

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by Jun Omae

I think you should post the stacktrace as text to this ticket. Additionally, please post system information and installed plugins in about page. That forum cannot be viewed without account.

Also, I guess that is just an installation issue.

comment:2 Changed 10 years ago by soenke@…

Here is the trace as text

[~] # easy_install http://trac-hacks.org/svn/masterticketsplugin/trunk/
/opt/local/lib/python2.5/site-packages (in --site-dirs) does not exist
Downloading http://trac-hacks.org/svn/masterticketsplugin/trunk/
Doing subversion checkout from http://trac-hacks.org/svn/masterticketsplugin/trunk/ to /tmp/easy_install-WZEJjL/trunk
Processing trunk
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-WZEJjL/trunk/egg-dist-tmp-wrl8to
Traceback (most recent call last):
  File "/opt/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1712, in main
    with_ei_usage(lambda:
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1700, in with_ei_usage
    return f()
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1716, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/opt/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 422, in easy_install
    return self.install_item(None, download, tmpdir, deps, True)
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/opt/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
    run_setup(setup_script, args)
  File "/opt/lib/python2.6/site-packages/setuptools/sandbox.py", line 62, in run_setup
    lambda: execfile(
  File "/opt/lib/python2.6/site-packages/setuptools/sandbox.py", line 105, in run
    return func()
  File "/opt/lib/python2.6/site-packages/setuptools/sandbox.py", line 64, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 59, in <module>
  File "/opt/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/lib/python2.6/distutils/dist.py", line 994, in run_command
    cmd_obj.ensure_finalized()
  File "/opt/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/opt/lib/python2.6/site-packages/setuptools/command/bdist_egg.py", line 94, in finalize_options
    ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
  File "/opt/lib/python2.6/distutils/cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "/opt/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/opt/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 85, in finalize_options
    self.vtags = self.tags()
  File "/opt/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 185, in tags
    ):  version += '-r%s' % self.get_svn_revision()
  File "/opt/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 233, in get_svn_revision
    dirurl = data[0][3]
IndexError: list index out of range
[~] #

Changed 10 years ago by soenke@…

Attachment: Howto.xps added

Howto from link in original post (German)

comment:3 in reply to:  1 ; Changed 10 years ago by soenke@…

Replying to jun66j5:

I think you should post the stacktrace as text to this ticket.

done.

Additionally, please post system information and installed plugins in about page.

Where do I find the about page?

System is a Qnap-TS410 with Firmware 4.1.0 Build 20140612

  • Python 2.6
  • Subversion 1.7.7
  • ipkg 0.99.163

That forum cannot be viewed without account.

see attachment

Also, I guess that is just an installation issue.

Me too. Maybe a dependency that I have not resolved correctly. However, I am unable to decypher the stack-trace.

comment:4 in reply to:  3 Changed 10 years ago by soenke@…

Replying to soenke@…:

Replying to jun66j5:

Additionally, please post system information and installed plugins in about page.

Where do I find the about page?

Here is what the trac about page says for a new projekt:

System Information
Trac 	0.12.1
Genshi 	0.6
pysqlite 	2.4.1
Python 	2.6.8 (unknown, Apr 12 2012, 13:02:25) [GCC 4.2.3]
setuptools 	0.6c11
SQLite 	3.8.1
Subversion 	1.7.7 (r1393599)
jQuery:	1.4.2
Installed Plugins
BackLinks 	N/A 	/share/MD0_DATA/trac/RentAStar/plugins/BackLinks.pyc
BackLinksMenu 	N/A 	/share/MD0_DATA/trac/RentAStar/plugins/BackLinksMenu.pyc
ComponentsListMacro 	N/A 	/share/MD0_DATA/trac/RentAStar/plugins/ComponentsListMacro.pyc
graphviz 	0.7.4 	/share/MD0_DATA/trac/RentAStar/plugins/graphviz-0.7.4-py2.6.egg
Tracbacks 	0.1 	/share/MD0_DATA/trac/RentAStar/plugins/Tracbacks-0.1-py2.6.egg

comment:5 Changed 10 years ago by Jun Omae

Keywords: setuptools svn17 added; install easy_install removed
Resolution: cantfix
Status: newclosed

Thanks for the posts.

That's old setuptools's issue with subversion 1.7 metadata. Please upgrade to setuptools 1.2 or later. See trac:comment:13:ticket:10658 and comment:4:ticket:10778.

comment:6 Changed 10 years ago by soenke@…

Resolution: cantfix
Status: closedreopened

Updating to setuptools 5.7 did actually not help:

 easy_install setuptools
/opt/local/lib/python2.5/site-packages (in --site-dirs) does not exist
Searching for setuptools
Best match: setuptools 5.7
Processing setuptools-5.7-py2.6.egg
setuptools 5.7 is already the active version in easy-install.pth
Installing easy_install script to /opt/local/bin
Installing easy_install-2.6 script to /opt/local/bin

Using /share/MD0_DATA/.qpkg/Optware/local/lib/python2.6/site-packages/setuptools-5.7-py2.6.egg
Processing dependencies for setuptools
Finished processing dependencies for setuptools
[/share/Installation/trac] # easy_install http://trac-hacks.org/svn/masterticketsplugin/trunk/
/opt/local/lib/python2.5/site-packages (in --site-dirs) does not exist
Downloading http://trac-hacks.org/svn/masterticketsplugin/trunk/
Doing subversion checkout from http://trac-hacks.org/svn/masterticketsplugin/trunk/ to /tmp/easy_install-JMTC59/trunk
Processing trunk
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-JMTC59/trunk/egg-dist-tmp-k31J1F
Traceback (most recent call last):
  File "/opt/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1712, in main
    with_ei_usage(lambda:
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1700, in with_ei_usage
    return f()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1716, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/opt/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 422, in easy_install
    return self.install_item(None, download, tmpdir, deps, True)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
    run_setup(setup_script, args)
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/sandbox.py", line 62, in run_setup
    lambda: execfile(
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/sandbox.py", line 105, in run
    return func()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/sandbox.py", line 64, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 59, in <module>
  File "/opt/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/lib/python2.6/distutils/dist.py", line 994, in run_command
    cmd_obj.ensure_finalized()
  File "/opt/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/bdist_egg.py", line 94, in finalize_options
    ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
  File "/opt/lib/python2.6/distutils/cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "/opt/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 85, in finalize_options
    self.vtags = self.tags()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 185, in tags
    ):  version += '-r%s' % self.get_svn_revision()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/egg_info.py", line 233, in get_svn_revision
    dirurl = data[0][3]
IndexError: list index out of range

comment:7 in reply to:  6 Changed 10 years ago by soenke@…

Replying to soenke@…:

Updating to setuptools 5.7 did actually not help:

By downloading the files manually from the repository I was able to to some installation at least:

[/share/Installation/trac/masterticketsplugin] # python2.6 setup.py install
running install
/opt/local/lib/python2.5/site-packages (in --site-dirs) does not exist
Checking .pth file support in /opt/local/lib/python2.6/site-packages/
/opt/bin/python2.6 -E -c pass
TEST PASSED: /opt/local/lib/python2.6/site-packages/ appears to support .pth files
running bdist_egg
/opt/local/lib/python2.6/site-packages/setuptools-5.7-py2.6.egg/setuptools/svn_utils.py:291: DeprecationWarning: No SVN 1.3+ command found: falling back on pre 1.7 .svn parsing
Unknown subversion verson 12
running egg_info
creating TracMasterTickets.egg-info
writing requirements to TracMasterTickets.egg-info/requires.txt
writing TracMasterTickets.egg-info/PKG-INFO
writing top-level names to TracMasterTickets.egg-info/top_level.txt
writing dependency_links to TracMasterTickets.egg-info/dependency_links.txt
writing entry points to TracMasterTickets.egg-info/entry_points.txt
writing manifest file 'TracMasterTickets.egg-info/SOURCES.txt'
Unknown subversion verson 12
reading manifest file 'TracMasterTickets.egg-info/SOURCES.txt'
writing manifest file 'TracMasterTickets.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv5tel/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/mastertickets
copying mastertickets/web_ui.py -> build/lib/mastertickets
copying mastertickets/graphviz.py -> build/lib/mastertickets
copying mastertickets/model.py -> build/lib/mastertickets
copying mastertickets/__init__.py -> build/lib/mastertickets
copying mastertickets/api.py -> build/lib/mastertickets
copying mastertickets/db_default.py -> build/lib/mastertickets
creating build/lib/mastertickets/htdocs
creating build/lib/mastertickets/htdocs/img
copying mastertickets/htdocs/img/checkmark.gif -> build/lib/mastertickets/htdocs/img
copying mastertickets/htdocs/img/caution.png -> build/lib/mastertickets/htdocs/img
copying mastertickets/htdocs/img/exclaim.png -> build/lib/mastertickets/htdocs/img
copying mastertickets/htdocs/img/x.png -> build/lib/mastertickets/htdocs/img
creating build/lib/mastertickets/htdocs/js
copying mastertickets/htdocs/js/disable_resolve.js -> build/lib/mastertickets/htdocs/js
copying mastertickets/htdocs/js/linkify_blockedby.js -> build/lib/mastertickets/htdocs/js
copying mastertickets/htdocs/js/linkify_blocking.js -> build/lib/mastertickets/htdocs/js
creating build/lib/mastertickets/htdocs/css
copying mastertickets/htdocs/css/ticket.css -> build/lib/mastertickets/htdocs/css
creating build/lib/mastertickets/templates
copying mastertickets/templates/depgraph.html -> build/lib/mastertickets/templates
creating build/bdist.linux-armv5tel
creating build/bdist.linux-armv5tel/egg
creating build/bdist.linux-armv5tel/egg/mastertickets
creating build/bdist.linux-armv5tel/egg/mastertickets/templates
copying build/lib/mastertickets/templates/depgraph.html -> build/bdist.linux-armv5tel/egg/mastertickets/templates
copying build/lib/mastertickets/web_ui.py -> build/bdist.linux-armv5tel/egg/mastertickets
copying build/lib/mastertickets/graphviz.py -> build/bdist.linux-armv5tel/egg/mastertickets
copying build/lib/mastertickets/model.py -> build/bdist.linux-armv5tel/egg/mastertickets
copying build/lib/mastertickets/__init__.py -> build/bdist.linux-armv5tel/egg/mastertickets
creating build/bdist.linux-armv5tel/egg/mastertickets/htdocs
creating build/bdist.linux-armv5tel/egg/mastertickets/htdocs/js
copying build/lib/mastertickets/htdocs/js/disable_resolve.js -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/js
copying build/lib/mastertickets/htdocs/js/linkify_blockedby.js -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/js
copying build/lib/mastertickets/htdocs/js/linkify_blocking.js -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/js
creating build/bdist.linux-armv5tel/egg/mastertickets/htdocs/img
copying build/lib/mastertickets/htdocs/img/checkmark.gif -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/img
copying build/lib/mastertickets/htdocs/img/caution.png -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/img
copying build/lib/mastertickets/htdocs/img/exclaim.png -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/img
copying build/lib/mastertickets/htdocs/img/x.png -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/img
creating build/bdist.linux-armv5tel/egg/mastertickets/htdocs/css
copying build/lib/mastertickets/htdocs/css/ticket.css -> build/bdist.linux-armv5tel/egg/mastertickets/htdocs/css
copying build/lib/mastertickets/api.py -> build/bdist.linux-armv5tel/egg/mastertickets
copying build/lib/mastertickets/db_default.py -> build/bdist.linux-armv5tel/egg/mastertickets
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/web_ui.py to web_ui.pyc
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/graphviz.py to graphviz.pyc
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/model.py to model.pyc
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/api.py to api.pyc
byte-compiling build/bdist.linux-armv5tel/egg/mastertickets/db_default.py to db_default.pyc
creating build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/PKG-INFO -> build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/SOURCES.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/dependency_links.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/entry_points.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/requires.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO
copying TracMasterTickets.egg-info/top_level.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/TracMasterTickets-3.0.5dev_r0-py2.6.egg' and adding 'build/bdist.linux-armv5tel/egg' to it
removing 'build/bdist.linux-armv5tel/egg' (and everything under it)
Processing TracMasterTickets-3.0.5dev_r0-py2.6.egg
Copying TracMasterTickets-3.0.5dev_r0-py2.6.egg to /share/MD0_DATA/.qpkg/Optware/local/lib/python2.6/site-packages
Removing TracMasterTickets 3.0.1 from easy-install.pth file
Adding TracMasterTickets 3.0.5dev-r0 to easy-install.pth file

Installed /share/MD0_DATA/.qpkg/Optware/local/lib/python2.6/site-packages/TracMasterTickets-3.0.5dev_r0-py2.6.egg
Processing dependencies for TracMasterTickets==3.0.5dev-r0
Searching for Trac==0.12.1
Best match: Trac 0.12.1
Adding Trac 0.12.1 to easy-install.pth file
Installing trac-admin script to /opt/local/bin
Installing tracd script to /opt/local/bin

Using /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages
Searching for Genshi==0.6
Best match: Genshi 0.6
Adding Genshi 0.6 to easy-install.pth file

Using /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages
Searching for setuptools==5.7
Best match: setuptools 5.7
Processing setuptools-5.7-py2.6.egg
setuptools 5.7 is already the active version in easy-install.pth
Installing easy_install script to /opt/local/bin
Installing easy_install-2.6 script to /opt/local/bin

Using /share/MD0_DATA/.qpkg/Optware/local/lib/python2.6/site-packages/setuptools-5.7-py2.6.egg
Finished processing dependencies for TracMasterTickets==3.0.5dev-r0

comment:8 in reply to:  6 Changed 10 years ago by Jun Omae

Resolution: cantfix
Status: reopenedclosed

Replying to soenke@…:

Updating to setuptools 5.7 did actually not help:

This issue is NOT a MasterTicketsPlugin issue.

...
  File "/opt/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "/share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 1712, in main
    with_ei_usage(lambda:
....

You still use 0.6c11, not 5.7.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.