coyled / sras Goto Github PK
View Code? Open in Web Editor NEWSRAS -- An Asset Server for OpenSimulator
Home Page: https://github.com/coyled/sras/
License: MIT License
SRAS -- An Asset Server for OpenSimulator
Home Page: https://github.com/coyled/sras/
License: MIT License
...for testing.
Returns a 200 but no entry in db and empty file on disk. I believe this was an old, invalid version of test/test.asset
For optional use.
Add Bundler config with known-good gem versions.
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:in
get_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:in
call'
/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:in
route_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:in
block 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:in
process_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:in
each'
/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:in
block 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:in
catch'
/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:in
dispatch!'
/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:in
block 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:in
invoke'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in route_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:in block 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:in process_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:in each' /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:in block 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:in catch' /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:in dispatch!' /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:in block 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:in invoke' /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:in call' /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:in call' /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:in call' /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:in call' /home/stargate/.rvm/gems/ruby-1.9.2-p320/gems/rack-1.5.2/lib/rack/logger.rb:15:in
call'
/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:in
call'
/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:in
call'
/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:in
call'
/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:in
block 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:in
pre_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:in
receive_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:in
run'
/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:in
start'
/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:in
load'
/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:in
eval'
/home/stargate/.rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in `
...'cause the Rakefile isn't easily accessible.
New asset has null values for created_at and updated_at .
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
...to use instead of the RACK_ENV environment variable.
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
Daemonize by default. --foreground as option.
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
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?
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.
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
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:in
parse_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:in
load'
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:in
open'
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:in
load_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:in
load'
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:in
eval'
from /home/robust/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `
...so one doesn't have to monkey about with a bunch of files.
SRAS:
<Name>q&a15</Name>
ROBUST:
<Name>q&a15</Name>
OpenSim's XML parser gets confused by the former.
Provide a tool to dump assets from a ROBUST asset server and import them into SRAS.
Remnant from the gem migration. Oops. Not very DRY of me.
When someone takes a picture inworld and saves directly to their inventory, it actually appears to not be saving SRAS returns error "500" when it gets a snapshot upload. But normal texture uploads are just fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.