Opened 6 months ago

Closed 3 months ago

#69937 closed defect (fixed)

magic-wormhole @0.13.0_1 magic-wormhole package is broken

Reported by: djsrv (Debby Servilla) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: magic-wormhole

Description

Using either wormhole send or receive results in the same exception, making the package unusable:

> wormhole send
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/cli/cli.py", line 294, in <lambda>
    return react(_dispatch_command, (cfg, lambda: f(cfg)))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/cli/cmd_send.py", line 38, in send
    return Sender(args, reactor).go()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/twisted/internet/defer.py", line 1947, in unwindGenerator
    return _cancellableInlineCallbacks(gen)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/twisted/internet/defer.py", line 1857, in _cancellableInlineCallbacks
    _inlineCallbacks(None, gen, status, _copy_context())
--- <exception caught here> ---
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/cli/cli.py", line 146, in _dispatch_command
    yield maybeDeferred(command)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/twisted/internet/defer.py", line 1697, in _inlineCallbacks
    result = context.run(gen.send, result)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/cli/cmd_send.py", line 66, in go
    w = create(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/wormhole.py", line 290, in create
    b = Boss(w, side, relay_url, appid, wormhole_versions, client_version,
  File "<attrs generated init wormhole._boss.Boss>", line 23, in __init__
    self.__attrs_post_init__()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/_boss.py", line 52, in __attrs_post_init__
    self._build_workers()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/_boss.py", line 62, in _build_workers
    self._RC = RendezvousConnector(self._url, self._appid, self._side,
  File "<attrs generated init wormhole._rendezvous.RendezvousConnector>", line 18, in __init__
    self.__attrs_post_init__()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/wormhole/_rendezvous.py", line 87, in __attrs_post_init__
    d = self._connector.whenConnected(failAfterFailures=faf)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/twisted/application/internet.py", line 1168, in whenConnected
    return self._machine.whenConnected(failAfterFailures)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/automat/_methodical.py", line 232, in __get__
    @preserveName(self.method)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/automat/_introspection.py", line 43, in decorator
    return copyfunction(decorated,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/automat/_introspection.py", line 35, in copyfunction
    return function(copycode(template.__code__, codechanges), *values)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/automat/_introspection.py", line 23, in copycode
    return code(*values)
builtins.TypeError: code() argument 13 must be str, not int
ERROR: code() argument 13 must be str, not int

I'm using macOS 14.3.1, Xcode 15.2.

I found a report of the same error on void-linux a couple years back: https://github.com/void-linux/void-packages/issues/40487

Change History (2)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Owner: set to herbygillot
Status: newassigned

comment:2 Changed 3 months ago by anelki <akierig@…>

Resolution: fixed
Status: assignedclosed

In 37b8e15e7379b1018462875f0ea4fec5d17a885f/macports-ports (master):

magic-wormhole: update to 0.15.0

should fix #69937

Note: See TracTickets for help on using tickets.