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

Assign LCSC number function not working KICAD 8.0.2 #474

Open
MiguelASTavares opened this issue May 14, 2024 · 14 comments
Open

Assign LCSC number function not working KICAD 8.0.2 #474

MiguelASTavares opened this issue May 14, 2024 · 14 comments
Assignees

Comments

@MiguelASTavares
Copy link

Describe the bug
When i open the plugin non of the components on my brd appear in the window, this however can be solved if i manually select the components before opening it. Once inside the terminal window when i press the "Assign LCSC number" button no new window is created.

To Reproduce
Steps to reproduce the behavior:

  1. Open the plugin
  2. Select a component
  3. Click in the "Assign LCSC number"
  4. See error

Expected behavior
I was expecting the selection Window.

KiCad Version

Application: KiCad x86_64 on x86_64

Version: 8.0.2-8.0.2-0~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.10.1
	HarfBuzz 2.6.4
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11

Build Info:
	Date: Apr 28 2024 21:38:36
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.6.3
	Curl: 7.68.0
	ngspice: 42
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
@chmorgan
Copy link
Collaborator

@MiguelASTavares can you see the version of the plugin anywhere in the gui? Want to confirm its the latest version.

@MiguelASTavares
Copy link
Author

@chmorgan Can you tell me where to look for the version? In the top of the window, I have “JLCPCB Tools [dev]”. I have cloned the repository, but I have also tried to add the repo to the Plugin manager of KICAD, but had the same behavior.

@bvernoux
Copy link
Contributor

I had exactly same issue on Windows 11 + KiCad 8.0.2 + kicad-jlcpcb-tools 2024.05.01 until I have removed the database and let kicad-jlcpcb-tools 2024.05.01 re-creacte it from scratch

@MiguelASTavares
Copy link
Author

I have tried to downgrade the KICAD install to 8.0.1, and it worked (on windows), but in Linux I'm not seeing an easy way to downgrade. @bvernoux how did you remove the database and re-created?

@bvernoux
Copy link
Contributor

bvernoux commented May 21, 2024

I have tried to downgrade the KICAD install to 8.0.1, and it worked (on windows), but in Linux I'm not seeing an easy way to downgrade. @bvernoux how did you remove the database and re-created?

  1. Quit/Exit KiCad 8.0.2 (check with ProcessExplorer ... that there is no any KiCad instance running, if yes do Kill process on KiCad instance(s) you see) then just delete the jlcpcb directory in the project (it include project.db ...).
  2. Start KiCad 8.0.2, remove Bouni JLCPCB plugin then quit KiCad (check there is no running instance of KiCad again ...)
  3. ReStart KiCad 8.0.2 reinstall Bouni JLCPCB plugin kicad-jlcpcb-tools 2024.05.01
  4. Open your project and launch jlcpcb plugin and it will recreate jlcpcb/project.db ...
    Now all shall work fine

@MiguelASTavares
Copy link
Author

I tried to do this steps, but the plugin is still not working. Any other ideas?

@Bouni
Copy link
Owner

Bouni commented Jun 13, 2024

@MiguelASTavares Can you give the latest release a shot?

@MiguelASTavares
Copy link
Author

I have updated the plugin it's now on: JLCPCB Tolls [2024.06.02], the behavior remains the same. I can't open the Assign LCSC number button.

@Nick-Doe
Copy link

Same issue here re-installed as suggested
Started jlcpcb tools - database updated as normal
No partslist comes up
exit jlcpcb tools
restart
image

Exit kicad and kill remaining kicad task
Restart kicad
start jlcpcb tools
everything looks ok but cannot assign part
cannot right click paste part

@Nick-Doe
Copy link

I have noticed the exception may happen several times when trying to start jlcpcb tools. Eventually the parts display comes up and then seems to come up reliably. Still not part assignment

Additional attempts:

Reverted back to old tools version

Install plugin via Plugin manager: KiCAD-PCM-2024.05.01.zip

Overwrite mainwindow.py with changed one: 30856ea

Same behavior.

Reverted back to previous Kicad May 26 2024 00:43:30

Same behavior.

Application: KiCad PCB Editor x64 on x64

Version: 8.0.3-rc1, release build

Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 31.0.101.5382

Build Info:
Date: May 26 2024 00:43:30
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.8.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1939 without C++ ABI

@Nick-Doe
Copy link

With existing designs, BOM output format is now wrong. Gerbers seem ok. Not sure about cpl files.

image

@Nick-Doe
Copy link

See #486

@Bouni
Copy link
Owner

Bouni commented Jun 21, 2024

With existing designs, BOM output format is now wrong. Gerbers seem ok. Not sure about cpl files.

image

The wrong BOM whas caused bay a bug in the previous release. Please test the latest release.

@Nick-Doe
Copy link

Nick-Doe commented Jun 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants