Warning about Nightly Builds

Be careful that Windows Nightlies are already file incompatible with 6.0.0

The 22nd December Nightly is safe to use before we see the official Windows 6.0.0 release

4 Likes

If the file version date in the first line of the files in In KiCad-nightly V5.99 changed, then KiCad considered it “unreadable”. And this is quite acceptable for nightly versions.

With all the S-expression based file formats, it should be relatively easy for KiCad to just parse the whole file, then dump everything it does not understand (because of version changes) into a text file, and then ask if you want to accept or reject it. This would leave the opportunity to open projects with an older KiCad version, and have a high likelyhood that it’s “usable”. I am aware this is not robust, but there are many reasons why people can not always have the latest and newest KiCad version, and having the opportunity to import some other project for 98% (and a few errors) is an interesting option.

An interesting possibility

With the benefit of hindsight, as the use of 6.0 rc was encouraged even for beginners, it would have been safer to hide the the post release Nightlies for a while. I can forsee a lot of questions about “my 6.0.0 won’t open my file” coming up

1 Like

Yea the parser is in no way capable of doing that.

We fixed kicad 6 to allow concurrent version installs. No excuses left other than working at slowly defunct companies with bad IT

Exactly that happen to me right now.
I even have backups made 3 weeks ago, but even backups are not compatible with the current 6.0

That must be some other issue, unless you did a really weird install. Where did you manage to get V6.9.9 “3 weeks ago”?

If you open the schematic in a text editor, then what does the first line look like? The first line has a magic number in the form of YYYYMMDD of when that version of the file format was used. On a schematic I opened the first line is:

(kicad_sch (version 20211123) (generator eeschema)

I have been using nightly builds last 6 months. Today I discovered that Kicad 6.0 is realized, so I installed it. When I wanted to open schematic error appeared that the version of the Kicad is older then the Kicad used to make the schematic.
When I open the schematic sheet in text editor I see the same number 20211123.

For me, that project opens properly in my current KiCad V6.

Application: KiCad

Version: 6.0.0-d3dd2cf0fa~116~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.0.4
	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: Linux 5.13.0-22-generic x86_64, 64 bit, Little endian, wxGTK, xfce, x11

Build Info:
	Date: Dec 23 2021 14:23:02
	wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.2
	Curl: 7.68.0
	ngspice: 31
	Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

20211123 is the expected version for 6.0

You most likely installed the 6.0 stable in a different location from your original nightly which is a few weeks older and are launching that original nightly.

This is the version of the Kicad that I installed:
6.0.0-0rc1-202111191542+bf2b03b42f~115~ubuntu18.04.1

Does this mean that it is 2021 11 19 ?
So if my nightly is 2021 11 23, than the nightly is newer.

This is the version from “about”

Application: KiCad

Version: 6.0.0-rc1-bf2b03b42f~115~ubuntu18.04.1, release build

Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.2 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3

Platform: Linux 5.4.0-91-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon,

Build Info:
Date: Nov 19 2021 15:42:34
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OCC: 7.5.2
Curl: 7.58.0
ngspice: unknown
Compiler: GCC 7.5.0 with C++ ABI 1011

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

I will try to install it to newer ubuntu, maybe that is the problem with versions.

When I installed Kicad 6 on the Ubuntu 20.04 everything works.

It is interesting that the same repository, sudo add-apt-repository --yes ppa:kicad/kicad-6.0-releases
installs two different versions depending on version of ubuntu.

Looking at the build status for the repo, it failed for Ubuntu 18.04 on amd64 but worked on 20.04 which explains what 18.04 is out of date.

I wonder what happens if (accidentally) edit that date to 20211123 or something else. I have to make a backup first. Edit: 6.00 wont still open the file, there are other changes the date.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.