Hi Vipin,Strange, are you running the latest galaxy-dist? That line doesn't exist in e.g. https://bitbucket.org/galaxy/galaxy-dist/src/ebe87051fadff5750ec226490b31e49bdd68b070/templates/webapps/galaxy/root/history.mako?at=default. Can you compare your file to the file in the repository? What is the output of:hg diff templates/webapps/galaxy/root/history.makoandhg summaryandhg configThanks for using Galaxy,DanOn Aug 9, 2013, at 3:56 PM, Vipin TS wrote:Hi Dan,I deleted thecontents from/codebase/database/complied_templates/* and restarted the instance, still no luck. Sorry.Thanks, VipinHi Vipin,Can you try deleting the contents of your compiled templates directory (i.e./codebase/database/compiled_templates/*)?Thanks for using Galaxy,
DanOn Aug 9, 2013, at 3:22 PM, Vipin TS wrote:Hi Dan,
Thanks for the information, I have updated this to my repository manually. Now I can invoke the page but the frames were not loaded correctly.The log message as follows:/codebase/eggs/SQLAlchemy-0.7.9-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/sql/expression.py:1927: SAWarning: The IN-predicate on "request_type.id" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate. Consider alternative strategies for improved performance.X.X.X.X - - [09/Aug/2013:15:09:55 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"X.X.X.X - - [09/Aug/2013:15:09:56 -0400] "GET /root/tool_menu HTTP/1.1" 404 - "https://galaxy.cbio.mskcc.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"X.X.X.X - - [09/Aug/2013:15:09:56 -0400] "GET /history HTTP/1.1" 200 - "https://galaxy.cbio.mskcc.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"X.X.X.X - - [09/Aug/2013:15:09:56 -0400] "GET /history HTTP/1.1" 500 - "https://galaxy.cbio.mskcc.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17"----------------------------------------Exception happened during processing of request from ('127.0.0.1', 43370)Traceback (most recent call last):File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py", line 1068, in process_request_in_threadself.finish_request(request, client_address)File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_requestself.RequestHandlerClass(request, client_address, self)File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__self.handle()File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py", line 442, in handleBaseHTTPRequestHandler.handle(self)File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handleself.handle_one_request()File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py", line 437, in handle_one_requestself.wsgi_execute()File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py", line 287, in wsgi_executeself.wsgi_start_response)File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/urlmap.py", line 203, in __call__return app(environ, start_response)File "/codebase/lib/galaxy/web/framework/middleware/request_id.py", line 12, in __call__return self.app( environ, start_response )File "/codebase/lib/galaxy/web/framework/middleware/xforwardedhost.py", line 21, in __call__return self.app( environ, start_response )File "/codebase/lib/galaxy/web/framework/middleware/translogger.py", line 68, in __call__return self.application(environ, replacement_start_response)File "/codebase/lib/galaxy/web/framework/middleware/error.py", line 159, in __call__exc_info)File "/codebase/lib/galaxy/web/framework/middleware/translogger.py", line 67, in replacement_start_responsereturn start_response( status, headers, exc_info )File "/codebase/lib/galaxy/web/framework/middleware/error.py", line 149, in __call__app_iter = self.application(environ, sr_checker)File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/recursive.py", line 84, in __call__return self.application(environ, start_response)File "/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpexceptions.py", line 633, in __call__return self.application(environ, start_response)File "/codebase/lib/galaxy/web/framework/base.py", line 132, in __call__return self.handle_request( environ, start_response )File "/codebase/lib/galaxy/web/framework/base.py", line 199, in handle_requestreturn body( environ, start_response )File "/codebase/lib/galaxy/web/framework/__init__.py", line 985, in rendertemplate.render_context( context )File "/codebase/eggs/Mako-0.4.1-py2.6.egg/mako/template.py", line 319, in render_context**kwargs)File "/codebase/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py", line 692, in _render_context_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)File "/codebase/eggs/Mako-0.4.1-py2.6.egg/mako/runtime.py", line 718, in _exec_templatecallable_(context, *args, **kwargs)File "/codebase/database/compiled_templates/root/history.mako.py", line 73, in render_bodyif bool( [ data for data in history.active_datasets if data.state in ['running', 'queued', '', None ] ] ):AttributeError: 'Undefined' object has no attribute 'active_datasets'Do you have any quick way to fix the same? Or update to galaxy-central stable branch?Thank you, Vipin
Hi Vipin,This has been fixed in the stable branch of galaxy-central https://bitbucket.org/galaxy/galaxy-central/commits/cd6fec2f5cba but has not made it on to galaxy-dist yet.Thanks for using Galaxy,DanOn Aug 9, 2013, at 2:33 PM, Vipin TS wrote:___________________________________________________________Hello dev-team,I am experiencing a strange problem with my production instance, after I carefully merged remote changes from galaxy-dist release to my code repository. While restarting, It fails to load the the page properly, the message from log file stating that "serving on 0.0.0.0:8080"Here are some message found in the log file:X.X.X.X - - [09/Aug/2013:14:30:56 -0400] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) rekonq Safari/534.34"Error - <type 'exceptions.ValueError'>: expected only letters, got ' en'File '/codebase/lib/galaxy/web/framework/middleware/error.py', line 149 in __call__app_iter = self.application(environ, sr_checker)File '/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/recursive.py', line 84 in __call__return self.application(environ, start_response)File '/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpexceptions.py', line 633 in __call__return self.application(environ, start_response)File '/codebase/lib/galaxy/web/framework/base.py', line 132 in __call__return self.handle_request( environ, start_response )File '/codebase/lib/galaxy/web/framework/base.py', line 159 in handle_requesttrans = self.transaction_factory( environ )File '/codebase/lib/galaxy/web/framework/__init__.py', line 238 in <lambda>self.set_transaction_factory( lambda e: self.transaction_chooser( e, galaxy_app, session_cookie ) )File '/codebase/lib/galaxy/web/framework/__init__.py', line 269 in transaction_chooserreturn GalaxyWebTransaction( environ, galaxy_app, self, session_cookie )File '/codebase/lib/galaxy/web/framework/__init__.py', line 332 in __init__self.setup_i18n()File '/codebase/lib/galaxy/web/framework/__init__.py', line 370 in setup_i18nlocales.append( Locale.parse( locale.split( ';' )[0], sep='-' ).language )File '/codebase/eggs/Babel-0.9.4-py2.6.egg/babel/core.py', line 212 in parsereturn cls(*parse_locale(identifier, sep=sep))File '/codebase/eggs/Babel-0.9.4-py2.6.egg/babel/core.py', line 763 in parse_localeraise ValueError('expected only letters, got %r' % lang)ValueError: expected only letters, got ' en'CGI Variables-------------CONTENT_LENGTH: '0'HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'HTTP_ACCEPT_CHARSET: 'utf-8,*;q=0.5'HTTP_ACCEPT_ENCODING: 'gzip, deflate, x-gzip, x-deflate'HTTP_ACCEPT_LANGUAGE: 'en-US, en-US; q=0.8, en; q=0.6'HTTP_CACHE_CONTROL: 'max-age=0'HTTP_CONNECTION: 'Keep-Alive'HTTP_HOST: 'galaxy.cbio.mskcc.org'HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) rekonq Safari/534.34'HTTP_X_FORWARDED_FOR: '172.21.50.129'HTTP_X_FORWARDED_HOST: 'galaxy.cbio.mskcc.org'HTTP_X_FORWARDED_SERVER: 'galaxy.cbio.mskcc.org'HTTP_X_URL_SCHEME: 'https'ORGINAL_HTTP_HOST: 'localhost:8081'ORGINAL_REMOTE_ADDR: '127.0.0.1'PATH_INFO: '/'REMOTE_ADDR: '172.21.50.129'REQUEST_METHOD: 'GET'SERVER_NAME: '0.0.0.0'SERVER_PORT: '8081'SERVER_PROTOCOL: 'HTTP/1.1'WSGI Variables--------------application: <paste.recursive.RecursiveMiddleware object at 0x7f78910>is_api_request: Falseoriginal_wsgi.url_scheme: 'http'paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x7f78210>paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x8066d90>paste.recursive.forward: <paste.recursive.Forwarder from />paste.recursive.include: <paste.recursive.Includer from />paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />paste.recursive.script_name: ''paste.throw_errors: Truerequest_id: 'd4f643a8012111e3819090b11c087d99'wsgi process: 'Multithreaded'------------------------------------------------------------Any idea what is going wrong here? Please let me know if you need more get more details.Many thanks,--/Vipin
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/