Comments (9)
I've managed to recreate the bug by just opening a new Windows Sandbox environment and downloading the portable version. Since @lborruto got it working by installing the dependencies outside the portable/setup version, it's likely that there's some dependency that PyInstaller did not handle. Looking into it now.
from nton.
I've already noticed one possible problem. If you don't have one of the dependencies that are required, i.e. the bundled binaries like hacbrew, or the prod.keys, then it will just print a message and exit. Since the console window is removed on the GUI you never get to see these messages. So that could be one cause.
On my Windows Sandbox where I reproduced the error, simply putting the prod.keys file next to the portable exe, or in the %userprofile%/.switch folder, made the GUI actually open. It's likely this is the case for you guys as well.
However, with @lborruto saying installing via pip fixed it for him, is very strange.I think you are right, I've added prokeys to
C:\Users\<User>\.switch\
AND installed with pip.
Ahh, as in you did both and THEN noticed it started working? If that's the case then the solution has been found, I just need to add a GUI message box when the prod.keys and other dependencies are not found :)
from nton.
Considered fixed as of c7fff1f (v2.0.1)
If it's still happening please make a new issue.
from nton.
Hi, could you try the Installer version and see if that one will launch? It's not immediately clear why the portable version is failing to launch, nor ways to debug since it's a GUI application.
You could still perhaps try launch the exe from PowerShell or CMD and see if that gives any information. When it works, it should give no response text at all and simply launch.
Another option is to build a custom portable build with the console window kept active to see if any error information gets sent there.
Finally, another possibility is that some permission error somewhere occurred. Could you try running as admin?
from nton.
Same for me, installer or portable version.
from nton.
Same for me, installer or portable version.
I can only assume more weirdness with PyInstaller then. Have you tried anything I told the original issue creator?
from nton.
So after doing $ pip install nton[gui]
the installer or portable version works fine!
from nton.
I've already noticed one possible problem. If you don't have one of the dependencies that are required, i.e. the bundled binaries like hacbrew, or the prod.keys, then it will just print a message and exit. Since the console window is removed on the GUI you never get to see these messages. So that could be one cause.
On my Windows Sandbox where I reproduced the error, simply putting the prod.keys file next to the portable exe, or in the %userprofile%/.switch folder, made the GUI actually open. It's likely this is the case for you guys as well.
However, with @lborruto saying installing via pip fixed it for him, is very strange.
from nton.
I've already noticed one possible problem. If you don't have one of the dependencies that are required, i.e. the bundled binaries like hacbrew, or the prod.keys, then it will just print a message and exit. Since the console window is removed on the GUI you never get to see these messages. So that could be one cause.
On my Windows Sandbox where I reproduced the error, simply putting the prod.keys file next to the portable exe, or in the %userprofile%/.switch folder, made the GUI actually open. It's likely this is the case for you guys as well.
However, with @lborruto saying installing via pip fixed it for him, is very strange.
I think you are right, I've added prokeys to C:\Users\<User>\.switch\
AND installed with pip.
from nton.
Related Issues (20)
- Unable to forward to roms with spaces in the filenames. HOT 3
- Game Crashes HOT 8
- Homebrew crashes on exit when launched through forwarder HOT 2
- prod.keys is missing, but it's not. HOT 5
- Forwarder Fails to Launch - "The software was closed because an error occurred." HOT 16
- Incorrect command error from hacbrewpack when building nro forwarder HOT 1
- "Downloading a list of Game Title IDs..." throws error HOT 1
- [FEATURE REQUEST] Disable "Select User" upon NRO forwarder startup HOT 2
- The ROM should have Save Data Allocation disabled to reduce unnecessary 64 MB install size to 2MB
- Ability to specify Required System Version to match Forwarder ROM
- "é" character causing broken names HOT 1
- Unable to create NSPs on drives other than C:
- NsTool cannot be found on MacOSX HOT 1
- NRO Icons are Compressed HOT 1
- Looking for Logo and Banner Artwork
- Build fails for DBI forwarder HOT 6
- Looking for NTON testers on firmwares older than v12.0.0
- Linux support HOT 8
- TypeError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nton.