Giter VIP home page Giter VIP logo

Comments (3)

yashlamba avatar yashlamba commented on August 14, 2024

@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.

from handwrite.

GitHubKitten avatar GitHubKitten commented on August 14, 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>

from handwrite.

yashlamba avatar yashlamba commented on August 14, 2024

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.

from handwrite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.