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

Weird but functional output on terminal #124

Open
luiandresgonzalez opened this issue May 28, 2014 · 3 comments
Open

Weird but functional output on terminal #124

luiandresgonzalez opened this issue May 28, 2014 · 3 comments

Comments

@luiandresgonzalez
Copy link

I'm running elementary OS Built on Ubuntu 12.04 ( "Precise" ).
After installing according to the "manual instructions" offered, when issuing the command I get the following:

luis@epsilon:~$ betty whats my username
Module /home/luis/betty/lib/process.rb could not be loaded because of /home/luis/betty/lib/process.rb:31: undefined (?...) sequence: /
(show|find|give|me|a|list|of|those|\s)*
(?all\s)?
(?my\s)?
PROCESS(es)?
(with|which|that|\s)*
(for|process|\s)* (id\s(?<process_id>[0-9]+))?
(for|belonging|belong|to|by|\s)* (user\s(?<user_id>\w+))?
((like|matching|with|pattern|containing|that|which|contain|\s)+ (?\w+))?
/
Module /home/luis/betty/lib/convert.rb could not be loaded because of /home/luis/betty/lib/convert.rb:29: undefined (?...) sequence: /
(convert|save|transform)\s
(?all\s)?
(?my\s)?
(?.?)\s
(to|as)\s
(?.
)
/
Module /home/luis/betty/lib/translate.rb could not be loaded because of /home/luis/betty/lib/translate.rb:13: odd number list for Hash
command: Command.browser("https://tran...
^
/home/luis/betty/lib/translate.rb:13: syntax error, unexpected ':', expecting '}'
command: Command.browser("https://tran...
^
/home/luis/betty/lib/translate.rb:13: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/translate.rb:15: syntax error, unexpected '}', expecting kEND
/home/luis/betty/lib/translate.rb:24: odd number list for Hash
category: "Translate",
^
/home/luis/betty/lib/translate.rb:24: syntax error, unexpected ':', expecting '}'
category: "Translate",
^
/home/luis/betty/lib/translate.rb:24: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/translate.rb:25: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/translate.rb:27: syntax error, unexpected '}', expecting kEND
/home/luis/betty/lib/translate.rb:32: syntax error, unexpected $end, expecting kEND
Module /home/luis/betty/lib/calc.rb could not be loaded because of /home/luis/betty/lib/calc.rb:34: odd number list for Hash
command: "bc <<< #{arg1}#{op}#{arg2}",
^
/home/luis/betty/lib/calc.rb:34: syntax error, unexpected ':', expecting '}'
command: "bc <<< #{arg1}#{op}#{arg2}",
^
/home/luis/betty/lib/calc.rb:34: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/calc.rb:36: syntax error, unexpected '}', expecting kEND
/home/luis/betty/lib/calc.rb:44: odd number list for Hash
category: "Calculate",
^
/home/luis/betty/lib/calc.rb:44: syntax error, unexpected ':', expecting '}'
category: "Calculate",
^
/home/luis/betty/lib/calc.rb:44: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/calc.rb:45: syntax error, unexpected ',', expecting kEND
/home/luis/betty/lib/calc.rb:47: syntax error, unexpected '}', expecting kEND
/home/luis/betty/lib/calc.rb:52: syntax error, unexpected $end, expecting kEND
Betty: Running whoami
luis

@christophelec
Copy link
Contributor

It seems there is a problem with the new ruby hashes. Can you give us your ruby version? And if it is below 1.9, updating should fix your problem.

@luiandresgonzalez
Copy link
Author

You were right:
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
It's weird since my repositories were updated before installing it today and when reissuing an install says:
"luis@epsilon:~$ sudo apt-get install ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby is already the newest version."
Will try to manually update ruby and let you know.

UPDATE: After manually updating to ruby 1.9.1 works normal

@jsell08
Copy link

jsell08 commented Jun 27, 2014

Similar error and had the same resolution.
Was trying to run this on Backbox 3.1.3 (Ubuntu 12.04) and had similar output but as suggested, manually updated from Ruby 1.8.x to 1.9.x and once I updated the alternatives it works just as expected. Thanks!

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