Github messages for voidlinux
 help / color / mirror / Atom feed
From: Risto-Stevcev <Risto-Stevcev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] wormhole backage broken
Date: Sat, 12 Nov 2022 15:37:08 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40487@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3526 bytes --]

New issue by Risto-Stevcev on void-packages repository

https://github.com/void-linux/void-packages/issues/40487

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.17_1 x86_64 GenuineIntel notuptodate rrmFFFFF

### Package(s) Affected

magic-wormhole-0.12.0_5

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

magic-wormhole/magic-wormhole/issues/463

### Expected behaviour

The send/receive commands work

### Actual behaviour

This was caused by some recent update, it worked previously. The `wormhole send`/`wormhole receive` commands give the same error:
```
[~]λ wormhole send                                                                                                                      
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/wormhole/cli/cli.py", line 255, in <lambda>
    return react(_dispatch_command, (cfg, lambda: f(cfg)))
  File "/usr/lib/python3.11/site-packages/wormhole/cli/cmd_send.py", line 38, in send
    return Sender(args, reactor).go()
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1905, in unwindGenerator
    return _cancellableInlineCallbacks(gen)
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1815, in _cancellableInlineCallbacks
    _inlineCallbacks(None, gen, status)
--- <exception caught here> ---
  File "/usr/lib/python3.11/site-packages/wormhole/cli/cli.py", line 122, in _dispatch_command
    yield maybeDeferred(command)
  File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
    result = current_context.run(gen.send, result)
  File "/usr/lib/python3.11/site-packages/wormhole/cli/cmd_send.py", line 66, in go
    w = create(
  File "/usr/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 "/usr/lib/python3.11/site-packages/wormhole/_boss.py", line 52, in __attrs_post_init__
    self._build_workers()
  File "/usr/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 "/usr/lib/python3.11/site-packages/wormhole/_rendezvous.py", line 87, in __attrs_post_init__
    d = self._connector.whenConnected(failAfterFailures=faf)
  File "/usr/lib/python3.11/site-packages/twisted/application/internet.py", line 1168, in whenConnected
    return self._machine.whenConnected(failAfterFailures)
  File "/usr/lib/python3.11/site-packages/automat/_methodical.py", line 232, in __get__
    @preserveName(self.method)
  File "/usr/lib/python3.11/site-packages/automat/_introspection.py", line 43, in decorator
    return copyfunction(decorated,
  File "/usr/lib/python3.11/site-packages/automat/_introspection.py", line 35, in copyfunction
    return function(copycode(template.__code__, codechanges), *values)
  File "/usr/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
```

### Steps to reproduce

Run `wormhole send` or `wormhole receive`

             reply	other threads:[~2022-11-12 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 14:37 Risto-Stevcev [this message]
2022-11-12 14:59 ` TinfoilSubmarine
2022-11-12 21:36 ` [ISSUE] [CLOSED] " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40487@inbox.vuxu.org \
    --to=risto-stevcev@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).