Skip to content

Instantly share code, notes, and snippets.

Errno::EACCES (Permission denied - /web/production/has/releases/20100823193611/config/jnlp_objects/concord/has-otrunk/jnlp_object_11.yaml):
app/models/maven_jnlp/versioned_jnlp.rb:157:in `initialize'
app/models/maven_jnlp/versioned_jnlp.rb:157:in `open'
app/models/maven_jnlp/versioned_jnlp.rb:157:in `save_jnlp_object'
app/models/maven_jnlp/versioned_jnlp.rb:152:in `update_jnlp_object'
app/models/maven_jnlp/versioned_jnlp.rb:137:in `load_jnlp_object'
app/models/maven_jnlp/versioned_jnlp.rb:126:in `jnlp_object'
app/models/maven_jnlp/versioned_jnlp.rb:169:in `parse_jnlp_object'
app/models/maven_jnlp/versioned_jnlp_url.rb:30:in `create_versioned_jnlp'
$ gem install lebowski
**************************************************
Thank you for installing lebowski-0.1.1
( ... )
Successfully installed lebowski-0.1.1
1 gem installed
( ... )
0.322 INFO SailResourceLoader.getInputStream: loading: http://localhost:3000/investigations/697.dynamic_otml
5.492 INFO SailResourceLoader.getInputStream: RequiredResourceLoader - Done.
5.605 INFO XMLDatabase.loadObjects: Loaded 6 objects from: http://localhost:3000/investigations/697.dynamic_otml (1672 bytes) opened url in 5170ms downloaded and parsed xml in 51ms loaded ot db in 59ms
5.641 INFO SailResourceLoader.getInputStream: loading: http://localhost:3000/investigations/697.otml
16.053 INFO SailResourceLoader.getInputStream: RequiredResourceLoader - Done.
16.222 WARN ObjectTypeHandler.handleChildResource: Warning: Only the first element is returned from otrunk/objects/OTSystem@system/root/OTRITESContainer/title
16.291 WARN XMLDatabase.getGlobalId: Can't find local id: section_card_container_activity_2208
16.293 WARN XMLDatabase.getGlobalId: Can't find local id: section_12788
16.297 WARN XMLDatabase.getGlobalId: Can't find local id: content_page_18
(in the static otml as delivered)
... (entities &etc.)
<otrunk id='0009494c-c1e7-11de-9d10-001ec94098a1'>
... (imports &etc. )
...
Here is how I usually deploy to appspot:
rake combine:all
rake appspot:sinatra_app
rake appspot:deploy
You will see a bunch of appengine messages, and you will be asked for a google email address and password.
(You can also check the README in the root directory for info about deploying to appspot, and the rake tasks that make it so... )
<?xml version="1.0" encoding="us-ascii"?>
<world>
<schemaVersion>1</schemaVersion>
<id>7</id>
<deleted>false</deleted>
<lockedState>unlocked</lockedState>
<species>
<schemaVersion>1</schemaVersion>
<id>8</id>
<deleted>false</deleted>
<?xml version='1.0' encoding='utf-8'?>
<otrunk id='c7b8e9cc-b68c-11de-9a07-001ec94098a1'>
<imports>
<import class='org.concord.framework.otrunk.view.OTFrame' />
<import class='org.concord.framework.otrunk.wrapper.OTInt' />
<import class='org.concord.framework.otrunk.wrapper.OTBoolean' />
<import class='org.concord.framework.otrunk.wrapper.OTBlob' />
<import class='org.concord.otrunk.OTSystem' />
ssh bumblebeeman.concord.org
cd /web/production/rites/current
RAILS_ENV=production ./script/console
danger = Investigation.all.detect { |i| i.name =~ /Phylogenic/ }
>> danger.id
=> 756
>> danger.name
rites-staging > grep -R send_update_events_to ./app/models/embeddable | sort
./app/models/embeddable/biologica/breed_offspring.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/chromosome.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/chromosome_zoom.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/meiosis_view.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/multiple_organism.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/organism.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/pedigree.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/static_organism.rb: send_update_events_to :investigations
./app/models/embeddable/biologica/world.rb: send_update_events_to :investigations
Processing Portal::ClazzesController#new (for 63.138.152.143 at 2010-07-20 10:46:08) [GET]
Parameters: {"action"=>"new", "controller"=>"portal/clazzes"}
Rendering template within layouts/application
Rendering portal/clazzes/new
ActionView::TemplateError (undefined method `titleize' for 6:Fixnum) on line #36 of app/views/portal/clazzes/_form.html.haml:
33: %td
34: = check_box_tag tag_name, "1", !portal_clazz.grades.find_by_name(name).nil?
35: %td{:style => "padding: 0 10px 0 3px;"}
36: = label_tag tag_name, name.titleize