Open cobalt2727 opened 1 year ago
I switched fritzing-app
to the main
branch instead of develop
and now it can't find the system quazip, despite earlier commits/PRs suggesting this should be possible now...
Can you reproduce the issue with the official build from fritzing.org?
For your swapping mechanism error once Fritzing loads click on breadboard (any view other than Welcome will do) then Part->regenerate parts database (which will do the update then exit Fritzing) on restart Fritzing should load correctly.
Where would I get my hands on parts.db
? I got this error midway through trying to regenerate the database.
Looks like it's not present in the repo:
https://github.com/fritzing/fritzing-parts/search?q=parts.db
Looks like you missed this step in the build instructions available here
https://github.com/fritzing/fritzing-app/wiki/1.-Building-Fritzing
... In Qt Creator, open the Fritzing project by navigating to the Fritzing source folder and select the phoenix.pro file. Then go to the Projects tab, and under Run Settings, add this in the field Arguments:
-f "/path/to/fritzing-app/" -parts "/path/to/fritzing-parts/" -db "/path/to/fritzing-parts/parts.db"
-f [this flag is required for fritzing to e.g. find the translation-files]
-parts [find the fritzing parts directory]
-db [rebuild a clean parts.db from the parts directory]
...
which builds the parts database from the repository. Note I haven't done a source build in several years, so procedures may have changed but I expect this still applies and is necessary to get a parts database built.
edit: the parts database file appears in Fritzing/fritzing-parts/parts.db
when created.
Any way to do that from the CLI?
I expect there should be (such as running fritzing.exe with those parameters) but I have only ever built from QT Creator so I don't know how to do it from the cli I suspect QT Creator is running Fritzing.exe with the listed parameters but I'm not sure of that (it may be doing something internal to QT as well). Sorry.
Current Behaviour
Currently building Fritzing from source using the latest commit in the
develop
branch for bothfritzing-parts
andfritzing-app
, and trying to run the resulting build throws this error message at me.Operating System: <Pop!_OS 22.04>
Steps to reproduce:
Expected Behaviour
not seeing this error message