Skip to content

utf-8' codec can't decode byte 0xff in position 0 #591

Closed
@scribas

Description

@scribas

Hi

I am suddenly unable to open my project. This bug sounds like a duplicate of issue #470. However, I downloaded version 0.9.0 with the hope of importing your solution for issue #470, but still getting the same error. I am not storing as a single file and tracking in git. I unfortunately have no idea which exact file is causing the problem. Running Linux Mint 19.1 on Linux Kernel 5.0.0-15.

Debug: Web rendering engine used: QWebEngineView
Running manuskript version 0.9.0.
Note: No translator found or loaded from system locale for locale en_ZA.
Detected file format version: 1. Zip: False.
Traceback (most recent call last):
  File "/usr/share/manuskript/manuskript/ui/welcome.py", line 146, in loadRecentFile
    self.mw.loadProject(act.data())
  File "/usr/share/manuskript/manuskript/mainWindow.py", line 565, in loadProject
    self.loadDatas(project)
  File "/usr/share/manuskript/manuskript/mainWindow.py", line 792, in loadDatas
    errors = loadSave.loadProject(project)
  File "/usr/share/manuskript/manuskript/loadSave.py", line 66, in loadProject
    v1.loadProject(project, zip=isZip)
  File "/usr/share/manuskript/manuskript/load_save/version_1.py", line 663, in loadProject
    files[os.path.join(p, f)] = fo.read()
  File "/home/scribas/anaconda3/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Fatal Python error: Aborted

Current thread 0x00007f809b5cd740 (most recent call first):
  File "/usr/share/manuskript/manuskript/main.py", line 145 in launch
  File "/usr/share/manuskript/manuskript/main.py", line 158 in run
  File "/usr/bin/manuskript", line 30 in <module>
Aborted (core dumped)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions