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

No user feedback when reading file fail #1

Open
thomthom opened this issue Nov 16, 2017 · 2 comments
Open

No user feedback when reading file fail #1

thomthom opened this issue Nov 16, 2017 · 2 comments
Labels

Comments

@thomthom
Copy link
Owner

When a file fails to be read, for instance because it contains non-ASCII characters, there is not user feedback.

@thomthom
Copy link
Owner Author

http://extensions.sketchup.com/en/comment/30026#comment-30026

Thanks for designing this plugin. I had a similar symptoms to what Denver R had, but I was able to discover my problem. The plugin fails reading the bitmap header when a 32-bit bitmap with alpha channel was generated (I used GIMP to do my bitmap conversion / save), but works fine with a 24-bit bitmap. You may wish to have the plugin specify that only 24-bit (or perhaps 16) is supported, as there are multiple bitmap formats. GIMP (and perhaps other tools) may default to the 32-bit bitmap.

When this occurs, the Ruby Console generates an error claiming the header error, but still progresses, allowing you to select a width (with a nil computed length). Then, upon selecting a depth, it throws another error, but still waits for you to select a depth, as if the plugin is hung, but SketchUp remains responsive.

Therefore, it may help to generate a pop-up error or simply advertise support for specific bitmap types. Thanks again for the plugin, nice job!

Adam

@thomthom thomthom added the bug label Feb 18, 2018
@thomthom
Copy link
Owner Author

Should be possible to read files with non-ASCII characters in the filename.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant