backtrace with 1.19.0
Itamar Turner-Trauring
itamar at pythonspeed.com
Sun Aug 11 14:48:46 UTC 2024
You want the latest version of Foolscap, available via PyPI, i.e 23.11: https://pypi.org/project/foolscap/
On Sun, Aug 11, 2024, at 8:23 AM, Greg Troxel wrote:
> I have tahoe installed because, while I'm not using it, I've been trying
> to keep the pkgsrc entry updated. Because of the twisted bug, I ran the
> CLI program to see if there were issues, and got a backtrace. Then I
> realize pkgsrc was at 1.18.0, so I have locally updated to 1.19.0. I
> have not yet rechecked all the dependencies vs setup.py, but the build
> worked without complain so they should be ok. In particular I have
>
> py311-foolscap-21.7.0nb3
>
> installed.
>
> I see there is newer, and the version number changed. Is this the right
> upstream for foolscap?
>
> https://github.com/warner/foolscap/releases
>
> Looks like this is the old home, no longer relevant.
>
> https://foolscap.lothar.com/trac
>
>
> Also in setup.py I see:
>
> "foolscap >= 23.3.0; python_version > '3.10'",
>
> but yet setup.py completed and it should have errored out. Is there a
> 23.3.0? If so, where is it?
>
>
> $ tahoe
> Traceback (most recent call last):
> File "/usr/pkg/bin/tahoe", line 33, in <module>
> sys.exit(load_entry_point('tahoe-lafs==1.19.0', 'console_scripts', 'tahoe')())
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/pkg/bin/tahoe", line 25, in importlib_load_entry_point
> return next(matches).load()
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/pkg/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
> module = import_module(match.group('module'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/pkg/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 940, in exec_module
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "/usr/pkg/lib/python3.11/site-packages/allmydata/scripts/runner.py", line 9, in <module>
> from allmydata.scripts.common import get_default_nodedir
> File "/usr/pkg/lib/python3.11/site-packages/allmydata/scripts/common.py", line 21, in <module>
> from allmydata.util.encodingutil import quote_output, \
> File "/usr/pkg/lib/python3.11/site-packages/allmydata/util/encodingutil.py", line 31, in <module>
> from allmydata.util import log
> File "/usr/pkg/lib/python3.11/site-packages/allmydata/util/log.py", line 18, in <module>
> from foolscap.logging import log
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/logging/log.py", line 9, in <module>
> from foolscap.logging.interfaces import IIncidentReporter
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/logging/interfaces.py", line 12, in <module>
> class RILogObserver(RemoteInterface):
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/remoteinterface.py", line 39, in __init__
> rname, remote_attrs = self._parseRemoteInterface(iname, attrs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/remoteinterface.py", line 84, in _parseRemoteInterface
> m = RemoteMethodSchema(method=m)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/remoteinterface.py", line 159, in __init__
> self.initFromMethod(method)
> File "/usr/pkg/lib/python3.11/site-packages/foolscap/remoteinterface.py", line 191, in initFromMethod
> names, _, _, typeList = inspect.getargspec(method)
> ^^^^^^^^^^^^^^^^^^
> AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
>
> --
> Greg Troxel <gdt at lexort.com>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at lists.tahoe-lafs.org
> https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tahoe-lafs.org/pipermail/tahoe-dev/attachments/20240811/4efb0592/attachment.html>
More information about the tahoe-dev
mailing list