sciter-sdk / quark

Sciter Application Packager
https://quark.sciter.com
13 stars 2 forks source link

Cannot Assemble Project in Linux #2

Open renatoathaydes opened 4 years ago

renatoathaydes commented 4 years ago

I am trying Quark on Ubuntu but all I get is errors.

Here's a sample output I get in the CLI while running it as shown in the tutorial (http://quark.sciter.com/quark-application-samples/hello-world/).


(scapp:7908): GLib-CRITICAL **: 21:07:46.898: Source ID 8413 was not found when attempting to remove it

(scapp:7908): GLib-CRITICAL **: 21:08:01.496: Source ID 8601 was not found when attempting to remove it
WARNING:Task ended with unhandled error:
        at LogRunner.clear (file:///home/renato/programming/programs/Sciter/quark/utils.tis(88))
        at assemble (file:///home/renato/programming/programs/Sciter/quark/package.tis(102))

Error: Element (Element({deleted})) has no method - update
        at LogRunner.clear (file:///home/renato/programming/programs/Sciter/quark/utils.tis(88))
        at assemble (file:///home/renato/programming/programs/Sciter/quark/package.tis(102))

Error: (undefined) has no property - length
        at ProjectView.validate (file:///home/renato/programming/programs/Sciter/quark/index.tis(75))
        at  (file:///home/renato/programming/programs/Sciter/quark/index.tis(130))

Error: (undefined) has no property - length
        at ProjectView.validate (file:///home/renato/programming/programs/Sciter/quark/index.tis(75))
        at  (file:///home/renato/programming/programs/Sciter/quark/index.tis(130))

Error: (undefined) has no property - length
        at ProjectView.validate (file:///home/renato/programming/programs/Sciter/quark/index.tis(75))
        at  (file:///home/renato/programming/programs/Sciter/quark/index.tis(130))

WARNING:Task ended with unhandled error:
        at LogRunner.clear (file:///home/renato/programming/programs/Sciter/quark/utils.tis(88))
        at assemble (file:///home/renato/programming/programs/Sciter/quark/package.tis(102))

Error: Element (Element({deleted})) has no method - update
        at LogRunner.clear (file:///home/renato/programming/programs/Sciter/quark/utils.tis(88))
        at assemble (file:///home/renato/programming/programs/Sciter/quark/package.tis(102))

After restarting the app, tried again, and it showed this error in the UI:

/home/renato/programming/programs/Sciter/bin.lnx/x64/../packfolder /home/renato/programming/experiments/quark/src /home/renato/programming/experiments/quark/bin/myapp.dat -binary
Error: Wrong type - null, expected instance of float,integer
    at LogRunner.run (file:///home/renato/programming/programs/Sciter/quark/utils.tis(79))
    at packageResources (file:///home/renato/programming/programs/Sciter/quark/package.tis(69))
c-smile commented 4 years ago

What Sciter SDK do you use?

Could you try latest one (4.4.3.21) ?

c-smile commented 4 years ago

Fixed by: https://github.com/c-smile/sciter-sdk/commit/aa56ae0a68308669204279fa7bbf0edd119210dd

renatoathaydes commented 4 years ago

I've just downloaded it from https://sciter.com/download/ so I suppose it's the latest version.