happypandax / happypandax

A cross-platform server and client application for managing and reading manga and doujinshi
https://happypandax.github.io/
GNU Lesser General Public License v3.0
801 stars 49 forks source link

"Fatal error detected" When Trying to Run HPX_gui.exe #214

Closed shikinoutaa closed 4 years ago

shikinoutaa commented 4 years ago

Operating System: Windows 10 v1909 x64 Version: 0.13.2

Hi there! Been playing around with the new updates, and I've had a trouble launching HappyPanda X from the GUI since the upgrade to 0.13.1. When attempting to launch happypandax_gui.exe I'm met with the error pop-up: Fatal error detected Failed to execute script gui image

On the other hand, when run directly from the command line, HappyPanda X launches and the web interface functions normally. I can't say that I've had this behavior when running v0.12.4 and older on the same hardware. image

So far in general troubleshooting, I've uninstalled and reinstalled HPX several times in places without elevated permission as well as the requisite reboots along side them but to no avail. In a little bit I will try reinstalling into a clean Windows 10 virtual machine in a little bit to see if it's just my specific OS installation or not.

twiddli commented 4 years ago

Hello can you try and start happypandax_gui.exe from the cmd to see if it'll print more info?

shikinoutaa commented 4 years ago

Thanks for getting back! I've tried running the hpx_gui executable from the command prompt (both with and without the leading syntax) but unfortunately it doesn't print more information, just runs the GUI exe without much more context as for why the script never runs. image

I have since installed a fresh version of Windows 10 x64 v2004 on a VMWare Workstation Pro VM and it launches GUI just fine, which at least seems to indicate that something in HPX isn't playing well in my own main installation. image There could be a couple of reasons, specifically on the same machine I have an active installation of WAMP running modified imageboard code locally. I thought that maybe a port conflict or shared resources could be causing it. However, the same crash seems to happen whether or not WAMP and it's services are running or not. After a bit of quick research it seems as if the problem could lie somewhere with Python, as the "Fatal error detected: Failed to execute script _____" seems to be an error in Pyinstaller. Python and troubleshooting it are pretty far out of my wheelhouse though, so that's just my own conjecture.

twiddli commented 4 years ago

Hello, I'll put out a build that prints more info soon.

shikinoutaa commented 4 years ago

Thanks twiddli! Please get it out at your convenience. 😊 I am in no rush at the moment. In the meantime I'll try some other options. If I end up updating HPX or Windows I'll update this comment with more information later.

zatsuna commented 4 years ago

I also experienced this error on windows 7 x64, when I tried using vc_redist.x86.exe provided with HPX. After installing Microsoft Visual C++ 2015-2019 Redistributable (x86) I was able to boot HPX gui.

shikinoutaa commented 4 years ago

Heyy, thanks so much for the suggestion zatsuna! I grabbed the latest VC Redistributable, and sure enough happypandax_gui.exe boots without issue! Thank you so much for your time and suggestions guys, I couldn't have done it without you. 🥰 This issue is now closed.