Problem loading certain images

Hie.

I’ve been trying to make animations with the SDK.
I can’t seem to get the movieclip example working for some reason.
When I load it I can see the background in the simulator but the SDK can’t seem to find the cube .png’s and crashes.

I get similar problems in other apps I’m developing when trying to load certain png files as images although I can see them in the finder and I can open them in every other app.

this is the output from the terminal. -

Copyright © 2009-2010 A n s c a , I n c .
Version: 2.0.0
Build: 2010.243
The file sandbox for this project is located at the following folder:
(/Users/manjero/Library/Application Support/Corona Simulator/iKululu-0B18482B173F74545F11D2A291C3B8D3)
We are connected
ERROR: The resource file (Assets/Images/tounge1.png) could not be found at case-sensitive path (/Users/manjero/Desktop/new/Lua/iKululu/Assets/Images/tounge1?.?png).
WARNING: Cannot create path for resource file ‘Assets/Images/tounge1.png’. File does not exist.

WARNING: Failed to find image(Assets/Images/tounge1.png)
Runtime error
assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
?: in function <?:518>
(tail call): ?
/Users/manjero/Desktop/new/Lua/iKululu/main.lua:116: in main chunk
Runtime error: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
?: in function <?:518>
(tail call): ?
/Users/manjero/Desktop/new/Lua/iKululu/main.lua:116: in main chunk


Thanks in advance,
Shahar Zrihen [import]uid: 13553 topic_id: 4816 reply_id: 304816[/import]

Not sure if this will help with the movie clip problem but your image loading sounds like an issue I had myself.

I get that error when I use Image Mode Greyscale on images within Photoshop. I put them in RGB Mode and then it loads fine.

Don’t know what photo editor you’re using but you might try looking for any option for 24 bit colour palette on the image, resave it and see if it helps. [import]uid: 11393 topic_id: 4816 reply_id: 15429[/import]

My main concern is that I have the same issues with the supplied examples like “Movieclip” and others.

It won’t load the images supplied with them - all the cube png’s are not loading at all. [import]uid: 13553 topic_id: 4816 reply_id: 15440[/import]

are you sure the filename is correct? eg should it be

“tongue1.png”
“Tounge1.png”

etc

rather than what you have “tounge1.png”

remember it will also be case sensitive [import]uid: 6645 topic_id: 4816 reply_id: 15449[/import]

As I said,
I’m having issues running the pre-packaged examples as well…
Samples that are supposed to be working.

I’ve also tried to use copy paste for image names and still to no avail.

Anybody else had this issue?

Shahar [import]uid: 13553 topic_id: 4816 reply_id: 15451[/import]

are you using “Case Sensitive/Journaled file system for data volumes” on your operating system? could this be the issue? [import]uid: 6645 topic_id: 4816 reply_id: 15455[/import]

jmp909 - Maybe.
I don’t know that issue. I’m a PC user and I only use Mac for iphone development. on system profiler it tells me that the file system is Mac OS Extended (Journaled).

Is that good news or bad news?
What should I do / Check?

Shahar [import]uid: 13553 topic_id: 4816 reply_id: 15456[/import]

jmp909 - It’s not journaling. I’ve tried turning it on and off and still no change.

I’m been having these issues with many apps - the provided examples that come with the sdk, my own apps and d/l samples apps from the web like ghosts vs monsters, jungle scene and more.

Anybody knows / had this issue? [import]uid: 13553 topic_id: 4816 reply_id: 17965[/import]