modly icon indicating copy to clipboard operation
modly copied to clipboard

never launches

Open stutteringp0et opened this issue 8 months ago • 7 comments

[PythonSetup] Creating venv at /home/michael/.config/Modly/venv Uncaught exception: Error: spawn /tmp/.mount_Modly-tMyw10/resources/python-embed/bin/python3 ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [Renderer] Unhandled promise rejection: Error: Error invoking remote method 'setup:run': reply was never sent

Black window appears, "Setting up environment..." and the progress bar never moves. I let it sit for hours.

stutteringp0et avatar Mar 20 '26 15:03 stutteringp0et

This usually means the bundled Python was not properly extracted or is not accessible.

Could you try:

Re-downloading and reinstalling the application

Making sure the AppImage has execution permissions (chmod +x)

Checking if your system is cleaning or restricting /tmp

Also, could you let us know which OS you are using ?

Let us know if the issue persists after that.

Lorchie avatar Mar 20 '26 15:03 Lorchie

same error - checksums match

If it wasn't executable, I would be getting a permission denied error

  michael@p50xeon:~$ touch /tmp/this
  michael@p50xeon:~$ ls -alh /tmp/this
  -rw-rw-r-- 1 michael michael 0 Mar 20 10:37 /tmp/this
  michael@p50xeon:~$ rm /tmp/this
  michael@p50xeon:~$ ls -alh /tmp/this
  ls: cannot access '/tmp/this': No such file or directory

/tmp seems fine

  $ cat /etc/issue
  Ubuntu 24.04.4 LTS \n \l

stutteringp0et avatar Mar 20 '26 17:03 stutteringp0et

further investigation: The path - /tmp/.mount_Modley-whatever/resources/python-embed does not exist, which explains the ENOENT error - which mean Error NO ENTry (or Error NO ENTity), basically a "file not found" error.

Under the resources directory: api app.asar app-update.yml resources/api: main.py README.md requirements.txt resources routers schemas services texture_baker uv_unwrapper

I did a $ find . -type f -name python3 under the main folder and there isn't a python3 file anywhere in it.

stutteringp0et avatar Mar 20 '26 18:03 stutteringp0et

Thanks for the report !

This has been identified and will be fixed in the next release

lightningpixel avatar Mar 20 '26 22:03 lightningpixel

Hi,

Could you please try the following steps:

  1. Uninstall the previous version (0.1.3)

  2. Delete all model, extension, and workspace folders

  3. Remove the configuration folder:

    • Windows: %appdata%/Roaming/Modly
    • Linux: ~/.config/Modly
  4. Install version 0.2.0

This issue should be fixed in version 0.2.0, so please let us know if it persists after the update.

Lorchie avatar Mar 22 '26 20:03 Lorchie

~/.config/Modly deleted downloaded 0.2.0, chmod +x the file, and launched it:

$ ./Modly-0.2.0.AppImage 
App started — version 0.2.0
[PythonSetup] Error: Bundled Python runtime not found.
Please reinstall the application.
(expected: /tmp/.mount_Modly-S5Fu8w/resources/python-embed/bin/python3)
Image

/tmp/.mount_Modly-S5Fu8w has no folder resources/python-embed

/tmp/.mount_Modly-S5Fu8w$ ls -alh resources
total 115M
drwxr-xr-x 8 root root    0 Mar 22 12:47 api
-rw-r--r-- 1 root root 115M Mar 22 12:47 app.asar
-rw-r--r-- 1 root root   86 Mar 22 12:47 app-update.yml

stutteringp0et avatar Mar 23 '26 01:03 stutteringp0et

Thanks for the logs, we'll fix it.

Lorchie avatar Mar 23 '26 13:03 Lorchie