sciter-sdk icon indicating copy to clipboard operation
sciter-sdk copied to clipboard

Cannot open file from commandline

Open bkauler opened this issue 3 years ago • 4 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

bkauler avatar Oct 20 '22 10:10 bkauler

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

bkauler avatar Oct 20 '22 12:10 bkauler

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

bkauler avatar Oct 20 '22 12:10 bkauler

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

bkauler avatar Oct 20 '22 13:10 bkauler

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

9c2da081c6c79034f86a49b008d2fe289086a514

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

bkauler avatar Oct 20 '22 14:10 bkauler