Sounds similar to this unresolved bug here: https://bitbucket.org/hpk42/devpi/issues/263/cant-attach-new-replica-to-long-running​ 


Regards,
Stephan


From: devp...@googlegroups.com <dev...@googlegroups.com> on behalf of Steffen Knauth <skn...@gmail.com>
Sent: Sunday, August 23, 2015 11:37 AM
To: devpi-dev
Subject: [devpi-dev] Need help, devpi-server upgrade problems.
 

Hi,

I've got problems during upgrading devpi-server.

This is the output from pip list:

beautifulsoup4 (4.3.2)
Chameleon (2.22)
devpi-common (2.0.5)
devpi-findlinks (1.0.0)
devpi-ldap (1.1.0)
devpi-server (2.1.5)
devpi-web (2.2.3)
docutils (0.12)
execnet (1.3.0)
itsdangerous (0.24)
PasteDeploy (1.5.2)
pip (6.0.6)
py (1.4.27)
pyasn1 (0.1.7)
Pygments (2.0.2)
pyramid (1.5.7)
pyramid-chameleon (0.3)
python3-ldap (0.9.7)
PyYAML (3.11)
repoze.lru (0.6)
requests (2.7.0)
setuptools (15.2)
translationstring (1.3)
venusian (1.0)
waitress (0.8.9)
WebOb (1.4.1)
Whoosh (2.7.0)
zope.deprecation (4.1.2)
zope.interface (4.1.2)

I've tried to upgrade to the newest devpi-server-2.2.2. No success - just a traceback. Than I created a fresh environment with older  devpi-server-2.2.0 version and used --export and --import options. Also no luck.

here is a part of the traceback:

2015-08-23 11:15:57,550 INFO  NOCTX wrote nodeinfo to: /home/devpi/projects/devpi/data/.nodeinfo
Traceback (most recent call last):
  File "/home/devpi/.virtualenvs/devpi-server/bin/devpi-server", line 11, in <module>
    sys.exit(main())
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/main.py", line 53, in main
    return _main(pluginmanager, argv=argv)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/main.py", line 85, in _main
    with xom.keyfs.transaction(write=True):
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_common/types.py", line 39, in get
    x = self._property_cache[f] = f(self)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/main.py", line 229, in keyfs
    keyfs = KeyFS(self.config.serverdir, readonly=self.is_replica())
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/keyfs.py", line 393, in __init__
    self._fs = Filesystem(self.basedir, notify_on_commit=t.notify_on_commit)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/keyfs.py", line 93, in __init__
    changes, rel_renames = loads(data)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/keyfs.py", line 33, in loads
    return load(py.io.BytesIO(data))
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/devpi_server/keyfs.py", line 27, in load
    return Unserializer(io, strconfig=(False, False)).load(versioned=False)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/execnet/gateway_base.py", line 1161, in load
    loader(self)
  File "/home/devpi/.virtualenvs/devpi-server/local/lib/python2.7/site-packages/execnet/gateway_base.py", line 1196, in load_longlong
    self.stack.append(long(l))
ValueError: invalid literal for long() with base 10: '\x1broot/pypi/+links/virtualenvS'



Can someone help me?

Steffen

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