Mike,
This was a bug that had been fixed in the BioPortal UI trunk but not
the branch that OOR has deployed. I just merged the changes from the
trunk to the OOR branch and if the code is updated this should go away.
Note: There are some config changes in the environment.rb file that
will need to be made for this update to work.
Please let me know if you have any problems or questions.
Paul
On 1/24/10 9:04 AM, Mike Dean wrote:
I'm often but erratically getting the error below when I browse specific ontologies (i.e. click Browse and then the ontology name or abbreviation, e.g. [1]) using the new sandbox.
I originally thought this was consistently happening with several small (less than 50K byte) ontologies/vocabularies I loaded on Friday, but it now seems to happen (somewhat intermittently) with other ontologies as well. Logging-in/out, restarting Safari, or switching to Firefox doesn't seem to make a significant difference.
Mike
[1] http://oor-01f.cim3.net/ontologies/10018
[2] http://oor-01f.cim3.net
ArgumentError in Ontologies#show
Showing ontologies/show.html.erb where line #522 raised:
undefined class/module OntologyMetricsWrapper
Extracted source (around line #522):
519: for the most recent version are reflected.
520: <%= link_to "See metrics descriptions", "http://www.bioontology.org/wiki/index.php/Ontology_Metrics" %>
521: </p>
522: <% if @ontology.metrics.empty? %>
523: <h2 style="padding-left: 1em;">We have not yet calculated metrics for this ontology.</h2>
524: <% else %>
525: <table class="form">
RAILS_ROOT: /usr/local/bioportal/bioportalui_oor
Application Trace | Framework Trace | Full Trace
/usr/lib64/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/memcache.rb:255:in `load'
/usr/lib64/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/memcache.rb:255:in `get'
/usr/lib64/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/memcache.rb:878:in `with_server'
/usr/lib64/ruby/gems/1.8/gems/memcache-client-1.7.7/lib/memcache.rb:251:in `get'
app/models/data_access.rb:168:in `getOntologyMetrics'
app/models/ontology_wrapper.rb:160:in `metrics'
app/views/ontologies/show.html.erb:522:in `_run_erb_47app47views47ontologies47show46html46erb'
app/controllers/ontologies_controller.rb:66:in `show'
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
Request
Parameters:
{"id"=>"10018"}
Show session dump
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}
_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/oor-dev/
Config/Unsubscribe: http://ontolog.cim3.net/mailman/listinfo/oor-dev/
Shared Files: http://ontolog.cim3.net/file/work/OOR/dev/
Wiki: http://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository
|
_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/oor-dev/
Config/Unsubscribe: http://ontolog.cim3.net/mailman/listinfo/oor-dev/
Shared Files: http://ontolog.cim3.net/file/work/OOR/dev/
Wiki: http://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository (01)
|