#3518 closed defect (fixed)

PyPy: TypeError: not expecting type '<type 'NoneType'>'

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: review Cc:
Launchpad Bug:

Description

pypy27 run-test: commands[1] | tahoe --version
Traceback (most recent call last):
  File "/tmp/tahoe-lafs.tox/pypy27/bin/tahoe", line 6, in <module>
    from allmydata.scripts.runner import run
  File "/tmp/tahoe-lafs.tox/pypy27/site-packages/allmydata/scripts/runner.py", line 12, in <module>
    from allmydata.scripts import debug, create_node, cli, \
  File "/tmp/tahoe-lafs.tox/pypy27/site-packages/allmydata/scripts/tahoe_daemonize.py", line 1, in <module>
    from .run_common import (
  File "/tmp/tahoe-lafs.tox/pypy27/site-packages/allmydata/scripts/run_common.py", line 13, in <module>
    from allmydata.node import read_config
  File "/tmp/tahoe-lafs.tox/pypy27/site-packages/allmydata/node.py", line 84, in <module>
    app_versions.add_version(ensure_str(thing), ensure_str(things_version))
  File "/tmp/tahoe-lafs.tox/pypy27/site-packages/six.py", line 919, in ensure_str
    raise TypeError("not expecting type '%s'" % type(s))
TypeError: not expecting type '<type 'NoneType'>'

Seems likely to be related to ticket:3509 / ticket:3510.

Change History (2)

comment:2 Changed at 2020-11-25T15:54:51Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 8e6773c/trunk:

Merge pull request #907 from tahoe-lafs/3518.pypy-versions-None

Get rid of version_checks

Fixes: ticket:3518

Note: See TracTickets for help on using tickets.