Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending execution to demonized flexget fails #1405

Closed
m-hume opened this issue Sep 14, 2016 · 3 comments
Closed

Sending execution to demonized flexget fails #1405

m-hume opened this issue Sep 14, 2016 · 3 comments

Comments

@m-hume
Copy link
Contributor

m-hume commented Sep 14, 2016

Expected behaviour:

Execution to be sent to the demon to execute

Actual behaviour:

There is a FlexGet process already running for this config, sending execution there.
Could not start manager: Int or String expected

Steps to reproduce:

  • Step 1: flexget start -d
  • Step 2: flexget execute

Log:

flexget execute --debug
There is a FlexGet process already running for this config, sending execution there.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
    manager.start()
  File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 290, in start
    client = IPCClient(ipc_info['port'], ipc_info['password'])
  File "/usr/local/lib/python2.7/dist-packages/flexget/ipc.py", line 162, in __init__
    channel = rpyc.Channel(rpyc.SocketStream.connect('127.0.0.1', port))
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/stream.py", line 132, in connect
    return cls(cls._connect(host, port, **kwargs))
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/stream.py", line 99, in _connect
    socktype, proto)[0]
error: Int or String expected

Additional information:

  • Flexget Version: 2.3.26
  • Python Version: 2.7.3
  • Installation method: pip
  • OS and version: Ubuntu 12.04

issueing the command flexget demon stop produces the same error
i have to kill the pid to stop it
This was after updating from FlexGet-2.2.9

@cvium cvium closed this as completed in 5ab10ad Sep 14, 2016
@m-hume
Copy link
Contributor Author

m-hume commented Sep 14, 2016

Awesome quick fix!
Thanks

@arthurzqhu
Copy link

How did you fix this eventually? I ran into the same problem.

@m-hume
Copy link
Contributor Author

m-hume commented Aug 11, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants