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

Copy to Documents fails with TypeError #853

Closed
quozl opened this issue Aug 14, 2019 · 1 comment
Closed

Copy to Documents fails with TypeError #853

quozl opened this issue Aug 14, 2019 · 1 comment

Comments

@quozl
Copy link
Contributor

quozl commented Aug 14, 2019

Traceback (most recent call last):
  File "/usr/lib/python3.7/dist-packages/jarabe/journal/palettes.py", line 398, in __copy_to_volume_cb
    model.copy(metadata, self._mount_point)
  File "/usr/lib/python3.7/dist-packages/jarabe/journal/model.py", line 700, in copy
    ready_callback=ready_callback)
  File "/usr/lib/python3.7/dist-packages/jarabe/journal/model.py", line 740, in write
    metadata, file_path, ready_callback=ready_callback)
  File "/usr/lib/python3.7/dist-packages/jarabe/journal/model.py", line 859, in _write_entry_on_external_device
    os.write(fh, metadata_json)
TypeError: a bytes-like object is required, not 'str'

Object being copied was from Browse activity.

@quozl
Copy link
Contributor Author

quozl commented Sep 3, 2019

Fixed in 68321ff

@quozl quozl closed this as completed Sep 3, 2019
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