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

NameError: uninitialized constant Opener::Core::ResourceSwitcher #2

Open
mewlabs opened this issue Mar 12, 2023 · 1 comment
Open

Comments

@mewlabs
Copy link

mewlabs commented Mar 12, 2023

I installed it and other OpeNER modules using gem, like:

gem install opener-polarity-tagger

Building native extensions. This could take a while...
Successfully installed opener-polarity-tagger-3.5.5
1 gem installed

But when I'm trying to run server it returns error:

./polarity-tagger-server -p 9003

/usr/local/rvm/gems/jruby-9.2.9.0/gems/rollbar-3.4.0/lib/rollbar/json.rb:8: warning: attribute accessor as module_function
NameError: uninitialized constant Opener::Core::ResourceSwitcher
const_missing at org/jruby/RubyModule.java:3747

at /usr/local/rvm/gems/jruby-9.2.9.0/gems/opener-polarity-tagger-3.5.5/bin/polarity-tagger-server:6
load at org/jruby/RubyKernel.java:1013
at ./polarity-tagger-server:23
eval at org/jruby/RubyKernel.java:1052
at /usr/local/rvm/gems/jruby-9.2.9.0/bin/jruby_executable_hooks:22

other modules works well in server mode. How to fix this?

@mewlabs
Copy link
Author

mewlabs commented Mar 13, 2023

had to downgrade opener-core from 2.5 to 2.4 for fix this issue:

gem install opener-core -v 2.4.0
gem uninstall opener-core -v 2.5.0

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

1 participant