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

Test resources issues #323

Closed
girivs82 opened this issue Jun 9, 2018 · 1 comment
Closed

Test resources issues #323

girivs82 opened this issue Jun 9, 2018 · 1 comment

Comments

@girivs82
Copy link

girivs82 commented Jun 9, 2018

Running tests in nimx crashes in macos. Looks like some resources are not loading.

Shankars-iMac:nimx-0.1 giri$ ./test/main
2018-06-08 22:54:30.465 main[10712:250942] Program linked: WARNING: Output of vertex shader 'vPos' not read by fragment shader
2018-06-08 22:54:33.645 main[10712:250942] main.nim(64, 26): RUNNING sendMouseDownEvent(mainWindow, newPoint(50, 60))
2018-06-08 22:54:34.150 main[10712:250942] main.nim(65, 24): RUNNING sendMouseUpEvent(mainWindow, newPoint(50, 60))
2018-06-08 22:54:34.152 main[10712:251355] Could not load url: file:///Users/giri/.nimble/pkgs/nimx-0.1/Resources/cat.jpg
2018-06-08 22:54:34.152 main[10712:251355] Error: Could not open file: /Users/giri/.nimble/pkgs/nimx-0.1/Resources/cat.jpg
Traceback (most recent call last)
worker_queue.nim(36) threadWorker
image.nim(435) loadResourceThreaded
url_stream.nim(33) openStreamForUrl
url_stream.nim(52) :anonymous
image.nim(439) :anonymous
streams.nim(95) readAll
streams.nim(87) readData
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

@s0kil
Copy link

s0kil commented Aug 8, 2018

SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Do you have correct file permissions?

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

No branches or pull requests

2 participants