Cannot reopen saved file

Software: Other

Thomas Weiss, Jr. Member
Posted: 06 August 2013 04:42 AM   Total Posts: 35

Hi there,

I’ve spent some time preparing a model using AwayBuilder and just found out that I cannot reopen it. It throws an “error #2030” and the UI gets… funky!
The file is enclosed.

Thanks in advance.
Thomas

 

File Attachments
GoogleGlass.awd  (File Size: 220KB - Downloads: 367)
   

Avatar
theMightyAtom, Sr. Member
Posted: 06 August 2013 07:55 AM   Total Posts: 669   [ # 1 ]

Ur download link doesn’t work, maybe better to zip it?
(as in compress, no shut up wink)

 

   

Thomas Weiss, Jr. Member
Posted: 06 August 2013 07:58 AM   Total Posts: 35   [ # 2 ]

Thanks for trying to have a look! I’ve zipped the file, here enclosed.

 

File Attachments
GoogleGlass.zip  (File Size: 220KB - Downloads: 384)
   

Avatar
theMightyAtom, Sr. Member
Posted: 06 August 2013 08:14 AM   Total Posts: 669   [ # 3 ]

Unfortunately I can only confirm the error and said funkiness.
Let’s hope one of the devs can shed some light on the error type.

One could download the source for AwayBuilder, and search for the error code? Probably won’t help much, but the only thing I can think of.

Good Luck!

EDIT: I’ve now tried 3 times to download the source, but I get a network error every time. If you can download and compile in Debug mode you might be able to see where things go wrong.

Finally got the repository cloned from GitHub, but it’s an unhandled Flash error.
http://stackoverflow.com/questions/5493670/how-can-i-catch-and-or-deal-with-error-2030-end-of-file-was-encountered-on-a

 

   

Thomas Weiss, Jr. Member
Posted: 07 August 2013 06:28 AM   Total Posts: 35   [ # 4 ]

Thanks for your efforts! So that would mean that the error happened when saving the file at first. I’ll open an issue on github.

 

   

Avatar
80prozent, Sr. Member
Posted: 07 August 2013 11:11 AM   Total Posts: 430   [ # 5 ]

Hi
Unfortunally, i will not be at my pc for another 3days.
I will have a look whats going on there as soon as i am back at my pc.
I hate 2030….
.

 

 Signature 

sorry…i hope my actionscript is better than my english…

   

Thomas Weiss, Jr. Member
Posted: 09 August 2013 03:10 AM   Total Posts: 35   [ # 6 ]

Hi,

No problem, I will wait for your feedback.
It just happened to me again, with a different model. So not sure whether it is a bug or some wrong usage I’m doing.

Thanks

 

   

Avatar
80prozent, Sr. Member
Posted: 11 August 2013 01:57 PM   Total Posts: 430   [ # 7 ]

Hi Thomas

I found the problem

The problem is, that one of your embed textures is very small (under 100 bytes). Before parsing any data, away3d test for all parsers if they support the given data, and is using the first parser that returns true for this test.
The AWD1parser was using the first 100 bytes of any data to check if its awd1 data, so when trying to test if it is the parser to use for the texture-data, it would crash (since the texture-data is smaller than 100 bytes)

However, i fixed this in the AWD1parser, and your googleglass.awd should open fine in the next version of AwayBuilder.

I fixed your file, by making the small texture a littlebit bigger in data-size (>100bytes), so it opens with the current AwayBuilder-version.

http://differentdesign.de/downloads/GoogleGlass2.zip

please test if this works for you.

cheers

Robin

 

 

 Signature 

sorry…i hope my actionscript is better than my english…

   

Thomas Weiss, Jr. Member
Posted: 12 August 2013 01:42 AM   Total Posts: 35   [ # 8 ]

Hi Robin,

I can’t thank you enough for looking at the issue, it’s quite a relief that the bug can be easy bypassed for now.

Indeed, I used a tiny texture as a mask for an envmap effect. Actually I’m not sure why such a mask is mandatory - I never used any when dealing with envmaps in Prefab3D. Is there another way to do it?

Thanks again,
Thomas

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X