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

cant connect to session #60

Open
artofhuman opened this issue Oct 13, 2014 · 4 comments
Open

cant connect to session #60

artofhuman opened this issue Oct 13, 2014 · 4 comments

Comments

@artofhuman
Copy link

I try to debug resque job.
in my code
pry.binding.remote_pry
When i start resque QUEUE=* rake resque:work --trace and see in log [pry-remote] Waiting for client on druby://127.0.0.1:9876

try to connect: pry-remote and get error

...trace
FATAL: Pry failed to get user input using `#<struct PryRemote::InputProxy input=#<PryRemote::IOUndumpedProxy:0x000000028d1218>>`.
To fix this you may be able to pass input and output file descriptors to pry directly. e.g.
  Pry.config.input = STDIN
  Pry.config.output = STDOUT
  binding.pry
@olivierlacan
Copy link

I'm having the same issue after upgrading to pry-byebug 2.0.0 from 1.3.2 (byebug 2.7.0 to 3.5.1). Going to look into what changed in byebug 3.x since that major version bump probably has something to do with it.

@artofhuman What Ruby version do you use? Do you use pry-debug or pry-byebug?

@artofhuman
Copy link
Author

@olivierlacan i use 1.9.3 with rails-express patch and i use pry-debug

@olivierlacan
Copy link

@artofhuman FYI for me rolling back to pry-byebug 1.3.3 fixed the issue on Ruby 2.0.0.

@januszm
Copy link

januszm commented Aug 17, 2017

@olivierlacan do you know what was the change in pry-byebug that caused this issue? I'm having the same problem when I just use the pry-remote gem alone and connect to the server from my dev env.

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

3 participants