Skip to content

Is yield generator running? Can't detach from tmux #29

@pretyflaco

Description

@pretyflaco

Running JM on raspiblitz v1.5rc1
Created JM wallet and deposited 0.01 on mixdepth 0 address which has >5 confirmations

# To run a yield generator with tmux
$ tmux
# Output 
bash: startup.sh: No such file or directory
$ python yg-privacyenhanced.py wallet.jmdat
# Output 
File "/home/joinmarket/joinmarket-clientserver/jmclient/jmclient/yieldgenerator.py", line 29, in __init__
    Maker.__init__(self, wallet_service)
  File "/home/joinmarket/joinmarket-clientserver/jmclient/jmclient/maker.py", line 32, in __init__
    self.sync_wait_loop.start(2.0)
  File "/home/joinmarket/joinmarket-clientserver/jmvenv/lib/python3.7/site-packages/twisted/internet/task.py", line 194, in start
    self()
  File "/home/joinmarket/joinmarket-clientserver/jmvenv/lib/python3.7/site-packages/twisted/internet/task.py", line 239, in __call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
  File "/home/joinmarket/joinmarket-clientserver/jmvenv/lib/python3.7/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
    result = f(*args, **kw)
  File "/home/joinmarket/joinmarket-clientserver/jmclient/jmclient/maker.py", line 48, in try_to_create_my_orders
    sys.exit(EXIT_FAILURE)
builtins.SystemExit: 1

2020-04-11 21:38:33,953 [INFO]  starting yield generator
2020-04-11 21:38:34,146 [INFO]  Listening on port 27183
2020-04-11 21:38:34,147 [INFO]  Starting transaction monitor in walletservice
2020-04-11 21:38:40,150 [INFO]  joined: #joinmarket-pit tor.darkscience.net
2020-04-11 21:38:40,152 [INFO]  Could not connect to *ALL* servers yet, waiting up to 60 more seconds.
2020-04-11 21:38:40,607 [INFO]  joined: #joinmarket-pit guybrush.hackint.org
2020-04-11 21:38:40,608 [INFO]  All IRC servers connected, starting execution.

Is yield generator running?
Detaching from tmux with ctrl+b,d does not work for some reason.
Closing terminal and resuming session in new terminal works with
$ tmux a

After some time:

#output
2020-04-11 21:48:38,614 [INFO]  Failed to start after 10 minutes, giving up.
2020-04-11 21:48:38,616 [INFO]  Lost IRC connection to: guybrush.hackint.org . Should reconnect automatically soon.
2020-04-11 21:48:38,618 [INFO]  Lost IRC connection to: tor.darkscience.net . Should reconnect automatically soon.
done

Checking addresses in wallet shows 0.01 hasn't moved, still sitting in mixdepth 0.
Any idea what I'm missing?

Edit: Not sure, if this is the right place to ask this. If it's not, a hint in the right direction is appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions