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

Travis fails on write .laz #57

Open
brycefrank opened this issue Aug 9, 2019 · 0 comments
Open

Travis fails on write .laz #57

brycefrank opened this issue Aug 9, 2019 · 0 comments
Assignees
Labels
File I/O Issues inputting and exporting files.

Comments

@brycefrank
Copy link
Owner

======================================================================

ERROR: test_write (pyfortest.test_pyfor.LAZCloudTestCase)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/brycefrank/pyfor/pyfortest/test_pyfor.py", line 171, in setUp

    self.test_cloud = cloud.Cloud(test_laz)

  File "/home/travis/build/brycefrank/pyfor/pyfor/cloud.py", line 88, in __init__

    las = laspy.file.File(self.filepath)

  File "/home/travis/miniconda/envs/pyfor_env/lib/python3.7/site-packages/laspy/file.py", line 64, in __init__

    self.open()

  File "/home/travis/miniconda/envs/pyfor_env/lib/python3.7/site-packages/laspy/file.py", line 75, in open

    self._reader = base.Reader(self.filename, mode=self._mode)

  File "/home/travis/miniconda/envs/pyfor_env/lib/python3.7/site-packages/laspy/base.py", line 273, in __init__

    self.setup_read_write(vlrs,evlrs, read_only=True)

  File "/home/travis/miniconda/envs/pyfor_env/lib/python3.7/site-packages/laspy/base.py", line 321, in setup_read_write

    self.data_provider.point_map()

  File "/home/travis/miniconda/envs/pyfor_env/lib/python3.7/site-packages/laspy/base.py", line 176, in point_map

    count=self.manager.header.point_records_count)

TypeError: a bytes-like object is required, not 'FakeMmap'
@brycefrank brycefrank self-assigned this Aug 9, 2019
@brycefrank brycefrank added the File I/O Issues inputting and exporting files. label Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
File I/O Issues inputting and exporting files.
Projects
None yet
Development

No branches or pull requests

1 participant