History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-2754
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P2 P2
Assignee: Phill Apley
Reporter: Jim Grandy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Noughts/DHTML: file not found: nought.png

Created: 25/Sep/06 11:23 AM   Updated: 13/Dec/06 03:53 PM
Component/s: SA - General
Affects Version/s: Legals PR3
Fix Version/s: 4.0.0

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

Severity: Blocker
Runtime: N/A
Fix in hand: False

Sub-Tasks  All   Open   

 Description  « Hide
Loading this url:

http://localhost:8080/legals/demos/noughts/noughts.lzx?lzr=dhtml

I get this compile error:

noughts.lzx:17:51: file not found: nought.png

Lines 17-24 of noughts.lzx are:

    <resource name="noughtImg" src="nought.swf" />
    <resource name="crossImg" src="cross.swf" />
    <resource name="hashImg" src="woody.swf" />
    <resource name="vicLineVertImg" src="vert_line.swf" />
    <resource name="vicLineHorizImg" src="horiz_line.swf" />
    <resource name="vicLineForSlashImg" src="for_slash_line.swf" />
    <resource name="vicLineBakSlashImg" src="bak_slash_line.swf" />
    <resource name="dialogBox" src="dialog.swf" />


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jim Grandy - 25/Sep/06 10:48 PM
demos/weather has this problem as well.

Error: weather_component.lzx:209:44: file not found: assets/poweredby.png

Max Carlson - 28/Sep/06 02:43 PM
FYI, the compiler will already read multiple frames if the resource is just a directory name with a trailing slash - see lps/includes/lfc/test/animation.lzx for an example.

Benjamin Shine - 27/Nov/06 07:14 PM
Submitted a change for review, http://svn.openlaszlo.org/openlaszlo/patches/20061127-ben-r.tar
The weather problem has been fixed in some earlier build. The weather assets load correctly in r2682.

Benjamin Shine - 04/Dec/06 04:22 PM
My fix for this isn't the right way to do it; it should "just work" with the resource loading changes.

Phill Apley - 13/Dec/06 03:53 PM
Fixed with resource loading patches.