Package: seed-webkit2
Version: 4.0.0+20161014+6c77960+dfsg1-5
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I wrote a simple script (hello.js) that only contained: print('Hello');
I then ran the command: seed hello.js
I saw as output:
        {"message":"Unable to make argument 1 for function: build_filenamev. 
\n","name":"ArgumentError"}
        Hello

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I tried several other scripts, copying the code from examples.
I also tried running the command: seed -e "`cat hello.js`"

   * What was the outcome of this action?

All scripts produced the same error message before executing correctly.
However the command seed -e "`cat hello.js`" did not produce any error message, 
but rather produced the following output:
        Hello
        [undefined]


   * What outcome did you expect instead?

I expected seed to execute scripts correctly without any initial error message.
I expected the command seed -e "`cat hello.js`" to produce the output that I saw

   * Conclusion: seed appears to handle command line arguments wrongly when 
they are filenames of scripts to run

NOTE: I have just upgraded the package. This bug existed in the earlier version 
as well as in the current version.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages seed-webkit2 depends on:
ii  libc6           2.25-5
ii  libglib2.0-0    2.54.2-4
ii  libseed-gtk4-0  4.0.0+20161014+6c77960+dfsg1-5

seed-webkit2 recommends no packages.

seed-webkit2 suggests no packages.

-- no debconf information

Reply via email to