c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine

Home Page:http://sciter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot open file from commandline

bkauler opened this issue · comments

Hi, this works with your precompiled x86_64 html-notepad:

# ./html-notepad pupradiohelp.html

However, I have compiled from latest source, and get this:

# ./html-notepad pupradiohelp.html 
Error: View (View([object View])) has no method - argv
	at self.ready

I am compiling with gcc 9.3.0 and glibc 2.33

Clarification: the pre-compiled x86_64 for linux html-notepad in latest source has the above bug. So the bug is in the source code, it is not because of my compile environment.

Your pre-compiled html-notepad downloaded from html-notepad.com works. This one works:

https://html-notepad.com/dist/html-notepad-dist.tar.gz

Yeah, I downloaded b881a7a, June 9, 2019, html-notepad works correctly, opens the file from the commandline, without that error message.

f8003e1, April 17, 2020 works.
I jumped ahead to June 4, 2020, html-notepad is broken.
So a commit somewhere in between is the culprit.

Have narrowed it down to the day. This one is OK, May 9, 2020:

9c2da08

One of the commits on May 11 2020 breaks loading the file from the commandline.