Tuesday, August 28, 2012

Parsing error after update WebCore Elemental

I updated WebCore (third_party) from de Dart Project and when run build script the following error occurs:

Traceback (most recent call last):
  File "./scripts/elemental_fremontcutbuilder.py", line 217, in <module>
    sys.exit(main())
  File "./scripts/elemental_fremontcutbuilder.py", line 214, in main
    return build_database(idl_files, database_dir)
  File "./scripts/elemental_fremontcutbuilder.py", line 139, in build_database
    builder.import_idl_file(file_name, webkit_options)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/databasebuilder.py", line 474, in import_idl_file
    idl_file = self._load_idl_file(file_path, import_options)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/databasebuilder.py", line 88, in _load_idl_file
    raise RuntimeError('Failed to load file %s: %s' % (file_name, e))
RuntimeError: Failed to load file ./scripts/../third_party/WebCore/html/canvas/Int8Array.idl: At line 37 offset 26: Expected "]" or "(" or "," but "c" found: "        TypedArray=signed char"
Traceback (most recent call last):
  File "./scripts/elementaldomgenerator.py", line 164, in <module>
    sys.exit(main())
  File "./scripts/elementaldomgenerator.py", line 155, in main
    database_dir, use_database_cache)
  File "./scripts/elementaldomgenerator.py", line 120, in GenerateDOM
    systems = systems)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/elementalgenerator.py", line 279, in Generate
    self.PopulateMixinBase(self._database.GetInterface('ElementalMixinBase'), mixins)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/database.py", line 188, in GetInterface
    raise RuntimeError('Interface %s is not loaded' % interface_name)
RuntimeError: Interface ElementalMixinBase is not loaded

-------------------------------------------------------------------------------------------------------------------------------
File /../third_party/WebCore/html/canvas/Int8Array.idl:

module html {
    interface [
        ConstructorTemplate=TypedArray,
        ConstructorParameters=1,
        NumericIndexedGetter,
        CustomIndexedSetter,
        JSGenerateToNativeObject,
        JSNoStaticTables,
        CustomToJSObject,
        DoNotCheckConstants,
        TypedArray=signed char
    ] Int8Array : ArrayBufferView {
        const unsigned long BYTES_PER_ELEMENT = 1;

        readonly attribute unsigned long length;
        Int8Array subarray(in [Optional=DefaultIsUndefined] long start,
                           in [Optional] long end);

        // void set(in Int8Array array, [Optional] in unsigned long offset);
        // void set(in sequence<long> array, [Optional] in unsigned long offset);
        void set();
    };
}

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qaYWazWhwX8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment