Modify

#163 closed Bug (No Bug)

Obsfuscator wrongly reporting error "File contains records longer than 2047"

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Cc:

Description

WinXP Home/Pro SP2
AutoIt Beta 3.2.11.1
Obsfuscator.exe (1.0.24.13) stops with the following error message.
!File contains records longer than 2047 .. stopping process.
!Ending Obfuscator program.
!>19:06:52 Obfuscator ended.rc:999
The longest line I have in "AutoTestManager.au3" is 319 characters and neither of the 2 custom include files, _os_file.au3 (Max line length 185 characters) and _os_TileUtilities.au3 (Max line length 207 characters) I've experimented with shortening the longer lines using concatenation and continuation lines but the problem persists.

If I turn Obfuscator off the the file compiles and runs OK. I've not had any problems with other files so it would seem that there is something specific in the formatting of this file that is confusing Obsfuscator. I don't believe it's anything to do with the 2 custom include files as I've used those elsewhere without problems.

AutoTestManager.au3 and the 2 custom includes are attached.

Full console output from SciTe4AutoIt

>"X:\Autoit3\Scite\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /in "X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\AutoTestManager.au3" /autoit3dir "X:\Autoit3openpath.*.au3=\include\beta"
+>19:30:18 Starting AutoIt3Wrapper v.1.10.1.6    Environment(Language:0409  Keyboard:00000809  OS:WIN_XP/Service Pack 2  CPU:X86)
> Running:MKDIR "X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\Release"
A subdirectory or file X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\Release already exists.
>Running Tidy (2.0.23.10)  from:X:\Autoit3\\SciTE\tidy
DOC_FileName$:x:\autoit3data\scripts\autotest\autotestmanager\autotestmanager_tidy.txt
+>19:30:21 Tidy ended.rc:0
>Running AU3Check (1.54.13.0)  params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6  from:X:\Autoit3\Beta
+>19:30:21 AU3Check ended.rc:0
>Running Obfuscator (1.0.24.13)  from:X:\Autoit3\\SciTE cmdline:/Beta
!File contains records longer than 2047 ..  stopping process.
!Ending Obfuscator program.
!>19:30:22 Obfuscator ended.rc:999
>Running AU3Check for obfuscated file(1.54.13.0)  params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6  from:X:\Autoit3\Beta
Error : couldn't open input file: X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\AutoTestManager_Obfuscated.au3
!>19:30:22 AU3Check Obfuscated code ended.rc:3
>Exit code: 0    Time: 15.342


Attachments (2)

AutoTestManager.au3 (35.4 KB ) - added by bowmore on Mar 9, 2008 at 7:33:40 PM.
Script causing problem with Obsfuscator.exe
Custom_Include.zip (7.8 KB ) - added by Bowmore on Mar 9, 2008 at 7:34:43 PM.
Custom Includes required by AutoTestManager.au3

Download all attachments as: .zip

Change History (4)

by bowmore, on Mar 9, 2008 at 7:33:40 PM

Attachment: AutoTestManager.au3 added

Script causing problem with Obsfuscator.exe

by Bowmore, on Mar 9, 2008 at 7:34:43 PM

Attachment: Custom_Include.zip added

Custom Includes required by AutoTestManager.au3

comment:1 by Jos, on Mar 9, 2008 at 7:40:58 PM

The SQLite.dll.au3 include file has longer records and thats why you get this error.

comment:2 by Jos, on Mar 12, 2008 at 7:38:43 PM

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.