You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
Hi Team,
I'm not a ruby program and I feel cvmanager will solve most of my requirement.
I'm sure this issue has reported in GitHub for different scenarios. I'm trying to use cvmanager for Redhat satellite 6 and Foreman. I'm getting the below error while running the script.
Can you please help me to fix the issue.
ruby cvmanager --wait publish --verbose
/usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in encode': "\xE2" on US-ASCII (Encoding::InvalidByteSequenceError) from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in initialize'
from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in new' from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in parse'
from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:129:in load_apidoc' from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:138:in apidoc'
from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/resource.rb:8:in initialize' from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:151:in new'
from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:151:in resource' from cvmanager:375:in publish'
from cvmanager:541:in `
'
The text was updated successfully, but these errors were encountered:
What if you run file cvmanager
?
What about the same to your config file?
Can you post also your config (please cleanup password and sensitive information from it)
Seems to me an issue with the encoding of one of this files.
I am having this same exact issue right now as well. It was working a few days ago and now I cannot call any ./cvmanager --config=...etc... commands at all. Same exact error message as the original poster of this issue.
file cvmanager returns: cvmanager: Ruby script, ASCII text
This worked on Friday, now its Monday and when I went to check that my Content Views were updated over the weekend, nothing had happened. and during even the most basic testing I began to get these errors.
EDIT:
Fixed the issue by running the following two lines in bash. I found them in a github issue from another product about a similar error message as mine. Any idea why these would need setting all of a sudden?
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Team,
I'm not a ruby program and I feel cvmanager will solve most of my requirement.
I'm sure this issue has reported in GitHub for different scenarios. I'm trying to use cvmanager for Redhat satellite 6 and Foreman. I'm getting the below error while running the script.
Can you please help me to fix the issue.
ruby cvmanager --wait publish --verbose
'/usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in
encode': "\xE2" on US-ASCII (Encoding::InvalidByteSequenceError) from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in
initialize'from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in
new' from /usr/share/gems/gems/json-1.7.7/lib/json/common.rb:155:in
parse'from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:129:in
load_apidoc' from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:138:in
apidoc'from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/resource.rb:8:in
initialize' from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:151:in
new'from /usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:151:in
resource' from cvmanager:375:in
publish'from cvmanager:541:in `
The text was updated successfully, but these errors were encountered: