Thursday, August 29, 2013

Re: Django error with installing reviewboard on solaris.

you might need Python 2.7+

-J

On Wednesday, August 21, 2013 4:25:29 AM UTC-4, tomoya.f...@gmail.com wrote:
I'm trying to install reviewboard on solaris 10, but this Django problem stops me to do that.
Does anyone know how to get through this problem?
(python is 2.4)

bash-3.2# pwd

/home/fujita/Downloads/Django-1.3.7

bash-3.2# python setup.py install

... snip

 

bash-3.2# ls -lt /usr/lib/python2.4/site-packages/

total 2417

...snip

drwxr-xr-x  17 root     root          19 Aug 21 17:14 django            -> /* django is installed. */

drwxr-xr-x   5 root     root           5 Aug 21 16:53 ReviewBoard-1.5.7-py2.4.egg

drwxr-xr-x   5 root     root           5 Aug 21 16:41 Djblets-0.6.10-py2.4.egg

drwxr-xr-x   5 root     root           5 Aug 19 23:18 django_evolution-0.6.5-py2.4.egg

drwxr-xr-x   4 root     root           4 Aug 19 23:16 Pygments-1.4-py2.4.egg

-rw-r--r--   1 root     root          30 Aug 19 16:47 setuptools.pth

-rw-r--r--   1 root     root         546 Aug 19 16:09 easy-install.pth

drwxr-xr-x   4 root     root          10 Aug 19 15:41 PIL-1.1.6-py2.4-solaris-2.10-sun4u.egg

-rw-r--r--   1 root     root      136261 Aug 19 15:34 flup-1.0-py2.4.egg

-rw-r--r--   1 root     root      308077 Aug 19 15:18 paramiko-1.11.0-py2.4.egg

drwxr-xr-x   4 root     root           4 Aug 19 14:38 python_dateutil-1.5-py2.4.egg

drwxr-xr-x   3 root     root           5 Aug 19 14:27 python_memcached-1.53-py2.4.egg

drwxr-xr-x   4 root     root          10 Aug  8 22:00 setuptools-0.6c11-py2.4.egg

drwxr-xr-x   7 root     root          29 Aug 22  2011 docutils

-rw-r--r--   1 root     root        3365 Aug 22  2011 roman.pyc

-rw-r--r--   1 root     root      514206 May  8  2011 pytz-2011g-py2.4.egg

-rw-r--r--   1 root     root        7419 Jun 21  2007 recaptcha_client-1.0.1-py2.4.egg

...snip

 

bash-3.2# cat /usr/lib/python2.4/site-packages/easy-install.pth

import sys; sys.__plen = len(sys.path)

./setuptools-0.6c11-py2.4.egg

./ReviewBoard-1.5.7-py2.4.egg

./recaptcha_client-1.0.1-py2.4.egg

./pytz-2011g-py2.4.egg

./python_memcached-1.53-py2.4.egg

./python_dateutil-1.5-py2.4.egg

./paramiko-1.11.0-py2.4.egg

./flup-1.0-py2.4.egg

./Pygments-1.4-py2.4.egg

./PIL-1.1.6-py2.4-solaris-2.10-sun4u.egg

./Djblets-0.6.10-py2.4.egg

./django_evolution-0.6.5-py2.4.egg

import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

 

bash-3.2# easy_install ReviewBoard-1.5.7-py2.4.egg

Processing ReviewBoard-1.5.7-py2.4.egg

removing '/usr/lib/python2.4/site-packages/ReviewBoard-1.5.7-py2.4.egg' (and everything under it)

creating /usr/lib/python2.4/site-packages/ReviewBoard-1.5.7-py2.4.egg

Extracting ReviewBoard-1.5.7-py2.4.egg to /usr/lib/python2.4/site-packages

ReviewBoard 1.5.7 is already the active version in easy-install.pth

Installing rb-site script to /usr/bin

Installing rbssh script to /usr/bin

 

Installed /usr/lib/python2.4/site-packages/ReviewBoard-1.5.7-py2.4.egg

Processing dependencies for ReviewBoard==1.5.7

Searching for Django>=1.1.3

Reading http://downloads.reviewboard.org/mirror/

Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/

Reading http://pypi.python.org/simple/Django/

No local packages or download links found for Django>=1.1.3

Best match: None

Traceback (most recent call last):

  File "/usr/bin/easy_install", line 7, in ?

    sys.exit(

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1712, in main

    with_ei_usage(lambda:

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage

    return f()

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1716, in <lambda>

    distclass=DistributionWithoutHelpCommands, **kw

  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup

    dist.run_commands()

  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command

    cmd_obj.run()

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 211, in run

    self.easy_install(spec, not self.no_deps)

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 427, in easy_install

    return self.install_item(None, spec, tmpdir, deps, True)

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 478, in install_item

    self.process_distribution(spec, dist, deps)

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 518, in process_distribution

    distros = WorkingSet([]).resolve(

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 563, in resolve

    dist = best[req.key] = env.best_match(req, self, installer)

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 799, in best_match

    return self.obtain(req, installer) # try and download/install

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 811, in obtain

    return installer(requirement)

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 434, in easy_install

    self.local_index

  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py", line 475, in fetch_distribution

    return dist.clone(location=self.download(dist.location, tmpdir))

AttributeError: 'NoneType' object has no attribute 'clone'

 

installing of reviewboard is stopped with certain error,

message tells me that Django is needed.

How can I get rid of this problem, any comments will help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment