This is the reproducible error shown in the server log when starting at ucsc with a fresh browser cache. Galaxy tries to load a history, but the user has no history yet.
128.118.200.27 - - [20/Jan/2010:08:51:36 -0400] "POST /tool_runner HTTP/1.0" 500 - "
http://genome.ucsc.edu/cgi-bin/hgTables" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'id'
File '/galaxy/home/g2main/galaxy_main/eggs/py2.5-noplatform/Paste-1.6-py2.5.egg/paste/exceptions/errormiddleware.py', line 143 in __call__
app_iter = self.application(environ, start_response)
File '/galaxy/home/g2main/galaxy_main/eggs/py2.5-noplatform/Paste-1.6-py2.5.egg/paste/recursive.py', line 80 in __call__
return self.application(environ, start_response)
File '/galaxy/home/g2main/galaxy_main/eggs/py2.5-noplatform/Paste-1.6-py2.5.egg/paste/httpexceptions.py', line 632 in __call__
return self.application(environ, start_response)
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/web/framework/base.py', line 125 in __call__
body = self.call_body_method( method, trans, kwargs )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/web/framework/base.py', line 144 in call_body_method
return method( trans, **kwargs )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/web/controllers/tool_runner.py', line 51 in index
template, vars = tool.handle_input( trans, params.__dict__ )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/tools/__init__.py', line 791 in handle_input
out_data = self.execute( trans, incoming=params )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/tools/__init__.py', line 1063 in execute
return self.tool_action.execute( self, trans, incoming=incoming, set_output_hid=set_output_hid )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/tools/actions/__init__.py', line 129 in execute
db_dataset = trans.db_dataset_for( input_dbkey )
File '/galaxy/home/g2main/galaxy_main/lib/galaxy/web/framework/__init__.py', line 654 in db_dataset_for
.filter_by( deleted=False, history_id=self.history.id, extension="len" )
AttributeError: 'NoneType' object has no attribute 'id'
CGI Variables
-------------
CONTENT_LENGTH: '-1'
CONTENT_TYPE: 'application/x-www-form-urlencoded'
HTTP_ACCEPT: 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_ENCODING: 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE: 'en-us'
HTTP_CACHE_CONTROL: 'max-age=0'
HTTP_CONNECTION: 'close'
HTTP_HOST: 'main.g2.bx.psu.edu'
HTTP_ORIGIN: 'http://genome.ucsc.edu'
HTTP_REFERER: 'http://genome.ucsc.edu/cgi-bin/hgTables'
HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10'
HTTP_X_FORWARDED_FOR: '128.118.200.27'
HTTP_X_FORWARDED_HOST: 'main.g2.bx.psu.edu'
ORGINAL_HTTP_HOST: 'galaxy_app'
ORGINAL_REMOTE_ADDR: '127.0.0.1'
PATH_INFO: '/tool_runner'
REMOTE_ADDR: '128.118.200.27'
REQUEST_METHOD: 'POST'
SERVER_NAME: '127.0.0.1'
SERVER_PORT: '9980'
SERVER_PROTOCOL: 'HTTP/1.0'
Configuration
-------------
__file__: '/galaxy/home/g2main/galaxy_main/universe_wsgi.webapp.ini'
admin_users:
'nate@bx.psu.edu,
greg@bx.psu.edu,
anton@bx.psu.edu,
dan@bx.psu.edu,
james.taylor@emory.edu,
gua110@bx.psu.edu,
ross.lazarus@gmail.com,
rc@bx.psu.edu,
guru@psu.edu,
cap142@psu.edu,
dsg4@psu.edu'
allow_user_deletion: 'True'
cluster_files_directory: 'database/tmp/pbs'
database_connection: 'postgres://g2main:norzOgtep6@main-db1.g2.bx.psu.edu/galaxy_main'
database_engine_option_max_overflow: '20'
database_engine_option_pool_size: '10'
database_engine_option_strategy: 'threadlocal'
datatype_converters_config_file: 'datatype_converters_conf.xml'
datatype_converters_path: '/galaxy/home/g2main/galaxy_main/lib/galaxy/datatypes/converters'
datatype_indexers_path: '/galaxy/home/g2main/galaxy_main/lib/galaxy/datatypes/indexers'
debug: 'False'
enable_job_running: 'False'
enable_pages: 'True'
file_path: 'database/files'
gbrowse_display_sites: 'main,test,tair'
here: '/galaxy/home/g2main/galaxy_main'
id_secret: 'gHdf984t3ojldfGgdfggG93sdfmls9dlMellvm955kl'
job_scheduler_policy: 'FIFO'
job_walltime: '94:00:00'
job_working_directory: 'database/tmp/job_working_directory'
library_import_dir: '/galaxy/home/g2main/import'
log_events: 'True'
log_level: 'DEBUG'
log_memory_usage: 'False'
new_file_path: 'database/tmp'
nginx_upload_path: '/_upload'
nginx_upload_store: 'database/tmp/upload_store'
nginx_x_accel_redirect_base: '/_x_accel_redirect'
output_size_limit: '214748364800'
outputs_to_working_directory: 'True'
sendmail_path: '/usr/sbin/sendmail'
session_data_dir: '/galaxy/home/g2main/galaxy_main/database/beaker_sessions'
session_key: 'galaxysessions'
session_secret: 'LKhioo2HGopLy86HFtjkjvgsiy75ikIK'
session_type: 'file'
set_metadata_externally: 'False'
smtp_server: 'mail.bx.psu.edu'
static_cache_time: '360'
static_dir: '/galaxy/home/g2main/galaxy_main/static/'
static_enabled: 'True'
static_favicon_dir: '/galaxy/home/g2main/galaxy_main/static/favicon.ico'
static_images_dir: '/galaxy/home/g2main/galaxy_main/static/images'
static_scripts_dir: '/galaxy/home/g2main/galaxy_main/static/scripts/'
static_style_dir: '/galaxy/home/g2main/galaxy_main/static/june_2007_style/blue'
tool_config_file: 'tool_conf.xml'
tool_data_path: 'tool-data'
tool_path: 'tools'
ucsc_display_sites: 'main,archaea,ucla'
use_beaker_session: 'True'
use_interactive: 'False'
use_lint: 'False'
use_new_layout: 'true'
WSGI Variables
--------------
application: <paste.recursive.RecursiveMiddleware object at 0x5d7ad10>
paste.cookies: (<SimpleCookie: >, '')
paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]
paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x5d6eed0>
paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0xe5c990>
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: True
webob._parsed_post_vars: (MultiDict([('tool_id', 'ucsc_table_direct1'), ('URL', 'http://genome.ucsc.edu/cgi-bin/hgTables'), ('hguid', '321992688'), ('db', 'hg19'), ('org', 'Human'), ('hgta_table', 'knownGene'), ('hgta_track', 'knownGene'), ('hgta_regionType', 'range'), ('hgta_outputType', 'primaryTable'), ('position', 'chr21:33031597-33041570'), ('hgta_doTopSubmit', 'get output'), ('hgsid', '150111503'), ('hgta_doGalaxyQuery', 'Send query to Galaxy')]), <FakeCGIBody at 6dd78d0 viewing MultiDict([('to...y')])>)
webob._parsed_query_vars: (MultiDict([]), '')
wsgi process: 'Multithreaded'
------------------------------------------------------------