-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Missing app_name, formal_name, and app_id #58
Comments
These are intentionally omitted; if you deploy the project with briefcase, these values are obtained from pyproject.toml and put into the package metadata (the .dist-info file) at time of installation. They only need to be in the constructor if you need to accomodate I'm intrigued that you're getting this on a The other interesting point - is the |
Brand new virtualenv, removed build and linux folders:
|
This second error seems to confirm what I suspected. The issue isn't the clean virtualenv; it's the existence (or not) of the During an initial dev pass, briefcase will look for the existence of a The good news - run If my theory is correct, your |
Hi @freakboy3742, unfortunately, that didn't work.
The good news is that removing
I'll go ahead and close this issue, since it does look like my dist-info folder was the problem. Thanks for your help! |
Hrm... the existence of .egg-info suggests something wonky has gone on - that definitely shouldn't exist, and it could easily be causing the problem you've described, as it would be an alternate source of metadata (that won't contain the Briefcase metadata), and will likely be taking precedence over dist-info. It would be interesting to work out where that file came from; but in the meantime, it looks like you're unstuck. The exception on cancel is definitely a bug, though. |
Describe the bug
Trying to run Podium from source, and I am getting error for missing app_name, formal_name, and app_id:
To Reproduce
Steps to reproduce the behavior:
pip install --pre beeware
briefcase dev
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
I can submit a PR to add the 3 missing values in
src/podium/app.py
on the main Podium class initialization if that is the right fix.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: