Hi

I am pretty sure, this must have been discussed before, but again, I cannot find a hint/reference in the e-mail archive:


If I install a new galaxy server using the "June 23, 2011" release (changeset: 5743:720455407d1c), I cannot save a visualization after adding a new track:

I get a little pop-up window saying "Could not save visualization", if I click on 'ok' it pretends to start saving, but the web browser freezes.


and I get the following error:

URL: http://silicon.fmi.ch:8097/tracks/save
File '/galaxy/galaxy_test/galaxy_dist/eggs/WebError-0.8a-py2.5.egg/weberror/evalexception/middleware.py', line 364 in respond
  app_iter = self.application(environ, detect_start_response)
File '/galaxy/galaxy_test/galaxy_dist/eggs/Paste-1.6-py2.5.egg/paste/debug/prints.py', line 98 in __call__
  environ, self.app)
File '/galaxy/galaxy_test/galaxy_dist/eggs/Paste-1.6-py2.5.egg/paste/wsgilib.py', line 539 in intercept_output
  app_iter = application(environ, replacement_start_response)
File '/galaxy/galaxy_test/galaxy_dist/eggs/Paste-1.6-py2.5.egg/paste/recursive.py', line 80 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_test/galaxy_dist/eggs/Paste-1.6-py2.5.egg/paste/httpexceptions.py', line 632 in __call__
  return self.application(environ, start_response)
File '/galaxy/galaxy_test/galaxy_dist/lib/galaxy/web/framework/base.py', line 145 in __call__
  body = method( trans, **kwargs )
File '/galaxy/galaxy_test/galaxy_dist/lib/galaxy/web/framework/__init__.py', line 65 in decorator
  return simplejson.dumps( func( self, trans, *args, **kwargs ) )
File '/galaxy/galaxy_test/galaxy_dist/lib/galaxy/web/controllers/tracks.py', line 580 in save
  "track_type": track['track_type'],
KeyError: 'track_type'


Is this a 'bug' in the  "June 23, 2011" release ?


By looking through the commits on galaxy central i found the 'changeset: 5750:b13d16085dfc' from Jun 27: "Add generic method for getting track type and use it when saving visualizations."

I am now using the two 'fixed' files:
~/static/scripts/trackster.js
~/templates/tracks/browser.mako


and it now seems to work, ie I can save the changed visualization.


Was this the right fix?



Thank you very much for your help
Regards, Hans
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Reply via email to