Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating py3o document #5

Closed
tonthon opened this issue Nov 1, 2020 · 0 comments
Closed

Error generating py3o document #5

tonthon opened this issue Nov 1, 2020 · 0 comments

Comments

@tonthon
Copy link
Member

tonthon commented Nov 1, 2020

  File "/usr/lib64/python3.8/zipfile.py", line 1816, in writestr
    with self.open(zinfo, mode='w') as dest:
  File "/usr/lib64/python3.8/zipfile.py", line 1517, in open
    return self._open_to_write(zinfo, force_zip64=force_zip64)
  File "/usr/lib64/python3.8/zipfile.py", line 1614, in _open_to_write
    self.fp.write(zinfo.FileHeader(zip64))
TypeError: string argument expected, got 'bytes'
Exception ignored in: <function ZipFile.__del__ at 0x7f88eff1bc10>
Traceback (most recent call last):
  File "/usr/lib64/python3.8/zipfile.py", line 1821, in __del__
    self.close()
  File "/usr/lib64/python3.8/zipfile.py", line 1839, in close
    self._write_end_record()
  File "/usr/lib64/python3.8/zipfile.py", line 1943, in _write_end_record
    self.fp.write(endrec)
TypeError: string argument expected, got 'bytes'

@tonthon tonthon closed this as completed in b9032ca Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant