Project Import error "ascii codec can't decode byte 0x89 in position 0:"

Hi all,
I tried to import a project folder (called “P10”) from a v2.15.0 instance into a v3.0.0 instance, however, it gives me the following error:
“ascii codec can’t decode byte 0x89 in position 0: ordinal not in”

Any ideas?

Best wishes,
Dan

Hi @mannda,

Can you give us the full logs from cryosparcm log command_core?

Thanks!

Hi @stephan,
here’s the log:

Indexing /Data/erc-3/ortiz/SPA/Smits_dimer/cryosparc/P10 ----
Base path:  /Data/erc-3/ortiz/SPA/Smits_dimer/cryosparc/P10
[IMPORT_PROJECT] : Importing project from /Data/erc-3/ortiz/SPA/Smits_dimer/cryosparc/P10
[IMPORT_PROJECT] :     Created project P5
[IMPORT_PROJECT] :     Inserting jobs into project...
[IMPORT_PROJECT] :     Uploading project image data...
[IMPORT_PROJECT] : Unable to import project from /Data/erc-3/ortiz/SPA/Smits_dimer/cryosparc/P10: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)

[POST-RESPONSE-THREAD ERROR 2020-12-09 20:59:12.556301 at import_project_run ]
Traceback (most recent call last):
  File "/Local/cryosparc/cryosparc_master/cryosparc_command/command_core/init.py", line 146, in run
    self.target(*self.args)
  File "/Local/cryosparc/cryosparc_master/cryosparc_command/command_core/init.py", line 3379, in import_project_run
    gridfs_data = pickle.load(openfile)

UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)
custom thread exception hook caught something
** handle exception rc
Traceback (most recent call last):
  File "/Local/cryosparc/cryosparc_master/cryosparc_compute/jobs/runcommon.py", line 1711, in run_with_except_hook
    run_old(args, **kw)
  File "/Local/cryosparc/cryosparc_master/cryosparc_command/command_core/init.py", line 146, in run
    self.target(self.args)
  File "/Local/cryosparc/cryosparc_master/cryosparc_command/command_core/init.py", line 3379, in import_project_run
    gridfs_data = pickle.load(openfile)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)

Same error on my side too. Had issues while updating cryosparc (Improper usage error while creating user) and after that got resolved, importing a project does not work. The workspaces are populated without any jobs in them. The log looks almost identical to what is posted above by @mannda

UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)

I see the same. Seems like a global issue/bug?

Hi @jelka, @vamsee, @mannda,

This is indeed a bug, and will be fixed in the next version of cryoSPARC, which should be released today. EDIT: cryoSPARC v3.0.1 has been released, which includes a fix to this bug.

2 Likes