Skip to content
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

No components in the table #557

Open
valerionew opened this issue Dec 6, 2024 · 5 comments
Open

No components in the table #557

valerionew opened this issue Dec 6, 2024 · 5 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists more info needed Need more info to resolve this

Comments

@valerionew
Copy link

Hey, I'm a new user of the plugin, just installed it! Maybe there is some crucial information that I am not finding, but I have been looking around for a while and couldn't find anything. Apologies in advance if this is trivial!

Describe the bug
When the plugin is opened, no components are there. I have installed the plugin from the manager.

This is my log. Maybe it is relevant, maybe not, but it seems that the order of things in the log is a bit off.

2024.12.06 14:26:35 - DEBUG - download -  Parts db is split into 15 parts. Proceeding to download...
2024.12.06 14:26:35 - DEBUG - download -  Removing any spurious old zip part files...
2024.12.06 14:26:36 - DEBUG - download -  Parts db is split into 15 parts. Proceeding to download...
2024.12.06 14:26:36 - DEBUG - download -  Removing any spurious old zip 2024.12.06 14:28:55 - DEBUG - download -  Parts db is split into 15 parts. Proceeding to download...
2024.12.06 14:28:55 - DEBUG - download -  Removing any spurious old zip part files...
2024.12.06 14:28:55 - DEBUG - download -  Removing /home/vnappi/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/jlcpcb/parts-fts5.db.zip.001.
2024.12.06 14:29:07 - DEBUG - download -  Parts db is split into 15 parts. Proceeding to download...
2024.12.06 14:29:07 - DEBUG - download -  Removing any spurious old zip part files...
2024.12.06 14:29:07 - DEBUG - download -  Removing /home/vnappi/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/jlcpcb/parts-fts5.db.zip.001.
part files...
2024.12.06 14:26:36 - DEBUG - download -  Removing /home/vnappi/.local/share/kicad/8.0/3rdparty/plugins/com_github_bouni_kicad-jlcpcb-tools/jlcpcb/parts-fts5.db.zip.001.
2024.12.06 14:25:37 - INFO - setup -  Data directory 'jlcpcb' does not exist and will be created.
2024.12.06 14:25:37 - DEBUG - create_rotation_table -  Create SQLite table for rotations

image

To Reproduce
Steps to reproduce the behavior:

  1. Open the plugin
  2. Notice that no components are there

Expected behavior
Components are expected to be in the table.

KiCad Version

Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.6, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 10.0.1
	FontConfig 2.15.0
	libcurl/8.11.0 OpenSSL/3.4.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.64.0 nghttp3/1.6.0

Platform: Arch Linux, 64 bit, Little endian, wxGTK, X11, gnome-xorg, x11
OpenGL: Intel, Mesa Intel(R) Xe Graphics (TGL GT2), 4.6 (Compatibility Profile) Mesa 24.2.7-arch1.1

Build Info:
	Date: Oct 16 2024 20:40:29
	wxWidgets: 3.2.6 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.86.0
	OCC: 7.8.1
	Curl: 8.10.1
	ngspice: 43
	Compiler: GCC 14.2.1 with C++ ABI 1019

Build settings:
	KICAD_USE_EGL=ON

@Bouni
Copy link
Owner

Bouni commented Dec 16, 2024

I think you have to repopen the plugin.
For some reson if you open it the first time it download the database and does not read the parts from the board.
On the second opening, it does that and you're good to go.

Let me know if that works.

@Bouni Bouni added more info needed Need more info to resolve this bug Something isn't working labels Dec 16, 2024
@Bouni
Copy link
Owner

Bouni commented Dec 16, 2024

Duplicate of #550

@Bouni Bouni marked this as a duplicate of #550 Dec 16, 2024
@Bouni Bouni added the duplicate This issue or pull request already exists label Dec 16, 2024
@valerionew
Copy link
Author

Hey,

If you reopen the plugin after the download of the parts (which took a long time for me, with not a lot of feedback, which is why I didn't understand that the download was ongoing in the background), then it shows the parts list

@Bouni
Copy link
Owner

Bouni commented Dec 16, 2024

I changed the download and unzip code just days ago, now you get visual feedback in the prgress bar at the bottom while the download and unzip is ongoing (log messages as well).

@valerionew
Copy link
Author

valerionew commented Dec 16, 2024

I think I tried the version with the bar already, but the bar was super jumpy and flickery, so maybe that's why I may have overlooked it.

Would it be possible to move the bar inside the download button instead? To me, that would be a more straight-forward indication that the download is ongoing.

BTW it's really an amazing plug in, now that I managed to use it. Thank you very much for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists more info needed Need more info to resolve this
Projects
None yet
Development

No branches or pull requests

2 participants