Open ionosphere opened 9 months ago
I apologize for the extremely delayed response to your issue.
This problem seems to be related to the interaction between Rails and PyCall, which is beyond my area of expertise. I'm sorry, but I can't provide a specific solution for now. I would recommend reporting this issue on the PyCall GitHub repository. They might be able to provide more detailed support.
Thank you for your patience and for bringing this to our attention!
Hi, I try to use this gem for entity recognition from a rails app.
ERROR
When launching the rails console or the server, an error occured.
rails c / rails s or foreman s
pycall-1.5.1/lib/pycall/pyobject_wrapper.rb:77:in from_ruby': wrong argument type nil (expected PyCall::gcguard) (TypeError)
When we try to launch console wihtout this gem and only pycall gem, it works.
Notes that it works on an irb console, maybe another gem is in conflict.
TRACEBACK
ENV
ruby-spacy 0.2.2 pycall 1.5.1 Rails 5.2.8.1 Ruby 2.6.6 via Rbenv Python 3.10.6 via Pyenv Spacy 3.7.2 Ubuntu 20.04.5 LTS