adding javascript based tool in local instance of Galaxy
Dear Galaxy Team, I want incorporate a genome browser into my my local instance of Galaxy. I have tried to view the html page that basically load all the javascripts associated with the browser and display the annotation. Even though it stopped complaining about java scripts in my html file after I have made sanitize_all_html= false, but it does not display anything. So, as next step i tried to take the path of visualization and add my tool as visualize plugin. I have again failed to do so. I followed the instruction given here https://wiki.galaxyproject.org/VisualizationsRegistry , and I am getting following error AttributeError: 'Bunch' object has no attribute 'template_lookup' URL: http://127.0.0.1:8080/visualization/show/Genoverse?dataset_id=2d9035b3fc1524... File '/home/shyama/workspace/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/home/shyama/workspace/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/home/shyama/workspace/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py<http://httpexceptions.py/>', line 633 in __call__ return self.application(environ, start_response) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/base.py', line 132 in __call__ return self.handle_request( environ, start_response ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/base.py', line 190 in handle_request body = method( trans, **kwargs ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 98 in decorator return func( self, trans, *args, **kwargs ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/visualization.py', line 824 in render embedded=embedded, query=kwargs, vars={}, config=config, **resources ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/base/pluginframework.py', line 592 in fill_template return trans.fill_template( template_filename, template_lookup=plugin.template_lookup, **kwargs ) AttributeError: 'Bunch' object has no attribute 'template_lookup' I have even tried very simple thing, as mentioned in the tutorial, still getting this error. Can you kindly help me with this please? Many Thanks Shyama
Hi Shyama, I replied to your biostar question with a suggestion. https://biostar.galaxyproject.org/p/8264/ Can you review it there and see if that helps? Thanks again, Carl On Fri, Jul 11, 2014 at 10:07 AM, Shyamasree Saha <s.saha@qmul.ac.uk> wrote:
Dear Galaxy Team,
I want incorporate a genome browser into my my local instance of Galaxy. I have tried to view the html page that basically load all the javascripts associated with the browser and display the annotation. Even though it stopped complaining about java scripts in my html file after I have made sanitize_all_html= false, but it does not display anything. So, as next step i tried to take the path of visualization and add my tool as visualize plugin. I have again failed to do so. I followed the instruction given here https://wiki.galaxyproject.org/VisualizationsRegistry , and I am getting following error
AttributeError: 'Bunch' object has no attribute 'template_lookup'
URL: http://127.0.0.1:8080/visualization/show/Genoverse?dataset_id=2d9035b3fc1524... File '/home/shyama/workspace/galaxy-dist/eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond app_iter = self.application(environ, detect_start_response) File '/home/shyama/workspace/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__ return self.application(environ, start_response) File '/home/shyama/workspace/galaxy-dist/eggs/Paste-1.7.5.1-py2.7.egg/paste/ httpexceptions.py', line 633 in __call__ return self.application(environ, start_response) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/base.py', line 132 in __call__ return self.handle_request( environ, start_response ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/base.py', line 190 in handle_request body = method( trans, **kwargs ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 98 in decorator return func( self, trans, *args, **kwargs ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/visualization.py', line 824 in render embedded=embedded, query=kwargs, vars={}, config=config, **resources ) File '/home/shyama/workspace/galaxy-dist/lib/galaxy/web/base/pluginframework.py', line 592 in fill_template return trans.fill_template( template_filename, template_lookup=plugin.template_lookup, **kwargs ) AttributeError: 'Bunch' object has no attribute 'template_lookup'
I have even tried very simple thing, as mentioned in the tutorial, still getting this error. Can you kindly help me with this please?
Many Thanks
Shyama
___________________________________________________________ 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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Carl Eberhard
-
Shyamasree Saha