Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This app can't run on your PC #87

Open
GitHubKitten opened this issue Apr 28, 2024 · 3 comments
Open

This app can't run on your PC #87

GitHubKitten opened this issue Apr 28, 2024 · 3 comments

Comments

@GitHubKitten
Copy link

When trying to run handwrite, after having installed all the required other things, I get the message:

"This app can't run on your PC"

i.e. as a Blue Windows 10 information window.

Since there is no .exe file, I can't set to run in configuration mode.

Please help.

@yashlamba
Copy link
Member

@GitHubKitten, handwrite is just a CLI tool and isn't packaged as an application. You can't run it as any other application on windows.

@GitHubKitten
Copy link
Author

GitHubKitten commented May 1, 2024

Thanks. I am trying to run it from cmd prompt now. But it's not working, I can an error. Here is the cmd prompt messages (please note I am not a developer). Can you see what the error is and how to fix it? To clarify, this is the command I used: "handwrite C:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts\handwrite.jpg C:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts"

See the full cmd dialogue below:

c:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts>handwrite C:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts\handwrite.jpg C:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "c:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts\handwrite.exe_main
.py", line 7, in
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\site-packages\handwrite\cli.py", line 56, in main
converters(
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\site-packages\handwrite\cli.py", line 34, in converters
run(sheet, output_directory, directory, config, metadata)
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\site-packages\handwrite\cli.py", line 14, in run
SVGtoTTF().convert(characters_dir, output_directory, config, metadata)
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\site-packages\handwrite\svgtottf.py", line 28, in convert
subprocess.run(
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

c:\Users\Name\AppData\Local\Programs\Python\Python311\Scripts>

@yashlamba
Copy link
Member

Looks like you don't have fontforge installed correctly, make sure you enable scripting when installing. If I remember correctly, it comes up as an option when installing.

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

No branches or pull requests

2 participants