swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Swfc return codes


From: Tyn
Subject: Re: [Swftools-common] Swfc return codes
Date: Tue, 04 Sep 2007 16:43:19 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

It was worth a try, but even with swfc 0.8.1_1, the error still happen.

I've confirmed that it didn't fail using Windows XP or under Linux.

Test versions:

Linux (working) :
Linux tynux 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux (Ubuntu)
swfc - part of swftools 0.8.1

Windows (working) :
Windows XP SP2
swfc - part of swftools 2007-02-06-1213

FreeBSD (failing) :
FreeBSD games.ankama.lan 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 address@hidden:/usr/obj/usr/src/sys/SMP amd64
swfc - part of swftools 0.8.1

Any idea is welcome.
After investigation, there is an error message:

"fatal flex scanner internal error--end of buffer missed"

I've got this message using swfc 0.8.1 under FreeBSD. No issue using swfc 2007-02-06-1213 under Windows XP. As far as I know, the 0.8.1 is the last version under FreeBSD using the Port system. I'll try to recompile a version with the latest sources.
After a very helpful mail exchange with Matthias (thanks again), this issue was "resolved" by splitting the huge AS block in shorter blocks like :

.action:
 (part 1)
.end
.action:
 (part 2)
.end

It worked like a charm, until today... Where I met another strange output code! The symptoms are the same as before: large SC file, huge AS part, no error display, a "apparently" valid SWF file on the output, and a return code of... 2. And after a short look at the source code, I wasn't able to see any exit(2) or return 2 from the main.

Hoping for another easy answer like for the previous issue :)

Thank you again.
Hi everyone,

I'm new to this mailing list but have been using Swftools everyday for the longest time.

Up to now, I assumed that swfc returned 0 when successful, and 1 when not. But today, it started to return 1 while compiling a large SC file containing a huge part of ActionScript. But the --verbose mode doesn't display anything, and everything else seems just fine.

Therefore, the output file seems okay, and the AS code is valid (it compile using Macromedia compiler).

So I wonder : what are the return codes of swfc? Is my output file really ok, or is it erroneous? I have to be sure of the validity of the file before using it in a production environment.

Thank you !






reply via email to

[Prev in Thread] Current Thread [Next in Thread]