-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with building macOS app & metadata #17
Comments
From what it's saying, I'm guessing it's an issue with PyQt5. Try running |
Oh, another thing to note is that this is likely only an issue with PyQt on M1 Macs. I have an M1 Mac Mini, and from what I've found, the difference in architecture can make various things break in certain places. |
You were right—I ran I don't really have a clue on what's going on, but maybe it does have something to do with the Intel/M1 split after all. Your guess is as good as mine! |
That might be an issue with the app itself. Are you building from the development branch, or the main branch? |
I built the app through the development branch, although interestingly I tried out the app through the main branch and it seemed to open and close right away without letting me log in. It looks like the app type is Intel rather than Universal, so maybe it's just an M1 quirk. I typed |
In order to run |
Ah yeah, my bad—I know next to nothing about Python so thanks for putting up with me as I try to figure this out. Trying to run app.py in the Rosetta 2 terminal results in this error: And to clarify on the app type bit (not sure how important it is), it seems the version I built with the Rosetta 2 terminal off of the development branch is actually Universal, while the 1.2 macOS release I got from this page is an Intel app. |
Yes, that makes sense, I suppose. brew install qt@5
brew install pyqt@5
python3 -m pip install -r requirements.txt
python3 app.py Tell me if it opens the app after installing PyQt5. |
Running all of it through non-Rosetta Terminal, I installed pyqt@5 and was informed that I had qt@5 and pip already (I wasn't on the newest version of pip, however, so I updated that as well). The last step of running the app produced the same error as my last comment, unfortunately. |
This is difficult.
If this doesn't work, then I probably can't help you with it. Maybe you could create a virtual environment, install PyQt5 via the Rosetta terminal, then run app.py.
I'm sorry if neither of those work. I guess just scour the internet for an online forum with a fix for PyQt5? |
The problem is practically obsolete when building on an Intel Mac. The reason the current release fails is the same reason the main branch will always fail- Nintendo's servers have updated, meaning the moment the app connects, it crashes. |
When I return from vacation, I'll rebuild the development branch and make a new release so people can start using the app again. |
Glad the app's finally running! |
You know what? There's a chance that the program skips over one-user rows. That might be an issue with my formatting- I'll have to check when I get home. |
I have this working correctly on my branch assuming the fix is valid. ☝️ @MCMi460 @CapnCocoa (Sorry again for the dupe PRs. Probably could've just dropped the commit. 😬) |
I'm glad it works now! And thank you again, @anthonybaldwin for the serious help! Edit: As a side note, @anthonybaldwin's PR (#19) has been successfully merged with development and (now) main. |
Tried to build the macOS app using the June 7 development branch. Terminal had a problem on the "Preparing metadata" step as seen below:
I also tested this with the ver 1.2 main branch and got the same result.
I'm on an M1 MacBook Pro with macOS 12.3.1.
The text was updated successfully, but these errors were encountered: