I found the culprit: I had a version 2.62.? of gio in my PATH, which has been imported via an installation of Anaconda3, which has hidden the original version in /usr/bin. Removing this version solved the problem.
Why the anaconda guys delivered gio, remains their mystery.
Thanks for your support.
Regarding
viewtopic.php?p=2291122#p2291122:
The script only handles the very first line of a note. Remaining lines of a multi line note are ignored. Reason is that only the first line contains metadata::annotation. The same is true for the copy script on github. Here is an example:
Code: Select all
$ gio info "optiboot-image-328p-LD4-38400-BT05-release.hex"
display name: optiboot-image-328p-LD4-38400-BT05-release.hex
edit name: optiboot-image-328p-LD4-38400-BT05-release.hex
name: optiboot-image-328p-LD4-38400-BT05-release.hex
type: regular
size: 33596
uri: file:///home/inet/Entwicklung/KiCad/Projekte/Stiefelheizung%20V3/Stiefelheizung%20V2/software/optiboot-image-328p-LD4-38400-BT05-release.hex
attributes:
standard::type: 1
standard::name: optiboot-image-328p-LD4-38400-BT05-release.hex
standard::display-name: optiboot-image-328p-LD4-38400-BT05-release.hex
standard::edit-name: optiboot-image-328p-LD4-38400-BT05-release.hex
standard::copy-name: optiboot-image-328p-LD4-38400-BT05-release.hex
standard::icon: text-x-hex, text-x-generic
standard::content-type: text/x-hex
standard::fast-content-type: text/x-hex
standard::size: 33596
standard::allocated-size: 36864
standard::symbolic-icon: text-x-hex-symbolic, text-x-generic-symbolic, text-x-hex, text-x-generic
etag::value: 1550329386:298518
id::file: l64769:85592222
id::filesystem: l64769
access::can-read: TRUE
access::can-write: TRUE
access::can-execute: FALSE
access::can-delete: TRUE
access::can-trash: TRUE
access::can-rename: TRUE
time::modified: 1550329386
time::modified-usec: 298518
time::access: 1675462022
time::access-usec: 727281
time::changed: 1567695891
time::changed-usec: 991434
unix::device: 64769
unix::inode: 85592222
unix::mode: 33188
unix::nlink: 1
unix::uid: 1000
unix::gid: 1000
unix::rdev: 0
unix::block-size: 4096
unix::blocks: 72
owner::user: inet
owner::user-real: inet
owner::group: inet
metadata::annotation: optiboot für BT05 + BT05-Konfigurator mit
Taktfrequenz: 10 MHz
BT05 Baudrate: 38400
Key-Pin: C4
Reset-Pin: D2
State-Pin: C5
Error-LED: D4
Flashen:
avrdude -p m328p -P usb -c jtag2isp -U flash:w:optiboot+config-HC05.hex
Fuses setzen:
avrdude -p m328p -P usb -c jtag2isp -U lfuse:w:0xff:m -U hfuse:w:0xde:m -U efuse:w:0x06:m
m328p -P usb -c jtag2isp -U lfuse:w:0xff:m -U hfuse:w:0xde:m -U efuse:w:0x06:m
The note begins at metadata::annotation and ends with avrdude … efuse:w:0x06:m. Several lines of the note are indented.
End criteria is either end of file or a new line beginning with metadata::… – I don't know, if this are all possible cases.
Here is a screenshot of the note:
https://www.dropbox.com/s/sbovi2t3a99yl ... 6.png?dl=0
Little joke in passing: try to write a note containing a line " metadata::annotation:"