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

Errors in libraries not reported and causes bad behavior #1690

Open
awgrover opened this issue Feb 16, 2019 · 1 comment
Open

Errors in libraries not reported and causes bad behavior #1690

awgrover opened this issue Feb 16, 2019 · 1 comment

Comments

@awgrover
Copy link

Environment

  • Scope: desktop IDE
  • Version: 0.26.1
  • OS: Ubuntu 16.04.5
  • Machine: x86_64 x86_64 x86_64 GNU/Linux 32GB

Steps to reproduce

  1. Get/have at least one working library in ~/xod/__libs__
  2. Confirm it is usable/accessible in XOD desktop ide.
  3. Create a bogus link in ~/xod/__libs__. e.g. ln -s /no/such/thing
  4. Open XOD Desktop IDE

Expected behavior

Report errors from loading libraries in "message" area (notification).

This is important to the more technical XOD library developers. It is very common, of course, to make errors while developing libraries. Then it becomes a guessing game as to the type of error that caused the silent failure.

Actual behavior

  • No libraries from __lib__ appear in the project-browser
  • No errors in developer console.
  • No errors in "message" area of IDE

Console output

None! I would at least expect some internal error.

How to fix

Presumably the internal code is throwing away the error without logging or report it.

Note that the XOD IDE is very sensitive to errors in libraries. All sorts of errors (bad names, bad .xodp, etc.) cause the library to be missing from the project-browser, and no error is reported anywhere. Hopefully, all these errors are thrown away in the same place so a single/few fixes can report them.

@nkrkv
Copy link
Member

nkrkv commented Feb 18, 2019

Thanks for the report. I can confirm it.

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

No branches or pull requests

2 participants