Our current servers are on CentOS 6.6 running RB 1.7.28.  I'm preparing to 
upgrade to 2.0 or 2.5, so I want to test out the migration.  To do that, 
I'm trying to install 1.7.28 on a fresh CentOS6.6 VM.  After installing the 
pre-reqs, I ran

easy_install ReviewBoard==1.7.28

It fails with this message:

Installed /usr/lib/python2.6/site-packages/Djblets-0.7.31-py2.6.egg
Reading http://downloads.reviewboard.org/releases/Djblets/0.7/
Searching for django-evolution>=0.6.9,<0.7
Reading http://pypi.python.org/simple/django_evolution/
Best match: django-evolution 0.6.9
Downloading 
http://downloads.reviewboard.org/releases/django-evolution/0.6/django_evolution-0.6.9-py2.6.egg#md5=d41d8cd98f00b204e9800998ecf8427e
Processing django_evolution-0.6.9-py2.6.egg
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('distribute==0.6.10', 'console_scripts', 
'easy_install')()
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
1715, in main
    with_ei_usage(lambda:
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
1696, in with_ei_usage
    return f()
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
1719, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
236, in run
    self.easy_install(spec, not self.no_deps)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
472, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
504, in install_item
    self.process_distribution(spec, dist, deps)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
545, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 538, in 
resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 780, in 
best_match
    return self.obtain(req, installer) # try and download/install
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 792, in 
obtain
    return installer(requirement)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
472, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
502, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
645, in install_eggs
    return [self.install_egg(dist_filename, tmpdir)]
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
696, in install_egg
    dist = self.egg_distribution(egg_path)
  File 
"/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 
687, in egg_distribution
    metadata = EggMetadata(zipimport.zipimporter(egg_path))
zipimport.ZipImportError: can't read Zip file: 
'/tmp/easy_install-CNWVTO/django_evolution-0.6.9-py2.6.egg'


Does this line indicate it's confused about the version?

load_entry_point('distribute==0.6.10', 'console_scripts', 'easy_install')()

Or is that something different.  I'm not sure how to proceed. I tried 
leaving off the patch number and installing this way:

easy_install ReviewBoard==1.7

But I got different, uglier errors, so I thought I'd try to fix the 1.7.28 
problem first, since that's what I really want for testing. Can anybody 
help me fix this?

--Steve



-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to