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

PShapeOBJ error String for missing MTL texture file #3990

Closed
stmaccarelli opened this Issue Oct 12, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@stmaccarelli

stmaccarelli commented Oct 12, 2015

When importing a OBJ file in PShape, if MTL file has a wrong filename/path in the texture definition, we simply get a generic:
"The File /Users/........./filename.ext is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable."
(That's the default Processing missing file string.)
And Processing IDE is unable to tell me in what line error occurred.

It would be much more useful if those error strings could tell you that the error is in the MTL file definition, or at least in PShape object, if not able to hightlight the line of code in which the error occurred.

@serebit

This comment has been minimized.

Show comment
Hide comment
@serebit

serebit Oct 12, 2015

This happens to me as well.
On Mon, Oct 12, 2015 at 1:29 PM Stefano Maccarelli notifications@github.com
wrote:

When importing a OBJ file in PShape, if MTL file has a wrong filename/path
in the texture definition, we simply get a generic:
"The File /Users/........./filename.ext is missing or inaccessible, make
sure the URL is valid or that the file has been added to your sketch and is
readable."
(That's the default Processing missing file string.)
And Processing IDE is unable to tell me in what line error occurred.

It would be much more useful if those error strings could tell you that
the error is in the MTL file definition, or at least in PShape object, if
not able to hightlight the line of code in which the error occurred.


Reply to this email directly or view it on GitHub
#3990.

serebit commented Oct 12, 2015

This happens to me as well.
On Mon, Oct 12, 2015 at 1:29 PM Stefano Maccarelli notifications@github.com
wrote:

When importing a OBJ file in PShape, if MTL file has a wrong filename/path
in the texture definition, we simply get a generic:
"The File /Users/........./filename.ext is missing or inaccessible, make
sure the URL is valid or that the file has been added to your sketch and is
readable."
(That's the default Processing missing file string.)
And Processing IDE is unable to tell me in what line error occurred.

It would be much more useful if those error strings could tell you that
the error is in the MTL file definition, or at least in PShape object, if
not able to hightlight the line of code in which the error occurred.


Reply to this email directly or view it on GitHub
#3990.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment