muhkuh0815 / siriproxy-Eyelp

Siriproxy Europe Yelp Search plugin - enables yelp searches and usage of the map within Siri - Siriproxy and yelp-api key required
10 stars 4 forks source link

edit config file > crash #2

Closed Treenity closed 12 years ago

Treenity commented 12 years ago

everytime i try to modify the config i get :

/home/treenity/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in parse': (/home/treenity/.siriproxy/config.yml): couldn't parse YAML at line 7 column 0 (Psych::SyntaxError) from /home/treenity/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:inparse_stream' from /home/treenity/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in parse' from /home/treenity/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:inload' from /home/treenity/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:229:in load_file' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:143:inparse_options' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:33:in initialize' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:innew' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:in <top (required)>' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:inload' from /home/treenity/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `

'

muhkuh0815 commented 12 years ago

take care that your config.yml file is formated well !! remove eamty lines at the end

Treenity commented 12 years ago

right, i remove all spaces, indents, and it's work now, i'm going to work on a French version if you are ok?

Treenity commented 12 years ago

another messages now : when trying to update : Could not find gem 'siriproxy-eyelp (>= 0) ruby' in any of the gem sources listed in your Gemfile.

muhkuh0815 commented 12 years ago

sure no problem with a french version.

hmm for the error, where have you put the plugin files, have you downloaded the .zip ? and what path is in your config ? and take care of the Capitalisation of the path, SiriProxy siriproxy ...

Treenity commented 12 years ago

i've tested by entering the git in the config.file, but the error come, so i just make a git clone in linux, and change the config to path: './plugins/siriroxy-Eyelp' error continue to come, i try to reinstall ruby

ho ok, when i look into your file, it's siriproxy-eyelp and not as the git clone create Eyelp

i've just reinstall ruby, waiting for it to finish and try again edit : always got the error :/

muhkuh0815 commented 12 years ago

if you put it in your user directory, better use path: User/yourusername/SiriProxy/plugins/ ..... or it will search in the /.rvm/ directory

i will look into the whole github thing tomorrow, just tested one of my plugins

Treenity commented 12 years ago

yeah i copy it, server launch ok but noway to make it work in french [Info - Plugin Manager] Processing plugin #SiriProxy::Plugin::Eyelp:0x840ac10 [Info - Plugin Manager] No matches for 'Trouve un restaurant '

i think i have to understand how i can translate all that, i try with find/search, but iPhone always say me he don't have this option :/

Treenity commented 12 years ago

ok after trying to speak dutch(not easy for me, never learn it) it like to work ;o)

Treenity commented 12 years ago

I Will try to translate it this weekend, but for the moment translating like to bug

muhkuh0815 commented 12 years ago

and maybe http://dict.leo.org helps translating german to french

muhkuh0815 commented 12 years ago

when i put git: 'git://github.com/muhkuh0815/siriproxy-Eyelp.git' in my config file, everthing works fine with siriproxy update