Opened 8 years ago

Closed 8 years ago

#651 closed defect (can't reproduce)

Toolshed failing

Reported by: Tristan Croll Owned by: Conrad Huang
Priority: blocker Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

I received errors on submitting a new bundle release (although it does appear that it uploaded successfully prior to the error), and on downloading.

On uploading:

NameError at /submit_app/confirm/835

global name 'rel' is not defined

Request Method: 	POST
Request URL: 	https://cxtoolshed.rbvi.ucsf.edu/submit_app/confirm/835
Django Version: 	1.6.12
Exception Type: 	NameError
Exception Value: 	

global name 'rel' is not defined

Exception Location: 	/usr/local/projects/chimerax/www/production/cxtoolshed/submit_app/models.py in make_release, line 63
Python Executable: 	/usr/bin/python
Python Version: 	2.7.5
Python Path: 	

['/usr/lib64/python27.zip',
 '/usr/lib64/python2.7',
 '/usr/lib64/python2.7/plat-linux2',
 '/usr/lib64/python2.7/lib-tk',
 '/usr/lib64/python2.7/lib-old',
 '/usr/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7/site-packages',
 '/usr/local/lib64/python2.7/site-packages',
 '/usr/lib64/python2.7/site-packages/gtk-2.0',
 '/usr/lib/python2.7/site-packages',
 '/usr/lib/python2.7/site-packages/PEAK_Rules-0.5a1.dev_r2713-py2.7.egg',
 '/usr/lib/python2.7/site-packages/Extremes-1.1.1-py2.7.egg',
 '/usr/lib/python2.7/site-packages/AddOns-0.7-py2.7.egg',
 '/usr/lib/python2.7/site-packages/DecoratorTools-1.8-py2.7.egg',
 '/usr/lib/python2.7/site-packages/BytecodeAssembler-0.6-py2.7.egg',
 '/usr/lib/python2.7/site-packages/SymbolType-1.0-py2.7.egg',
 '/usr/lib/python2.7/site-packages/PrivateWikis-1.0.0-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages',
 '/usr/local/projects/chimerax/www/production',
 '/usr/local/projects/chimerax/www/production/cxtoolshed']

Server time: 	Wed, 3 May 2017 09:12:27 -0700

On downloading:

NameError: name 'session' is not defined

File "/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/toolshed/tool.py", line 174, in _download_finished
per_user=per_user, session=session)

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu and describe what you were doing and include a copy of the contents of the log.

Change History (2)

in reply to:  1 ; comment:1 by Conrad Huang, 8 years ago

That's very odd.  Somehow, the toolshed is putting your bundle into the 
"Pending Bundles" category when it should just accept it, since you are 
both a known user and editor for the bundle.  I did fix the traceback, 
so that should not happen anymore (stupid copy-and-paste error).  The 
next time you plan to submit a bundle, can you please record the steps? 
If the error happens again, the steps would be really helpful to 
recreate the problem here.

I've "declined" the pending app, since it seems to be up on the toolshed 
already and I was able to download it using a browser.  The traceback in 
ChimeraX on download should also be fixed in tomorrow's daily build.

Conrad

On 5/3/2017 9:18 AM, ChimeraX wrote:

comment:2 by Conrad Huang, 8 years ago

Resolution: can't reproduce
Status: assignedclosed

Bundle submission and approval seems to be working now. We can reopen if this happens again.

Note: See TracTickets for help on using tickets.