GithubHelp home page GithubHelp logo

sras's People

Contributors

coyled avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sras's Issues

TypeError

TypeError - can't convert nil into String:
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.6/lib/sras/helpers/asset.rb:15:in +' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.6/lib/sras/helpers/asset.rb:15:inget_asset_data'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.6/lib/sras.rb:49:in block in <class:SRAS>' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1541:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1541:in block in compile!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in[]'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in block (3 levels) in route!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:966:inroute_eval'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in block (2 levels) in route!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:987:inblock in process_route'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in catch' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:inprocess_route'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:948:in block in route!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:ineach'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:in route!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1059:inblock in dispatch!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in block in invoke' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:incatch'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in invoke' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1056:indispatch!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:in block in call!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:inblock in invoke'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in catch' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:ininvoke'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:in call!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:870:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/xss_header.rb:18:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/path_traversal.rb:16:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/json_csrf.rb:18:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/base.rb:50:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/base.rb:50:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/frame_options.rb:31:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in []' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:inblock (3 levels) in route!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:966:in route_eval' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:inblock (2 levels) in route!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:987:in block in process_route' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:incatch'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in process_route' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:948:inblock in route!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:in each' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:947:inroute!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1059:in block in dispatch!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:inblock in invoke'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in catch' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:ininvoke'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1056:in dispatch!' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:inblock in call!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in block in invoke' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:incatch'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1041:in invoke' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:882:incall!'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:870:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/xss_header.rb:18:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/path_traversal.rb:16:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/json_csrf.rb:18:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/base.rb:50:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/base.rb:50:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-protection-1.5.1/lib/rack/protection/frame_options.rb:31:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/logger.rb:15:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:212:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:205:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/head.rb:11:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:175:incall'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.4.3/lib/sinatra/base.rb:1949:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:84:inblock in pre_process'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:82:in catch' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:82:inpre_process'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:57:in process' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:42:inreceive_data'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in start' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/server.rb:159:instart'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.6/bin/sras:128:in <top (required)>' /home/stargate/.rvm/gems/ruby-1.9.2-p320/bin/sras:23:inload'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/bin/sras:23:in <main>' /home/stargate/.rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:ineval'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in `

'

reported error on POST (no such file or directory)

Error reported from sras log from POST:

Errno::ENOENT - No such file or directory - /home/assets/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/sras/views/create.erb:
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:91:in `initialize'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:91:in `open'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:91:in `read_template_file'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:68:in `block in initialize'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:69:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt/template.rb:69:in `initialize'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:599:in `new'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:599:in `block in compile_template'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/tilt-1.4.1/lib/tilt.rb:127:in `fetch'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:578:in `compile_template'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:562:in `render'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:455:in `erb'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.5/lib/sras.rb:44:in `block in <class:SRAS>'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `block in compile!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `block (2 levels) in route!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `block in process_route'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `block in route!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `block in call!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `block in invoke'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:84:in `block in pre_process'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:82:in `catch'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:82:in `pre_process'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:57:in `process'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/connection.rb:42:in `receive_data'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in `start'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/thin-1.2.11/lib/thin/server.rb:159:in `start'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/gems/sras-2.1.5/bin/sras:126:in `<top (required)>'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/bin/sras:23:in `load'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/bin/sras:23:in `<main>'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
 /home/assets/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'
127.0.0.1 - - [29/Jul/2013 20:36:51] "POST /assets/ HTTP/1.0" 500 30 0.0212

/config.rb:11:in `load_config_file': undefined method `

I am trying to in stall SRAS on a Ubuntu 12.04.1 version.. I have tried this with Ruby-2.0.0 and Ruby 1.9.2. I get the same error.. I have a copy of sras running on one computer and was trying to move the sras server to another and ran into this issue. I see it has been already been closed with a prior issue I am wondering if I have a setting wrong or is this a problem with the sras install..

Thanks
Todd

file.exist method is deprecated

hello
using ruby-1.9.3-p392
and if running sras as another user by mistake, il have the following error

/opt/opensim/.rvm/gems/ruby-1.9.3-p392/gems/sras-2.1.5/lib/sras/helpers/config.rb:11:in `load_config_file': undefined method `exists' for File:Class (NoMethodError)
from /opt/opensim/.rvm/gems/ruby-1.9.3-p392/gems/sras-2.1.5/bin/sras:70:in `<top (required)>'
from /opt/opensim/.rvm/gems/ruby-1.9.3-p392/bin/sras:19:in `load'
from /opt/opensim/.rvm/gems/ruby-1.9.3-p392/bin/sras:19:in `<main>'
from /opt/opensim/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /opt/opensim/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'

in https://github.com/coyled/sras/blob/master/lib/sras/helpers/config.rb#L11

"POST /assets/ HTTP/1.1" 404 - 0.0019

I am lately out of nowhere getting people having assets not found, the log says

"POST /assets/ HTTP/1.1" 404 - 0.0019

a bunch of places, anyway to diagnose?

check POST for valid format

E.g. POST a SimianGrid asset and you'll get a 200 and a file creation, but instead it should abort and return a 400 before it gets that far.

sras is not working with ruby/ rubygems 2.0.0

here is the error im having

Errno::ENOENT - No such file or directory - /opt/opensim/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/sras/views/create.erb:
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/tilt-1.3.4/lib/tilt/template.rb:68:in `binread'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/tilt-1.3.4/lib/tilt/template.rb:68:in `block in initialize'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/tilt-1.3.4/lib/tilt/template.rb:69:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/tilt-1.3.4/lib/tilt/template.rb:69:in `initialize'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:599:in `new'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:599:in `block in compile_template'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/tilt-1.3.4/lib/tilt.rb:127:in `fetch'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:578:in `compile_template'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:562:in `render'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:455:in `erb'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sras-2.1.5/lib/sras.rb:44:in `block in <class:SRAS>'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `block in compile!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `block (2 levels) in route!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `block in process_route'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `block in route!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `block in call!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `block in invoke'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/connection.rb:84:in `block in pre_process'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/connection.rb:82:in `catch'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/connection.rb:82:in `pre_process'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/connection.rb:57:in `process'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/connection.rb:42:in `receive_data'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.1/lib/eventmachine.rb:187:in `run_machine'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.1/lib/eventmachine.rb:187:in `run'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in `start'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/thin-1.2.11/lib/thin/server.rb:159:in `start'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/gems/sras-2.1.5/bin/sras:126:in `<top (required)>'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/bin/sras:23:in `load'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/bin/sras:23:in `<main>'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
/opt/opensim/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
88.191.234.234 - - [06/Mar/2013 18:12:37] "POST /assets/ HTTP/1.1" 500 30 0.0128

sras on OpenSUSE 12.3 error

any ideal why I get this output when starting sras which never started

:~> sras start
/home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:203:in parse': (/home/robust/.srasrc): mapping values are not allowed in this context at line 2 column 5 (Psych::SyntaxError) from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:203:inparse_stream'
from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:151:in parse' from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:127:inload'
from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:297:in block in load_file' from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:297:inopen'
from /home/robust/.rvm/rubies/ruby-1.9.3-p448/lib64/ruby/1.9.1/psych.rb:297:in load_file' from /home/robust/.rvm/gems/ruby-1.9.3-p448/gems/sras-2.1.5/lib/sras/helpers/config.rb:20:inload_config_file'
from /home/robust/.rvm/gems/ruby-1.9.3-p448/gems/sras-2.1.5/bin/sras:70:in <top (required)>' from /home/robust/.rvm/gems/ruby-1.9.3-p448/bin/sras:23:inload'
from /home/robust/.rvm/gems/ruby-1.9.3-p448/bin/sras:23:in <main>' from /home/robust/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:ineval'
from /home/robust/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `

'

escape &

SRAS:

 <Name>q&a15</Name>

ROBUST:

 <Name>q&amp;a15</Name>

OpenSim's XML parser gets confused by the former.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.