-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
The component with the UUID does not exist in the project's library! #390
Comments
Hi @shakenov-chinga, you're welcome! And thanks for trying LibrePCB 😃
Did this error only appear in the project library updater and the project is still working properly (except that it can't be updated)? Or is it now permanently broken, so you can't open the project anymore?
Did LibrePCB maybe crash during the library update or so? |
Hi,
Error appeared in the project library updater and project was permanently broken.
No, LibrePCB didn't crash at all. The library updater showed errors after all updates, but didn't crash. Unfortunately, I don't remember what kind of errors was in the library updater. Control Panel was still running and I were able to create and edit other projects, but unable to open my project. I think I fixed it now. I compared my project with some other dummy project and figured out that library directory in my project folder was empty. I copied cmp, dev, pkg and sym folders from remote and local library lplib folders. I think I copied some unnecessary libraries, because project opens now with big delay. I weren't able to recreate this error again. I'll give an update if I have this error again. |
Too many library instances in the project freezes my schematic and board editor windows. Therefore, I had to delete all and manually copy needed parts from cmp, dev, pkg and sym folders one by one. It wasn't easy, since folders are named by uuid values, but still works 😃! It would be good to implement library checking feature, which will add needed parts from remote and local libraries and delete unused ones. 😄 |
Hmm okay, strange... Btw, I forgot to mention that there might be a "library~" directory in your project - if yes, that would be a backup of the whole "library" directory, created right before starting the project library update :) |
This seems like potentially a duplicate issue. Demostrated herein. (unlisted video) Descripion: I created a new library component, a 16-segment LED display. I initially got the pin assignments wrong, so I went to the Packages screen and reassigned the pads. This resulted in things being broken all over the Devices screen. The 'Component Signal' settings all reverted to not connected, and when trying to reset them, I got an error message about the UUID not existing. (To solve it, I had to manually edit my library files. Thank goodness for BBEdit rectangular selection. I bulk copied all the pad UUIDs from device.lp and blasted them into package.lp. This made the UUIDs exist, though the assignments were wrong. I was able to manually reassign pads to component signals in the UI, and now the library editor is happy, but I can't see the component to add it to a schematic...[sigh].) |
@mdubinko I don't think your issue is a duplicate of this one. This issue is about the project's library, but yours is related to the workspace library. Is it possible that you removed and re-added pads in the package after creating the device? If yes, that's probably the problem. Pads must not be removed afterwards, as this breaks all devices using that package (the library editor should have shown a warning in that case).
Probably the component doesn't have a category assigned? Only components with categories assigned are listed in the "add component" dialog. |
As the whole file system access was refactored in #422, it's possible that this issue is now fixed automatically (although I could never reproduce it and thus I don't know what was going wrong exactly). I close this issue for now. If it still happens with the upcoming 0.1.1 release some time, we could re-open it. |
Hello there ! I have downloaded librePCB 0.1.6 snap build. And i am getting this when trying to download
Now, when i try to pick a resistor and place it on my circuit, i am getting this error:
Is there something to do ? Thank you ! |
@Scrappers-glitch does the downloading error for the library happen every time? You need the "LibrePCB Base" library for placing a resistor. You can try re-downloading it through the library manager. |
Yes, it happens every time, can I download it manually and link it to the library manager ? |
Something is wrong while extracting the zip of I can find the folder for the base library as |
I suspect something goes wrong when downloading, and then you get a 0-byte file that cannot be decompressed... @ubruhin is there some logging that could be used for debugging this? |
And here is the list tree, i tried to edit the main directory and remove the
The resistor file has got this, i have no idea if this is corrupted format ? or not but seems fine for me...
|
Alright @dbrgn , problem solved ! Thank you ! |
Hehe, that explains it 🙂 Yes, better diagnostics for library downloading and decompressing would be good. |
Hi guys!
I was working on my new project, and decided to try LibrePCB for that purpose. You made quite a progress since last year and I want to thank you for your hard work 👍 .
So, I created several libraries and used it in the project. Then I made little changes in one of its component, updated libraries from within schematics window and got error window with message
The component with the UUID "aeb89f16-126b-40b7-84e1-242b0ec7eafd" does not exist in the project's library!
It does exist, and it is from a different library, where I didn't touch anything.
I started LibrePCB using terminal, here is an output:
~/LibrePCB/stable/bin$ ./librepcb
Load stroke font: "newstroke.bene"
Start loading font "/home/chinga/LibrePCB/stable/share/librepcb/fontobene/newstroke.bene"
[ INFO ] "LibrePCB 0.1.0 (d7458d3)" (:0)
[ INFO ] "Qt version: 5.9.1 (compiled against 5.9.1)" (:0)
[ INFO ] "Resources directory: /home/chinga/LibrePCB/stable/share/librepcb" (:0)
[ INFO ] "Application settings: /home/chinga/.config/LibrePCB/LibrePCB.ini" (:0)
[DEBUG-MSG] Started network access manager thread. (:0)
[ WARNING ] There was a stale lock on the workspace: "FilePath(/home/chinga/Dropbox/LibrePCB)" (:0)
[DEBUG-MSG] Load workspace settings... (:0)
[ INFO ] Workspace settings file not found, default settings will be used. (:0)
[DEBUG-MSG] Workspace settings successfully loaded! (:0)
[DEBUG-MSG] Load local workspace library: "connectors.lplib" (:0)
[EXCEPTION] Not a valid URL. (../../../../libs/librepcb/common/fileio/../fileio/sexpression.h:282)
[EXCEPTION] File parse error: Not a valid URL.
File: /home/chinga/Dropbox/LibrePCB/v0.1/libraries/local/connectors.lplib/library.lp
Line,Column: -1,-1
Invalid Content: "" (../../../../libs/librepcb/common/fileio/../fileio/sexpression.h:98)
[ WARNING ] "File parse error: Not a valid URL.\n\nFile: /home/chinga/Dropbox/LibrePCB/v0.1/libraries/local/connectors.lplib/library.lp\nLine,Column: -1,-1\nInvalid Content: """ (:0)
[DEBUG-MSG] Load local workspace library: "projects.lplib" (:0)
[EXCEPTION] Not a valid URL. (../../../../libs/librepcb/common/fileio/../fileio/sexpression.h:282)
[EXCEPTION] File parse error: Not a valid URL.
File: /home/chinga/Dropbox/LibrePCB/v0.1/libraries/local/projects.lplib/library.lp
Line,Column: -1,-1
Invalid Content: "" (../../../../libs/librepcb/common/fileio/../fileio/sexpression.h:98)
[ WARNING ] "File parse error: Not a valid URL.\n\nFile: /home/chinga/Dropbox/LibrePCB/v0.1/libraries/local/projects.lplib/library.lp\nLine,Column: -1,-1\nInvalid Content: """ (:0)
[DEBUG-MSG] Load remote workspace library: "326f091b-b715-44bf-b385-b613cd60d9f3.lplib" (:0)
[DEBUG-MSG] Load remote workspace library: "5d00d6ec-ce1e-4a1c-b5fb-78d1d41bdde7.lplib" (:0)
[DEBUG-MSG] Load remote workspace library: "6ccc516c-21b7-4cd5-9cf2-7a04cfa361c6.lplib" (:0)
[DEBUG-MSG] Load remote workspace library: "a9ddf0c6-9b1c-4730-b300-01b4f192ad40.lplib" (:0)
[DEBUG-MSG] Load remote workspace library: "b404d66b-62ea-4e55-97fd-bbc1be7c297a.lplib" (:0)
[DEBUG-MSG] Load workspace library database... (:0)
[DEBUG-MSG] Workspace library database successfully loaded! (:0)
[DEBUG-MSG] Successfully loaded font "/home/chinga/LibrePCB/stable/share/librepcb/fontobene/newstroke.bene" with 2573 glyphs (:0)
[DEBUG-MSG] open project: "/home/chinga/Dropbox/LibrePCB/projects/Project/Project.lpp" (:0)
[DEBUG-MSG] Load stroke font: "newstroke.bene" (:0)
[DEBUG-MSG] Start loading font "/home/chinga/Dropbox/LibrePCB/projects/Project/resources/fontobene/newstroke.bene" (:0)
[DEBUG-MSG] load project metadata... (:0)
[DEBUG-MSG] metadata successfully loaded! (:0)
[DEBUG-MSG] load settings... (:0)
[DEBUG-MSG] settings successfully loaded! (:0)
[DEBUG-MSG] load project library... (:0)
[DEBUG-MSG] successfully loaded 0 symbols (:0)
[DEBUG-MSG] successfully loaded 0 packages (:0)
[DEBUG-MSG] successfully loaded 0 components (:0)
[DEBUG-MSG] successfully loaded 0 devices (:0)
[DEBUG-MSG] project library successfully loaded! (:0)
[DEBUG-MSG] load circuit... (:0)
[EXCEPTION] The component with the UUID "aeb89f16-126b-40b7-84e1-242b0ec7eafd" does not exist in the project's library! (../../../../libs/librepcb/project/circuit/componentinstance.cpp:66)
I work on two different PCs with Linux Mint 18.3 and Debian 9.6. Both show the same output.
I can share my workspace later, if it is needed.
Thanks in advance!
The text was updated successfully, but these errors were encountered: