Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Cannot open file from commandline #225

Open
bkauler opened this issue Oct 20, 2022 · 4 comments
Open

Cannot open file from commandline #225

bkauler opened this issue Oct 20, 2022 · 4 comments

Comments

@bkauler
Copy link

bkauler commented Oct 20, 2022

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
Copy link
Author

bkauler commented Oct 20, 2022

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
Copy link
Author

bkauler commented Oct 20, 2022

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

@bkauler
Copy link
Author

bkauler commented Oct 20, 2022

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.

@bkauler
Copy link
Author

bkauler commented Oct 20, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant