question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An exception is thrown if binvox is not in the PATH

See original GitHub issue

I think there is a bug in the trimesh/exchange/binvox.py file. If binvox executable is not in the path and the path is passed as a parameter, then an exception is thrown. I think the line should have the following code:

if binvox_path is None:
  raise IOError(
    'No `binvox_path` provided, and no binvox executable found '
    'on PATH. \nPlease go to https://www.patrickmin.com/binvox/ and '
    'download the appropriate version.')

binvox_encoder is set in the line by a function that searches for the binvox executable in the PATH env that is not set!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mikedhcommented, Oct 12, 2020

Should be released now!

0reactions
amba86commented, Oct 11, 2020

Thanks a lot for this! When is the next release planned?

Read more comments on GitHub >

github_iconTop Results From Across the Web

trimesh/binvox.py at master
if not line.startswith(binvox):. raise IOError('Not a binvox file'). shape = tuple(. int(s) for s in fp.readline().strip().split(space)[1:]).
Read more >
InputStream returns unexpected -1/empty - java
I have checked the file, and it does contain plenty of data after the strings. InputStreamReader is = new InputStreamReader(in); BufferedReader ...
Read more >
Offline Ship Editor
You got importing binvox completely flawless - it was loading everything I threw at it! However, I was unable to save ships longer...
Read more >
[binvox] 3D mesh voxelizer - Patrick Min
binvox is a straight-forward program that reads a 3D model file, rasterizes it into a binary 3D voxel grid, and writes the resulting...
Read more >
trimesh.exchange.binvox — trimesh 3.17.1 documentation
dimension (voxel grid size (max 1024 when not using exact)) –. file_type (str) – ... The default looks for an executable called binvox...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found