question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error using wormhole receive

See original GitHub issue

Using void linux

[~]λ wormhole receive                                                                                                                   
Traceback (most recent call last):                                                                                                      
  File "/home/risto/.local/lib/python3.11/site-packages/wormhole/cli/cli.py", line 255, in <lambda>                                     
    return react(_dispatch_command, (cfg, lambda: f(cfg)))                                                                              
  File "/home/risto/.local/lib/python3.11/site-packages/wormhole/cli/cmd_receive.py", line 49, in receive                               
    d = r.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 "/home/risto/.local/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 "/home/risto/.local/lib/python3.11/site-packages/wormhole/cli/cmd_receive.py", line 81, in go                                    
    w = create(                                                                                                                         
  File "/home/risto/.local/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 "/home/risto/.local/lib/python3.11/site-packages/wormhole/_boss.py", line 52, in __attrs_post_init__                             
    self._build_workers()                                                                                                               
  File "/home/risto/.local/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 "/home/risto/.local/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
[~]λ python --version
Python 3.11.0

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7

github_iconTop GitHub Comments

0reactions
Risto-Stevcevcommented, Nov 15, 2022

Confirmed that it’s working now after pulling latest updates from void

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sender - Magic-Wormhole - Read the Docs
This package provides a library and a command-line tool named wormhole , which makes it possible to get arbitrary-sized files and directories (or...
Read more >
Magic-Wormhole Documentation - Read the Docs
Get things from one computer to another, safely. This package provides a library and a command-line tool named wormhole, which makes it possible...
Read more >
wormhole leaks information about failed transfers #74 - GitHub
If a transfer fails on the receiver side, the sender currently sees an exception explaining what happened on the receiver side.
Read more >
Error Installing magic-wormhole - Render community
The output you reported isn't really enough to figure out what the problem is. Can you try on a test instance with apt-get...
Read more >
Wormhole is a Fast, Secure Way to Send Files to Other Users ...
The file-transfer commands use a “Transit Relay”, which is another simple server that glues together two inbound TCP connections and transfers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found