Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1760 closed defect (duplicate)

UnicodeDecodeError installing ISOLDE

Reported by: fage.cd@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Tool Shed Version:
Keywords: Cc: Tristan Croll
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17134
ChimeraX Version: 0.8 (2018-12-17)
Description
Attempted to install ISOLDE plugin for ChimeraX.

Log:
Startup Messages  
---  
note | available bundle cache has not been initialized yet  
  
UCSF ChimeraX version: 0.8 (2018-12-17)  
How to cite UCSF ChimeraX  
Updating list of available bundles failed: 'list' object has no attribute
'split'  
Downloading bundle ChimeraX_ISOLDE-1.0b2-cp36-cp36m-win_amd64.whl  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\widgets\htmlview.py", line 386, in download_finished  
session=self.session)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 548, in install_bundle  
results = self._pip_install(bundle, per_user=per_user, reinstall=reinstall)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 845, in _pip_install  
results = self._run_pip(command)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 863, in _run_pip  
output = cp.stdout.decode("utf-8")  
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 46:
invalid start byte  
  
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 46:
invalid start byte  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 863, in _run_pip  
output = cp.stdout.decode("utf-8")  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 419.17
OpenGL renderer: GeForce GTX 1070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Attachments (3)

error.png (50.0 KB ) - added by fage.cd@… 7 years ago.
Added by email2trac
Error.txt (2.7 KB ) - added by fage.cd@… 7 years ago.
Added by email2trac
__init__.py (48.7 KB ) - added by fage.cd@… 7 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (10)

comment:1 by Eric Pettersen, 7 years ago

Cc: Tristan Croll added
Component: UnassignedTool Shed
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUnicodeDecodeError installing ISOLDE

This is a known bug affecting ChimeraX 0.8 in Windows. Please see ​https://isolde.cimr.cam.ac.uk/faq/#installation for a workaround. Sorry for the hassle!

comment:2 by Eric Pettersen, 7 years ago

Resolution: duplicate
Status: assignedclosed

in reply to:  3 ; comment:3 by fage.cd@…, 7 years ago

Hello,

I tried following the instructions in the link, but I'm having trouble
granting write access to the file __init__.py (see attached), even though
the "read only" box of the .py file is not ticked. Am I missing something?
Thanks!

Best wishes,
Chris

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Mar 9, 2019 at 12:16 AM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

error.png

by fage.cd@…, 7 years ago

Attachment: error.png added

Added by email2trac

in reply to:  5 comment:4 by tic20@…, 7 years ago

If you right-click on the icon when starting your editor, you should see the option to “run as Administrator”. That should allow you to save your changes.

 


in reply to:  6 ; comment:5 by fage.cd@…, 7 years ago

Hello,

Sorry for the very slow reply. I am still seeing an error (see attached),
even though I altered my __init__.py file (also attached). Am I missing
something obvious? Thank you!

Best wishes,
Chris



<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Mar 9, 2019 at 7:37 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

Error.txt

__init__.py

by fage.cd@…, 7 years ago

Attachment: Error.txt added

Added by email2trac

by fage.cd@…, 7 years ago

Attachment: __init__.py added

Added by email2trac

in reply to:  9 ; comment:6 by tic20@…, 7 years ago

Did you previously (or did you this time) attempt to install ISOLDE "For 
everybody" rather than "Just me"? If the former, you'll need to be 
running ChimeraX as administrator to do the installation (and possibly 
the very first time you run ISOLDE).

On 2019-04-11 18:20, ChimeraX wrote:

in reply to:  10 comment:7 by fage.cd@…, 7 years ago

Hello,

Running ChimeraX as admin and proceeding with the installation seems to
have done the trick. Thank you!

Best regards,
Chris

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Thu, Apr 11, 2019 at 6:45 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

Note: See TracTickets for help on using tickets.