Opened 7 years ago

Closed 7 years ago

#1366 closed defect (fixed)

Chimerax bug

Reported by: edward.acki314@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Platform Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

down vote

https://askubuntu.com/questions/1083755/subprocess-installed-post-installation-script-returned-error-exit-status-1-posti/1084668#1084668

The problem occurred after I installed a poorly prepared install file 
for ucsf-chimerax, which resulted in the following error:

|Installdesktop menu andassociated mime types Traceback(most recent call 
last):File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/runpy.py",line 
193,in_run_module_as_main 
"__main__",mod_spec)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/runpy.py",line 
85,in_run_code 
exec(code,run_globals)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- 
packages/ChimeraX_main.py",line 802,in<module>    exit_code 
=init(sys.argv)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- 
packages/ChimeraX_main.py",line 601,ininit 
     run(sess,cmd)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- 
packages/chimerax/core/commands/run.py",line 31,inrun     results 
=command.run(text,log=log)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- 
packages/chimerax/core/commands/cli.py",line 2561,inrun     result 
=ci.function(session,**kw_args)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- 
packages/chimerax/core/commands/linux.py",line 19,ininstall 
     install(session,system=system)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- packages/chimerax/core/_xdg.py",line 421,ininstall     info =get_info(session,system)File"/usr/lib/ucsf-chimerax-daily/lib/python3.6/site- packages/chimerax/core/_xdg.py",line 474,inget_info     dists =pip.get_installed_distributions(local_only=True)AttributeError:module 'pip'has no attribute 'get_installed_distributions'dpkg:error processing package ucsf-chimerax-daily (--configure):installed ucsf-chimerax-daily package post-installation script subprocess returned error exit status 1Errorswere encountered whileprocessing:ucsf-chimerax-daily|

The program runs well and I don't have problems with it in the menu. 
Only the message is irksome. Every time I'm installing a new piece of 
software or upgrading packages, the error returns.

-- 
Kind regards
Kamil Łopuszański


Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedPlatform
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned

comment:2 by Greg Couch, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in the next daily release.

Note: See TracTickets for help on using tickets.