id

282

publisher

goffi@goffi.org/57294008-b140-4365-b7b9-42882fc7edb6

title
Wokkel 18.0.0 deprecated code cause crash
author
goffi
created
06/11/2018, 11:53
updated
06/11/2018, 11:53
labels
jp wokkel
type
bug
status
queued
priority
normal
milestone
0.7
severity
major
body
Following traceback is visible when using jp and Wokkel 18.0.0:

# sat status
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/usr/share/salutatoi/sat/memory/memory.py", line 39, in <module>
from sat.memory.disco import Discovery
File "/usr/share/salutatoi/sat/memory/disco.py", line 33, in <module>
from wokkel import disco
File "/usr/lib/python2.7/dist-packages/wokkel/disco.py", line 20, in <module>
from wokkel import data_form, generic
File "/usr/lib/python2.7/dist-packages/wokkel/generic.py", line 338, in <module>
@deprecated(Version("wokkel", 18, 0, 0, release_candidate=5), "unicode.encode('idna')")
File "/usr/lib/python2.7/dist-packages/twisted/python/deprecate.py", line 293, in deprecationDecorator
function, version, None, replacement)
File "/usr/lib/python2.7/dist-packages/twisted/python/deprecate.py", line 238, in getDeprecationWarningString
_fullyQualifiedName(callableThing), version, format, replacement)
File "/usr/lib/python2.7/dist-packages/twisted/python/deprecate.py", line 198, in _getDeprecationWarningString
'version': getVersionString(version)}
File "/usr/lib/python2.7/dist-packages/incremental/__init__.py", line 518, in getVersionString
result = '%s %s' % (version.package, version.short())
File "/usr/lib/python2.7/dist-packages/incremental/__init__.py", line 221, in short
gitver = self._getGitVersion()
File "/usr/lib/python2.7/dist-packages/incremental/__init__.py", line 422, in _getGitVersion
return self._parseGitDir(os.path.join(upOneMore, '.git'))
File "/usr/lib/python2.7/dist-packages/incremental/__init__.py", line 395, in _parseGitDir
headContent.split(" ")[1]))) as f:
IOError: [Errno 2] No such file or directory: '/usr/.git/refs/heads/distupgrade-20181103'
comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_Q7jj3SN4xVLAkwpHcnyfkY

You are not logged. You need to log in to comment.