BRT Community

General Category => Discussion - EVE => Topic started by: MikeAnt on March 20, 2020, 04:30:56 AM

Title: EVE Asset Builder Installation Problem
Post by: MikeAnt on March 20, 2020, 04:30:56 AM
I installed EVE Asset Builder with the default options, but when I try to convert any image files I get the following errors:
====================================================================================
Select Images!
Images are ready to convert!
C:/Users/Mike/Documents/Project Scratchfolder/Test Image Converter is selected as output folder.
C:/Users/Mike/Documents/EVE Asset Builder/Assets For Test/Image Converter Test/png/case1.png conversion is in progress...
Conversion failed!

[4724] Failed to execute script eab_tools
Traceback (most recent call last):
  File "eab_tools.py", line 13, in <module>
  File "c:\python37-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "ast_cpr.py", line 9, in <module>
  File "c:\python37-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "site-packages\zopfli.py", line 28, in <module>
ImportError: DLL load failed: The specified module could not be found.

======================================================================================

Is there a dependency that didn't get installed or a path that needs to be changed? [I don't have a directory c:\python37-32]
-Mike
Title: Re: EVE Asset Builder Installation Problem
Post by: BRT Community on March 20, 2020, 01:29:33 PM
Hello,

Can you try uninstalling and reinstalling EAB with admin privileges?

I believe that EAB should install Python during its own installation process, but if the error persists you can download Python from the following:
https://www.python.org/downloads/ (https://www.python.org/downloads/)

Best Regards,
BRT Community
Title: Re: EVE Asset Builder Installation Problem
Post by: MikeAnt on March 21, 2020, 06:27:09 AM
Now I'm really annoyed.

I tried what you said- uninstalled EAB, reinstalled it as Admin... no change.

I manually installed Python. You didn't say which version so I tried the current version (3.8) and multiple prior versions (3.7) but none of them help.

I researched the error and found a lot of people describing the same problem when they try to make a Python app into a standalone install-able app and fail to identify all the dependencies correctly and include them in the runtime distribution. Here's some of the search results:

https://github.com/pyinstaller/pyinstaller/issues/3235
https://github.com/pyinstaller/pyinstaller/issues/3645
https://github.com/pyinstaller/pyinstaller/issues/1679
https://www.reddit.com/r/learnpython/comments/a7isaa/pyinstaller_and_missing_dlls/
https://vxlabs.com/2017/12/06/how-to-debug-pyinstaller-dll-pyd-load-failed-issues-on-windows/
https://python-forum.io/Thread-can-t-run-exe-file
https://anki.tenderapp.com/discussions/ankidesktop/38150-fatal-error-detected-failed-to-execute-script-pyi_rth_multiprocessing
https://discourse.mozilla.org/t/how-to-convert-deepspeech-to-exe-in-windows-10/45767
https://discuss.mxnet.io/t/pyinstaller-package-mxnet-program-error-on-win10/4240

Please test installing EAB 1.2 on a "fresh" machine that's never had Python or any version of EAB intstalled, then try running the image convert feature.

I suspect that it's not that I need Python installed, I need a Python package your developer had installed on his/her workstation and failed to include in the distributable code. 

Incidentally, the image converter in the Cleo tools package works fine on the same computer, it just doesn't allow me to see and control what graphic binary format it's storing in.

-Mike


Title: Re: EVE Asset Builder Installation Problem
Post by: BRT Community on March 23, 2020, 11:50:09 AM
Hello,

Thanks for giving this a try, I have passed your query on to the development team.
Hopefully they should be able to provide a resolution.

Best Regards,
BRT Community
Title: Re: EVE Asset Builder Installation Problem
Post by: BRT Community on March 24, 2020, 01:00:46 PM
Hello,

I tried at my side on a clean PC but could not replicate the same problem.
We can use EAB to convert the font successfully.

EAB 1.2 is using python 3.6.5 to generate the executable. Can you try installing Python 3.6.5?
Also can provide the screenshot of the error message when you run the font converter on EAB. 

Best Regards,
BRT Community
Title: Re: EVE Asset Builder Installation Problem
Post by: avanti on March 30, 2020, 04:32:37 PM
I have EXACTLY the same problem. I need to use Asset Builder to create some fonts, so I installed a brand new Windows 10 system on my Mac using Parallels. I downloaded the package and installed it successfully. I can read fonts in, but when I try to convert them, I get the same library import error as OP.

The distribution is definitely defective. If it is working for anybody, it is likely because there was stuff lying around from older versions or some such.

Please help.
Title: Re: EVE Asset Builder Installation Problem
Post by: avanti on April 09, 2020, 02:27:43 PM
This thread:
http://www.brtcommunity.com/index.php?topic=112.0;topicseen
suggests that there will be a new release of EAB sometime soon.

Is there any chance that this release will address the Python library issue discussed above? I cannot get to Step 1 of using EAB due to this problem.
Title: Re: EVE Asset Builder Installation Problem
Post by: BRT Community on April 09, 2020, 03:20:10 PM
Hello,

As far as I am aware the development team have been able to reproduce this issue and are currently looking into a fix. Hopefully this will be rolled into the upcoming EAB 1.4 release.

Best Regards,
BRT Community
Title: Re: EVE Asset Builder Installation Problem
Post by: avanti on April 28, 2020, 05:04:12 PM
Just to let you know:
V1.4 of EAB has solved this issue for me.
Thanks!
Title: Re: EVE Asset Builder Installation Problem
Post by: BRT Community on April 29, 2020, 11:25:54 AM
Hello,

Glad to hear that it is now working for you!

Best Regards,
BRT Community