After creating a file and modifying it for 2 times, I'm not able to open the file again (Cache related?)

What is your rclone version (eg output from rclone -V)
rclone v1.39-122-g6546b7e0β

Which OS you are using and how many bits (eg Windows 7, 64 bit)
debian (3.16.0-4-amd64)

Which cloud storage system are you using? (eg Google Drive)
Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)
see below

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
see below

I think I found a bug related to cache.
With these stepts I'm able to reproduce the issue:

on mount, create file with nano. e.g. nano testfile
type something in, save the file an close
edit file again with e.g. nano testfile
again type something in, save and close
try to open file again e.g. nano testfile

Error:
testfile: Zu viele offene Dateien im System
Debug:

2018/02/06 11:17:27 DEBUG : rclone: Version "v1.39-122-g6546b7e0β" starting with parameters ["rclone" "mount" "gdrive_decrypted:" "/mnt/.union" "-vv" "--allow-other" "--uid=1000" "--gid=1000" "--umask=007" "--cache-tmp-upload-path=/mnt/.local/.cache" "--cache-tmp-wait-time=24h"]
2018/02/06 11:17:27 DEBUG : gdrive_cache: wrapped gdrive: at root
2018/02/06 11:17:27 INFO  : gdrive_cache: Cache DB path: /root/.cache/rclone/cache-backend/gdrive_cache.db
2018/02/06 11:17:27 INFO  : gdrive_cache: Cache chunk path: /root/.cache/rclone/cache-backend/gdrive_cache
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Memory: true
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Size: 5M
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Total Size: 10G
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Clean Interval: 1m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Workers: 4
2018/02/06 11:17:27 INFO  : gdrive_cache: File Age: 6h0m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Upload Temp Rest Time: 24h0m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Upload Temp FS: /mnt/.local/.cache
2018/02/06 11:17:27 DEBUG : gdrive_cache: wrapped gdrive: at root
2018/02/06 11:17:27 INFO  : gdrive_cache: Cache DB path: /root/.cache/rclone/cache-backend/gdrive_cache.db
2018/02/06 11:17:27 INFO  : gdrive_cache: Cache chunk path: /root/.cache/rclone/cache-backend/gdrive_cache
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Memory: true
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Size: 5M
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Total Size: 10G
2018/02/06 11:17:27 INFO  : gdrive_cache: Chunk Clean Interval: 1m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Workers: 4
2018/02/06 11:17:27 INFO  : gdrive_cache: File Age: 6h0m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Upload Temp Rest Time: 24h0m0s
2018/02/06 11:17:27 INFO  : gdrive_cache: Upload Temp FS: /mnt/.local/.cache
2018/02/06 11:17:28 INFO  : Encrypted drive 'gdrive_decrypted:': Modify window is 1ms
2018/02/06 11:17:28 DEBUG : Encrypted drive 'gdrive_decrypted:': Mounting on "/mnt/.union"
2018/02/06 11:17:29 NOTICE: Encrypted drive 'gdrive_decrypted:': poll-interval is not supported by this remote
2018/02/06 11:17:29 DEBUG : vfs cache root is "/root/.cache/rclone/vfs/gdrive_decrypted"
2018/02/06 11:17:29 DEBUG : : Root:
2018/02/06 11:17:29 DEBUG : : >Root: node=/, err=
2018/02/06 11:17:39 DEBUG : /: Attr:
2018/02/06 11:17:39 DEBUG : /: >Attr: attr=valid=1m0s ino=0 size=0 mode=drwxrwx---, err=
2018/02/06 11:17:46 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:46 DEBUG : Cache remote gdrive_cache:: list ''
2018/02/06 11:17:46 DEBUG : : list: cold listing: 2018-02-06 05:15:30.534914351 +0100 CET
2018/02/06 11:17:46 DEBUG : : list: read 0 from temp fs
2018/02/06 11:17:46 DEBUG : : list: temp fs entries: []
2018/02/06 11:17:47 DEBUG : : list: read 2 from source
2018/02/06 11:17:47 DEBUG : : list: source entries: [e8hgc48skliv33ahf07jbd4qbo a7fmnde95ak5l53vnrcftl7hvs]
2018/02/06 11:17:47 DEBUG : : list: cached object: e8hgc48skliv33ahf07jbd4qbo
2018/02/06 11:17:47 DEBUG : : list: cached dir: a7fmnde95ak5l53vnrcftl7hvs
2018/02/06 11:17:47 DEBUG : : list: cached dir: '', cache ts: 2018-02-06 11:17:47.486438932 +0100 CET m=+19.792012771
2018/02/06 11:17:47 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:47 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:47 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:47 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:47 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:47 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:47 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:47 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:47 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Lookup: name="testfile"
2018/02/06 11:17:50 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/02/06 11:17:50 DEBUG : /: Create: name="testfile"
2018/02/06 11:17:50 DEBUG : testfile: Open: flags=O_WRONLY|O_CREATE|O_TRUNC
2018/02/06 11:17:50 DEBUG : testfile: >Open: fd=testfile (w), err=
2018/02/06 11:17:50 DEBUG : /: >Create: node=testfile, handle=&{testfile (w)}, err=
2018/02/06 11:17:50 DEBUG : testfile: Attr:
2018/02/06 11:17:50 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=0 mode=-rw-rw----, err=
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: Write: len=5, offset=0
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: >Write: written=5, err=
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: Flush:
2018/02/06 11:17:50 DEBUG : Encrypted drive 'gdrive_decrypted:': File to upload is small (5 bytes), uploading instead of streaming
2018/02/06 11:17:50 DEBUG : Cache remote gdrive_cache:: put data at 'rei9f04jct1940jfd011cop1cc'
2018/02/06 11:17:50 INFO  : rei9f04jct1940jfd011cop1cc: put: uploaded in temp fs
2018/02/06 11:17:50 INFO  : rei9f04jct1940jfd011cop1cc: put: queued for upload
2018/02/06 11:17:50 DEBUG : rei9f04jct1940jfd011cop1cc: pending upload found
2018/02/06 11:17:50 DEBUG : rei9f04jct1940jfd011cop1cc: put: added to cache
2018/02/06 11:17:50 DEBUG : : cache: expired
2018/02/06 11:17:50 INFO  : : put: cache expired
2018/02/06 11:17:50 INFO  : testfile: Copied (new)
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: >Flush: err=
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: Release:
2018/02/06 11:17:50 DEBUG : testfile: WriteFileHandle.Release nothing to do
2018/02/06 11:17:50 DEBUG : &{testfile (w)}: >Release: err=
2018/02/06 11:17:50 DEBUG : testfile: Attr:
2018/02/06 11:17:50 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=5 mode=-rw-rw----, err=
2018/02/06 11:17:53 DEBUG : testfile: Open: flags=OpenReadOnly
2018/02/06 11:17:53 DEBUG : testfile: Open: flags=O_RDONLY|O_CREATE
2018/02/06 11:17:53 DEBUG : testfile: >Open: fd=testfile (r), err=
2018/02/06 11:17:53 DEBUG : testfile: >Open: fh=&{testfile (r)}, err=
2018/02/06 11:17:53 DEBUG : &{testfile (r)}: Read: len=4096, offset=0
2018/02/06 11:17:53 DEBUG : rei9f04jct1940jfd011cop1cc: 0: chunk retry storage: 0
2018/02/06 11:17:53 DEBUG : worker-1 : partial downloaded chunk 0
2018/02/06 11:17:53 DEBUG : &{testfile (r)}: >Read: read=5, err=
2018/02/06 11:17:53 DEBUG : testfile: Attr:
2018/02/06 11:17:53 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=5 mode=-rw-rw----, err=
2018/02/06 11:17:53 DEBUG : &{testfile (r)}: Flush:
2018/02/06 11:17:53 DEBUG : &{testfile (r)}: >Flush: err=
2018/02/06 11:17:53 DEBUG : &{testfile (r)}: Release:
2018/02/06 11:17:53 DEBUG : testfile: Open: flags=OpenWriteOnly+OpenAppend
2018/02/06 11:17:53 DEBUG : testfile: Open: flags=O_WRONLY|O_APPEND|O_CREATE
2018/02/06 11:17:53 DEBUG : testfile: ReadFileHandle.Release closing
2018/02/06 11:17:53 DEBUG : testfile: >Open: fd=testfile (w), err=
2018/02/06 11:17:53 DEBUG : testfile: >Open: fh=&{testfile (w)}, err=
2018/02/06 11:17:53 DEBUG : &{testfile (w)}: Flush:
2018/02/06 11:17:53 DEBUG : testfile: WriteFileHandle.Flush ignoring flush on unwritten handle
2018/02/06 11:17:53 DEBUG : &{testfile (w)}: >Flush: err=
2018/02/06 11:17:53 DEBUG : &{testfile (w)}: Release:
2018/02/06 11:17:53 DEBUG : testfile: WriteFileHandle.Release closing
2018/02/06 11:17:53 DEBUG : &{testfile (w)}: >Release: err=
2018/02/06 11:17:54 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:17:54 DEBUG : &{testfile (r)}: >Release: err=
2018/02/06 11:17:57 DEBUG : testfile: Open: flags=OpenWriteOnly
2018/02/06 11:17:57 DEBUG : testfile: Open: flags=O_WRONLY|O_CREATE
2018/02/06 11:17:57 DEBUG : testfile: >Open: fd=testfile (w), err=
2018/02/06 11:17:57 DEBUG : testfile: >Open: fh=&{testfile (w)}, err=
2018/02/06 11:17:57 DEBUG : testfile: Setattr: a=Setattr [ID=0x1e Node=0x2 Uid=1001 Gid=1001 Pid=1331] size=0 handle=INVALID-0x0 lockowner
2018/02/06 11:17:57 DEBUG : testfile: Truncating 1 file handles
2018/02/06 11:17:57 DEBUG : testfile: >Setattr: err=
2018/02/06 11:17:57 DEBUG : testfile: Attr:
2018/02/06 11:17:57 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=5 mode=-rw-rw----, err=
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: Write: len=11, offset=0
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: >Write: written=11, err=
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: Flush:
2018/02/06 11:17:57 DEBUG : Encrypted drive 'gdrive_decrypted:': File to upload is small (11 bytes), uploading instead of streaming
2018/02/06 11:17:57 DEBUG : Cache remote gdrive_cache:: put data at 'rei9f04jct1940jfd011cop1cc'
2018/02/06 11:17:57 INFO  : rei9f04jct1940jfd011cop1cc: put: uploaded in temp fs
2018/02/06 11:17:57 INFO  : rei9f04jct1940jfd011cop1cc: put: queued for upload
2018/02/06 11:17:57 DEBUG : rei9f04jct1940jfd011cop1cc: pending upload found
2018/02/06 11:17:57 DEBUG : rei9f04jct1940jfd011cop1cc: put: added to cache
2018/02/06 11:17:57 DEBUG : : cache: expired
2018/02/06 11:17:57 INFO  : : put: cache expired
2018/02/06 11:17:57 INFO  : testfile: Copied (new)
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: >Flush: err=
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: Release:
2018/02/06 11:17:57 DEBUG : testfile: WriteFileHandle.Release nothing to do
2018/02/06 11:17:57 DEBUG : &{testfile (w)}: >Release: err=
2018/02/06 11:17:57 DEBUG : testfile: Attr:
2018/02/06 11:17:57 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=11 mode=-rw-rw----, err=
2018/02/06 11:17:59 DEBUG : testfile: Open: flags=OpenReadOnly
2018/02/06 11:17:59 DEBUG : testfile: Open: flags=O_RDONLY|O_CREATE
2018/02/06 11:17:59 DEBUG : testfile: >Open: fd=testfile (r), err=
2018/02/06 11:17:59 DEBUG : testfile: >Open: fh=&{testfile (r)}, err=
2018/02/06 11:17:59 DEBUG : &{testfile (r)}: Read: len=4096, offset=0
2018/02/06 11:17:59 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:17:59 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:17:59 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:17:59 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:17:59 ERROR : testfile: ReadFileHandle.Read error: low level retry 1/10: unexpected EOF
2018/02/06 11:17:59 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:00 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:00 ERROR : testfile: ReadFileHandle.Read error: low level retry 2/10: unexpected EOF
2018/02/06 11:18:00 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:00 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:00 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:00 ERROR : testfile: ReadFileHandle.Read error: low level retry 3/10: unexpected EOF
2018/02/06 11:18:00 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:01 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:01 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:01 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:01 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:01 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:01 ERROR : testfile: ReadFileHandle.Read error: low level retry 4/10: unexpected EOF
2018/02/06 11:18:01 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:02 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:02 ERROR : testfile: ReadFileHandle.Read error: low level retry 5/10: unexpected EOF
2018/02/06 11:18:02 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:02 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:02 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:02 ERROR : testfile: ReadFileHandle.Read error: low level retry 6/10: unexpected EOF
2018/02/06 11:18:02 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:03 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : testfile: ReadFileHandle.Read error: low level retry 7/10: unexpected EOF
2018/02/06 11:18:03 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:03 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : testfile: ReadFileHandle.Read error: low level retry 8/10: unexpected EOF
2018/02/06 11:18:03 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:03 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : testfile: ReadFileHandle.Read error: low level retry 9/10: unexpected EOF
2018/02/06 11:18:03 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:03 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:03 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:03 ERROR : testfile: ReadFileHandle.Read error: low level retry 10/10: unexpected EOF
2018/02/06 11:18:03 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:04 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:04 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:04 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:04 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:04 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:04 ERROR : testfile: ReadFileHandle.Read error: unexpected EOF
2018/02/06 11:18:04 DEBUG : &{testfile (r)}: >Read: read=5, err=unexpected EOF
2018/02/06 11:18:04 DEBUG : &{testfile (r)}: Read: len=4096, offset=0
2018/02/06 11:18:04 ERROR : testfile: ReadFileHandle.Read error: low level retry 1/10: EOF
2018/02/06 11:18:04 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:05 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:05 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:05 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:05 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:05 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:05 ERROR : testfile: ReadFileHandle.Read error: low level retry 2/10: unexpected EOF
2018/02/06 11:18:05 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:06 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:06 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:06 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:06 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:06 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:06 ERROR : testfile: ReadFileHandle.Read error: low level retry 3/10: unexpected EOF
2018/02/06 11:18:06 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:07 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : testfile: ReadFileHandle.Read error: low level retry 4/10: unexpected EOF
2018/02/06 11:18:07 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:07 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : testfile: ReadFileHandle.Read error: low level retry 5/10: unexpected EOF
2018/02/06 11:18:07 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:07 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:07 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:07 ERROR : testfile: ReadFileHandle.Read error: low level retry 6/10: unexpected EOF
2018/02/06 11:18:07 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:08 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:08 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:08 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:08 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:08 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:08 ERROR : testfile: ReadFileHandle.Read error: low level retry 7/10: unexpected EOF
2018/02/06 11:18:08 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:09 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:09 ERROR : testfile: ReadFileHandle.Read error: low level retry 8/10: unexpected EOF
2018/02/06 11:18:09 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:09 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:09 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:09 ERROR : testfile: ReadFileHandle.Read error: low level retry 9/10: unexpected EOF
2018/02/06 11:18:09 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:10 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:10 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:10 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:10 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:10 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:10 ERROR : testfile: ReadFileHandle.Read error: low level retry 10/10: unexpected EOF
2018/02/06 11:18:10 DEBUG : testfile: ReadFileHandle.seek from 0 to 0
2018/02/06 11:18:11 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:11 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:11 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:11 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59
2018/02/06 11:18:11 ERROR : rei9f04jct1940jfd011cop1cc: (53/59) error (unexpected EOF) response
2018/02/06 11:18:11 ERROR : testfile: ReadFileHandle.Read error: unexpected EOF
2018/02/06 11:18:11 DEBUG : &{testfile (r)}: >Read: read=5, err=unexpected EOF
2018/02/06 11:18:11 DEBUG : &{testfile (r)}: Flush:
2018/02/06 11:18:11 DEBUG : &{testfile (r)}: >Flush: err=
2018/02/06 11:18:11 DEBUG : &{testfile (r)}: Release:
2018/02/06 11:18:11 DEBUG : testfile: ReadFileHandle.Release closing
2018/02/06 11:18:11 DEBUG : testfile: Attr:
2018/02/06 11:18:11 DEBUG : testfile: >Attr: a=valid=1m0s ino=0 size=11 mode=-rw-rw----, err=
2018/02/06 11:18:11 DEBUG : testfile: Open: flags=OpenWriteOnly+OpenAppend
2018/02/06 11:18:11 DEBUG : testfile: Open: flags=O_WRONLY|O_APPEND|O_CREATE
2018/02/06 11:18:11 DEBUG : testfile: >Open: fd=testfile (w), err=
2018/02/06 11:18:11 DEBUG : testfile: >Open: fh=&{testfile (w)}, err=
2018/02/06 11:18:11 DEBUG : &{testfile (w)}: Flush:
2018/02/06 11:18:11 DEBUG : testfile: WriteFileHandle.Flush ignoring flush on unwritten handle
2018/02/06 11:18:11 DEBUG : &{testfile (w)}: >Flush: err=
2018/02/06 11:18:11 DEBUG : &{testfile (w)}: Release:
2018/02/06 11:18:11 DEBUG : testfile: WriteFileHandle.Release closing
2018/02/06 11:18:11 DEBUG : &{testfile (w)}: >Release: err=
2018/02/06 11:18:12 DEBUG : rei9f04jct1940jfd011cop1cc: cache reader closed 53
2018/02/06 11:18:12 DEBUG : &{testfile (r)}: >Release: err=
2018/02/06 11:18:27 DEBUG : Cache remote gdrive_cache:: starting cleanup
2018/02/06 11:18:28 DEBUG : Cache remote gdrive_cache:: starting cleanup

Hmm, those cache errors are odd
2018/02/06 11:17:59 ERROR : rei9f04jct1940jfd011cop1cc: unexpected conditions during reading. current position: 53, current chunk position: 0, current chunk size: 53, offset: 53, chunk size: 5242880, file size: 59

@remusb what do you think?

Hi @ErAzOr2k
Can you tell me what you were writing in the file too every time? This resulted in a special check I added to avoid a panic. I suspect it happens only during certain lengths that the math goes wrong.
Random texts I tried with don't cause this so it would help.

Never mind. Seems it happens on google encrypted (as described by the logs). I would have expected to happen regardless of the remote. Anyway, troubleshooting now, thanks for the report.

@ErAzOr2k the latest push should fix the issue. I'll post the beta once it's ready.
The temporary FS (local) doesn't have a dir change notification and it seems VFS (I assume) needs to be updated in these cases.

great thanks. I'll check it

It's up: https://beta.rclone.org/v1.39-130-g54724a13/

FIXED! It's now working as expected. Thank you :)


Spys created using 'withArgs' should get initialized

This allows things like
assert(spy.withArgs("foo").threw());

spy.withArgs("foo").yield();

assert(spy.withArgs("foo").calledBefore(spy.withArgs("bar")));

Saw the comment „uuid, won't ever be equal“ by accident here: https://github.com/cjohansen/Sinon.JS/blob/master/lib/sinon.js#L249
This assumption would not be true anymore if you pull this. It now copies callIds into fakes that are created using withArgs.
I can’t think of a case where this would be an issue, but maybe you have special thoughts about callIds.

This is an interesting addition - seems to allow for a very fluent way of comparing multiple calls to the same method.
The uuid thing is relevant for callOrder, e.g. in assert.callOrder(spy1, spy2, ...). How does this behave for these new initialized spies? i.e. assert.callOrder(spy.withArgs("foo"), spy.withArgs("bar")); - I assume it will "just work", can't see why it shouldn't.

There is a test case here https://github.com/cjohansen/Sinon.JS/pull/72/files#L1R2372
assert(argSpy2.getCall(0).calledAfter(argSpy1.getCall(0)));
assert(argSpy2.getCall(1).calledAfter(argSpy1.getCall(0)));

The callIds are simply copied. Therefore, if one compares the original spy with one of the sub-fakes, the result might be wrong or confusing. But I think this is more an academical problem.

I agree. Thanks again max!


Modern Build System and Readme

This branch adds a modern conan/cmake based build system and separate builds for all the demo projects.
I tested it on windows 10 and linux and it builds and runs on both systems.
The changes to the project structure are pretty major but the original source code was left mostly untouched except where I had to fix warnings/errors.
I would love to get some feedback.
My fork is actually much further ahead but the changes are much more intrusive and probably have no chance of getting merged.

thanks, but on Windows "conan install" fails with the following message:
ERROR: There are invalid packages:
fmtlog/2.2.1: Invalid: Current cppstd (14) is lower than the required C++ standard (17).
(there's no C++ redistributable >= 14.0 on Windows as far as I can tell)

Thanks for the feedback, I just now read your message and will try to find time to look into the issue.


fix issue: unexport() throws NPE when register fail.

What is the purpose of the change
Fixes #10892
Brief changelog
When subscribeUrl is null, use default server shutdown timeout.
Verifying this change
Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

There is a unit test error. It seems to be introduced by #10881.


Misc cleanup

export the type needed for getAsset
add comment that commands are test only
remove .promise from #202

This change is

src/extension-host/extension-host.ts line 44 at r1 (raw file):

    await Promise.all(
      Object.entries(commandHandlers).map(async ([commandName, handler]) => {
        await papi.commands.registerCommand(commandName, handler).promise;

@tjcouch-sil .promise was removed from the end of this line.


Allow Scala 3 for Refined

Fixes https://github.com/zio/zio-json/issues/571

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@fsvehla @plokhotnyuk any chance guys you could approve/merge this PR?
We're on scala 3 and would love to use refined with zio-json.

Imagine that until release, using snapshot version should be the same ?

I had add
oss-sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/ in repositories.txt but it was not enough
By adding to build.sbt it's OK in sbt but not in intellij. I add to repositories.txt
oss-sonatype-snapshots: https://s01.oss.sonatype.org/content/repositories/snapshots/
oss-sonatype-public: https://s01.oss.sonatype.org/content/repositories/public/
oss-sonatype-releases: https://s01.oss.sonatype.org/content/repositories/releases/

doesn't understand how it works in sbt because don't find the _3 in different urls ... it seem to work, so great.
And I set scalaVersion := "3.2.0" version  "3.0.2" give incompatible bytecode
and now I have compilation errors


Enhancement: Better DEBUG logging

We should implement much better debug and trace logging for the consumers and download strategies. These logs should indicate download start/end extract start/end, write start/end.
We do need to be careful to not add additional overhead creating the logging data. Thankfully zerolog is very efficient in not causing too much overhead with the calls themselves (and performs no allocations)

Closing this issue, We should do a serious pass, but it's not critical path.


qvina02

Hi,
Thanks for sharing this good work!  l am wondering where to install qvina02 software? Is that built in some packages in the anaconda environment?  Thank you!

it is in the folder "bin",there is no need to install it


LGTM.com will be shut down

CodeQL is enough to analysis LPVS.
Please refer to their blog article.

Great. I love this opinion. @tdrozdovsky It is your turn. What do you think? 😄

While trying to understand (reason is not clear to me)

AFAIU after the reading of all materials, CodeQL is doing the same as LGTM.
So, let's disable LGTM for LPVS.
@tdrozdovsky  do you agree? If Yes, please disable LGTM.


Added credential checking in OAuth registration

This is a ridiculously small code change, and if it weren't the master branch, I wouldn't bother making a merge request.

Merge it!


[Device support] RT-AX55 with latest firmware (<IP_ADDRESS>.386_52303) not working

Anything you want to mention?
Was working on previous firmware, but unable to connect with recent firmware update. Currently using this router as an access point. Running latest AsusRouter 0.31.0 integration.
Error from Home Assistant:
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to <IP_ADDRESS>: ('Cannot connect to <IP_ADDRESS>. Failed in _send_request', None)
Your device model
RT-AX55
Firmware type
Stock
Firmware version
<IP_ADDRESS>.386_52303-ga31a98b
Does everything work well?
No

I have similar error with my RT-AC68U after updating to Merlin 386.12_4.
2024-05-11 17:11:49.395 DEBUG (MainThread) [custom_components.asusrouter.config_flow] Setup initiated
2024-05-11 17:11:49.395 DEBUG (MainThread) [asusrouter.asusrouter] Initializing a new interface to `10.XX.XX.X4`
2024-05-11 17:11:49.395 DEBUG (MainThread) [asusrouter.connection] Initializing a new connection to `10.XX.XX.X4`
2024-05-11 17:11:49.395 DEBUG (MainThread) [asusrouter.connection] Using session `<aiohttp.client.ClientSession object at 0x7fd03714f860>`
2024-05-11 17:11:49.397 DEBUG (MainThread) [asusrouter.connection] Using `http` and port `80`
2024-05-11 17:11:49.397 DEBUG (MainThread) [custom_components.asusrouter.bridge] Connecting to the API
2024-05-11 17:11:49.397 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_connect
2024-05-11 17:11:49.397 DEBUG (MainThread) [asusrouter.connection] Initializing connection to 10.XX.XX.X4
2024-05-11 17:11:49.397 DEBUG (MainThread) [asusrouter.connection] Requesting authorization
2024-05-11 17:11:49.415 DEBUG (MainThread) [asusrouter.connection] Received authorization response
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.connection] Connected to 10.XX.XX.X4
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_get_identity
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.modules.identity] Collecting device identity
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_hook: nvram_get(serial_no);nvram_get(label_mac);nvram_get(lan_hwaddr);nvram_get(wan_hwaddr);nvram_get(productid);nvram_get(productid);nvram_get(firmver);nvram_get(buildno);nvram_get(extendno);nvram_get(rc_support);nvram_get(ss_support);nvram_get(led_val);
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_load: Endpoint.HOOK
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.HOOK | hook=nvram_get(serial_no);nvram_get(label_mac);nvram_get(lan_hwaddr);nvram_get(wan_hwaddr);nvram_get(productid);nvram_get(productid);nvram_get(firmver);nvram_get(buildno);nvram_get(extendno);nvram_get(rc_support);nvram_get(ss_support);nvram_get(led_val);
2024-05-11 17:11:49.416 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.433 DEBUG (MainThread) [asusrouter.asusrouter] Response 200 received from Endpoint.HOOK
2024-05-11 17:11:49.433 DEBUG (MainThread) [asusrouter.modules.endpoint] Reading data from endpoint Endpoint.HOOK
2024-05-11 17:11:49.437 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 149: await self.api.async_connect() (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/__init__.py, line 59: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues
2024-05-11 17:11:49.438 DEBUG (MainThread) [asusrouter.modules.identity] Identity collected
2024-05-11 17:11:49.439 DEBUG (MainThread) [asusrouter.modules.identity] Identity read
2024-05-11 17:11:49.439 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.DEVICEMAP | None
2024-05-11 17:11:49.439 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.453 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.ETHERNET_PORTS | None
2024-05-11 17:11:49.453 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.500 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.FIRMWARE | None
2024-05-11 17:11:49.500 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.525 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.HOOK | None
2024-05-11 17:11:49.525 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.528 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.NETWORKMAPD | None
2024-05-11 17:11:49.528 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.531 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.ONBOARDING | None
2024-05-11 17:11:49.531 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.543 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.PORT_STATUS | node_mac=all
2024-05-11 17:11:49.543 DEBUG (MainThread) [asusrouter.connection] Sending request to 10.XX.XX.X4
2024-05-11 17:11:49.546 ERROR (MainThread) [custom_components.asusrouter.config_flow] Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `10.XX.XX.X4`: ('Cannot connect to 10.XX.XX.X4. Failed in `_send_request`', None)
2024-05-11 17:11:49.546 DEBUG (MainThread) [custom_components.asusrouter.bridge] Cleaning up
2024-05-11 17:11:49.546 DEBUG (MainThread) [asusrouter.connection] Resetting connection to 10.XX.XX.X4

Looking at other reported issues it looks like older 386.XX firmware could what connects them.
@Vaskivskyi could there be some difference introduced for newer FW, that is incompatible with older ones?

Hello, guys. Sorry for the late reply. Currently, I don't have any time to check GitHub regularly due to some personal reasons
Does it occur only on HTTP connection or HTTPS as well? From the release logs, I don't see anything that could cause issues, so we'll need to troubleshoot it step-by-step. Also, I don't have devices with 386 support to test it by myself ☹

I haven't tried to setup HTTPS on any of my routers, so can't comment on that.
How can we help you with the debugging? Could you create some version with additional logging in the connection logic?
Also not sure if it could be related, but there is this warning for some async connection logic:
WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 149: await self.api.async_connect()

Could it be something has changed in HA regarding async, which breaks how you connect to routers?
They say to create bug report to fix this, so maybe fixing it would do no harm and might actually fix the issue if we are lucky :-)

I've a similar problem with RT-AC88U -> https://github.com/Vaskivskyi/ha-asusrouter/issues/828
Switching to HTTPS solved the issue for me.

Debug logs of the following flow: ERROR -> Use SSL connection [ON] -> OK -> Use SSL connection [OFF] -> ERROR
logs.log

Oh well. I can confirm, that enabling HTTPS on the router and using it in the integration works.
One would expect more issues with HTTPS, but in this case it seems like HTTP is the broken one...

Hello, guys. Please, check whether you get any more info than just Cannot connect to xxx.xxx.xxx.xxx with integration version 0.32.0 when HTTP fails
P.S. HTTPS is and has always been more stable connection with AsusWRT. No idea why, to be honest. I will add a recommendation for HTTPS to the README

Here is a log from 0.32.0:
2024-05-31 21:25:32.154 DEBUG (MainThread) [custom_components.asusrouter.config_flow] Setup initiated
2024-05-31 21:25:32.154 DEBUG (MainThread) [asusrouter.asusrouter] Initializing a new interface to `10.XX.XX.X4`
2024-05-31 21:25:32.154 DEBUG (MainThread) [asusrouter.connection] Initializing a new connection to `10.XX.XX.X4`
2024-05-31 21:25:32.154 DEBUG (MainThread) [asusrouter.connection] Using session `<aiohttp.client.ClientSession object at 0x7f792cb65be0>`
2024-05-31 21:25:32.155 DEBUG (MainThread) [asusrouter.connection] Using `http` and port `80`
2024-05-31 21:25:32.155 DEBUG (MainThread) [custom_components.asusrouter.bridge] Connecting to the API
2024-05-31 21:25:32.155 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_connect
2024-05-31 21:25:32.155 DEBUG (MainThread) [asusrouter.connection] Initializing connection to 10.XX.XX.X4
2024-05-31 21:25:32.155 DEBUG (MainThread) [asusrouter.connection] Requesting authorization
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.connection] Received authorization response
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.connection] Connected to 10.XX.XX.X4
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_get_identity
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.modules.identity] Collecting device identity
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_hook: nvram_get(serial_no);nvram_get(label_mac);nvram_get(lan_hwaddr);nvram_get(wan_hwaddr);nvram_get(productid);nvram_get(productid);nvram_get(firmver);nvram_get(buildno);nvram_get(extendno);nvram_get(rc_support);nvram_get(ss_support);nvram_get(led_val);
2024-05-31 21:25:32.170 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_load: Endpoint.HOOK
2024-05-31 21:25:32.171 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.HOOK | hook=nvram_get(serial_no);nvram_get(label_mac);nvram_get(lan_hwaddr);nvram_get(wan_hwaddr);nvram_get(productid);nvram_get(productid);nvram_get(firmver);nvram_get(buildno);nvram_get(extendno);nvram_get(rc_support);nvram_get(ss_support);nvram_get(led_val);
2024-05-31 21:25:32.171 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.185 DEBUG (MainThread) [asusrouter.asusrouter] Response 200 received from Endpoint.HOOK
2024-05-31 21:25:32.185 DEBUG (MainThread) [asusrouter.modules.endpoint] Reading data from endpoint Endpoint.HOOK
2024-05-31 21:25:32.188 DEBUG (MainThread) [asusrouter.modules.identity] Identity collected
2024-05-31 21:25:32.189 DEBUG (MainThread) [asusrouter.modules.identity] Identity read
2024-05-31 21:25:32.189 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.DEVICEMAP | None
2024-05-31 21:25:32.189 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.204 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.ETHERNET_PORTS | None
2024-05-31 21:25:32.204 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.251 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.FIRMWARE | None
2024-05-31 21:25:32.251 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.255 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.FIRMWARE_NOTE | None
2024-05-31 21:25:32.256 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.259 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.FIRMWARE_NOTE_AIMESH | None
2024-05-31 21:25:32.259 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.263 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.HOOK | None
2024-05-31 21:25:32.263 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.267 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.NETWORKMAPD | None
2024-05-31 21:25:32.267 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.271 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.ONBOARDING | None
2024-05-31 21:25:32.271 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.282 DEBUG (MainThread) [asusrouter.asusrouter] Triggered method async_api_query: Endpoint.PORT_STATUS | node_mac=all
2024-05-31 21:25:32.282 DEBUG (MainThread) [asusrouter.connection] Sending `RequestType.POST` request to `10.XX.XX.X4`
2024-05-31 21:25:32.285 ERROR (MainThread) [custom_components.asusrouter.config_flow] Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `10.XX.XX.X4`: ('Cannot connect to `10.XX.XX.X4` on port `80`. Failed in `_send_request` with error: `Server disconnected`', None)
2024-05-31 21:25:32.285 DEBUG (MainThread) [custom_components.asusrouter.bridge] Cleaning up
2024-05-31 21:25:32.285 DEBUG (MainThread) [asusrouter.connection] Resetting connection to 10.XX.XX.X4

With https it works fine.
BTW: Why is this integration claiming Shelly devices as if they belongs to it? 🧐

@johny-mnemonic, hello. #839 should help with the wrong device assignment. This will be implemented in the next AR version (within a week). If the issue would persist after the next release, please, open a new issue on this.


introducing SubscriberBase and SubscriptionBase

SubscriberBase and SubscriptionBase are new base classes designed for users implementing their own Subscriber/Subscription classes. The base classes allow to specify Executor in the constructor.

All calls to onSubscribe/onNext/onComplete/onError and request/cancel are synchronized via provided or default executor. The Executor makes sure there will be only one of the call on the stack. This is keeping our current design which is very useful for correctness and safety.
If users provides an EventBase as an Executor, all above calls will be automatically marshaled onto the provided EventBase. (please remove all runInEventBaseThread wrappers from your code and create Subscribers with the appropriate Executor!)

Please see how the new classes are used in the test and tcp duplex connection

I requested changes in the hopes that the documentation could be updated before merging—sorry for not making that clear. 😕


WIP: Use actual font data via Fondue

(Note this branch depends on https://github.com/Wakamai-Fondue/wakamai-fondue-site/pull/1 so merge that first and rebase this branch)

Thanks! Leaving this on hold for now


feat(onboarding): Add and adapt code from force

This adds the progressive onboarding code from force, with some small modifications, notably:

localStorage utils like get, etc are no longer exported directly, but can be accessed via the useLocalStorageUtils hook
the context now takes two arguments: keys: string[] and userID?: string for tracking tips.

:rocket: PR was released in v0.2.0 :rocket:


Run setup-dev-env.sh docker failed

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
When I run setup-dev-env.sh docker for the first time, the following error occurs:
nv@xavier-5:~/ws/autoware$ ./setup-dev-env.sh docker
Setting up the build environment take up to 1 hour.
>  Are you sure to run the setup? [y/N] y
./setup-dev-env.sh: line 105: ansible-galaxy: command not found

Expected behavior
The script should run without error
Actual behavior
Error occured and stopped.
Steps to reproduce

CLone project
Run ./setup-dev-env.sh docker

Versions

OS: Ubuntu 20.04
ROS2: Galactic
Autoware: main

Possible causes
No response
Additional context
No response

@Sharrrrk Thank you for reporting this.

What's your Ansible version?
https://github.com/autowarefoundation/autoware/blob/af25faddd16bf8f9a1bace814b0f82e020803f5b/setup-dev-env.sh#L98-L99
Is $HOME/.local/bin in your PATH?

@kenji-miyake I was just updating my description, yes you are right, ansible is installed by a user account, not root account. But the version check passes.


How to include punctuations/operators for custom highlighting?

I know this goes against philosophy of highlight.js, but I have been trying to customize it.
I put the following key-value in keywords object.
built_in: /= \+= -= \*= \= %= == != <= >= < > \+ - \* % \^/
But they aren't getting any span class, seems like they are being skipped. Is there a way to this?
Any help would be appreciated.
Thanks

No, not keywords. You want a separate mode like this:
{
  className: 'built_in',
  begin: /=|+=|-=/
}


Server does not add publisher if video only stream published from FireFox 42 and above

I'm not able to publish video only stream from FireFox 42 & above.
The 'signaling_message_erizo' event returned 'timeout' message like below
Object { mess: "timeout", peerId:<PHONE_NUMBER>23138900, ErrorCode: 6 }
when looking at console log and erizo log, FireFox 42 does not add Bundle attribute on SDP, so it set Bundle as false Is bundle? 0, see erizo log below
DEBUG WebRtcConnection (77) Is bundle? 0
DEBUG WebRtcConnection (80) Video 1 videossrc 396508465 Audio 0 audio ssrc 0 Bundle 0
DEBUG WebRtcConnection (82) Setting SSRC to localSdp 55543
DEBUG DtlsTransport (81) Initializing DtlsTransport
DEBUG NiceConnection (91) Creating Agent
DEBUG NiceConnection (116) Setting STUN server <IP_ADDRESS>:443
DEBUG NiceConnection (130) Adding Stream... Number of components 1
DEBUG WebRtcConnection (140) Setting remote bandwidth 300
DEBUG NiceConnection (263) Gathering candidates 0x1859eb0
I presume Licode does not handle stream without Bundle tag. Till versions FireFox 41, SDP contains Bundle attributes, hence it works

Hi, we pushed a fix for this in f341fd10f03973424b294c0b223fa28b7fd6bec4. It should work fine now, thank you.


Cleanup First Item of 'Getting Started'

This change breaks the first numbered list item into its own line, and adds code backticks around bundle install.

This change is

Changes Unknown when pulling 187b629b6b3fa3ac559f9dc282944dac4589302a on jwworth:patch-1 into ** on shakacode:master**.

Thanks @jwworth!


spinner icon next to the selected runtime in the editor should indicate loading progress

When selecting a runtime, the editor will use red/green to indicate the connection status. In addition, the editor will also query the runtime (e.g. to populate the component list). It would be nice to make the spinner spin, while this is in progress as the UI is not fully functional until this is done.
When running a nodejs runtime on a low power arm system this takes easily a minutes (which hopefully can be optimized too).

Small update - this needs a change in the protocol, so that the UI knows when the runtime is done sending data, so that the spinner can be turned off again.

Protocol addition is done in https://github.com/noflo/noflo-runtime-base/commit/428191ffaafe8942aa7e0cc1a16be63ee80a71c3

I have a fix in https://github.com/ensonic/noflo-ui/commit/f38446b90d365d1a61799b67213440b9a958fe5f but struggle with the "fa-spin" class when running under chrome (41.0 ... 43.0), it works in firefox though. Seems to be an issue with the font-awesome css and polymer. @forresto do you have any idea here?

Yes, sounds like polyfill vs native shadow-dom. :frowning:
This /deep/ should make it work everywhere: https://github.com/noflo/noflo-ui/blob/1b975582451f39bb2c79eaaac4c0d3a8f4574961/css/font-awesome-shadow.html#L84

But we do that already. Is there any (need/way) to apply scoping to the @keyframe rules? Any idea how to debug this?


The bug of MapperMethod.SqlCommand#resolveMappedStatement method

In the method, mapperInterface and declaringClass are the same interface, and method mapperInterface.getInterfaces() returns the all super interfaces of current interface.  But for the method isAssignableFrom, subInterface.class.isAssignableFrom(superInterface.class) returns false, that is to say, the if statement is never executed.

Hello @zhangyuanchao ,
When you suspect something like this, you should confirm your theory by removing the lines inside the if statement ...
https://github.com/mybatis/mybatis-3/blob/edc7be7e0c5f05efea0230bf3b45e58c9b4d5b95/src/main/java/org/apache/ibatis/binding/MapperMethod.java#L264-L268
... and running the tests.
./mvnw clean verify

If there is no test failure, you might be right.
In this case, two tests in MapperExtendTest will fail and that means the if condition can be true.
By reading/debugging the failed tests, you may learn the reason.
Please let me know if I am misunderstanding something.


Slowness on external disk

Hello.
I'm using Elementum on Nvidia Shield TV.
Since the Nvidia Shield TV has only 16GB of internal disk space in the past I extended the internal space with a 300GB SSD disk.
The SSD disk is very fast and connected to USB 3 of the Nvidia Shield TV.
Well, before the upgrade to Android 10 all worked fine and fast, I was able to download torrent with Elementum also at 50 MB/sec on that SSD disk and play in the same file in the same time (in Elementum I set to use disk to cache, not the RAM).
Well, now that the Shield is Android 10 I'm force to use ElementumService, OK it works also to copy torrent file into my internal disk (that is this SSD disk) but during downloading and playing a 2160p (4K) movie Kodi skip lots of frame and the playback is not smooth.
For test I have switched the torrent cache in Elementum from disk to memory (RAM) and the issue disappear.
So it seems some slowness to write and read movies (torrent) from disk. Don't know if can depends of ElementumService or it depends of the new Android 10 on the Shield.
On my Nvidia Shield TV I have another external disk (on the other USB port), this is another fast NVME memory.
Well, in Elementum I select this other NVME disk for caching torrent and Elementum accept the path but during a torrent download it was not able to write the file so I suspect that Elementum via ElementumService doesn't have permission to write on this NVME memory.
Well, how can I give to ElementumService the permission also on that other NVME memory?
Thanks.

I doubt it's caused by ElementumService. The app is just a hollow wrapper that requests necessary permissions before starting Elementum's executable and then waits for it to finish before finishing itself. Apart from the initial permissions request there's no other overhead. If you're willing to uninstall Kodi you can try installing one of those modified versions that've had their target Android version lowered and can start Elementum to see if it'll work differently.
I assume your other disk doesn't extend Android's storage but is added as removable storage. In that case it'll probably be read only for third party apps except for the folder "/Android/data/". What I find odd is that you get so far with a non-writable location selected. Whenever I change the path Elementum checks if it has permission to write and opens the settings dialog again if it doesn't. You can try changing the location to "/Android/data/" somehow and see if it works there but the picker might not work. Is there even an Android folder on your drive?


Inspect with?

Hi there, it's kinda hard to navigate through the massive tree of objects. Is there a way to use the context menu and "inspect with ng-inspector"?
Cheers.

Hey @van-nguyen,
Thanks for the feedback! I agree it would be a great feature, but myself and @rev087 are pretty strapped for time lately, and tend to spend the time we do have fixing known bugs with the extension.
Having said that, PRs are encouraged, and I'd love to see the feature :)


Improve AveragePrecisionResult

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (48add97) to head (a7de410).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #100   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           35        35
  Lines          836       809   -27
  Branches        91        87    -4
=========================================
- Hits           836       809   -27

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Difference between SBERT and DPR?

Hello,
I recently read your BEIR paper and your SBERT lib doc, as well as the DPR paper. I find that DPR and SBERT share nearly the same architecture, except that SBERT tie the two encoders while DPR not. They also have the same training objective when performing dense retrieval task.
So is there any other difference between the two?

They are quite similar:

SBERT uses in most cases tied encoders, as this gives a better performance. DPR uses two independent encoders.
SBERT mainly uses mean pooling, as it is better than the used CLS pooling in DPR
DPR is fixed to bert-base, sentence-transformers can work with all encoder models.
DPR used dot-product. In SBERT, there are models with cosine similarity as well as with dot product. Both measures have their pros and cons, so no way to decide which is better.
The sentence-transformers framework comes with a lot more flexibility how to design your models and how to train them. So you can create a DPR like model also with SBERT.

Thank you for your help !


Wrong order of arguments to loss function in template example for finetuning

Hi,
I observed that the order for the loss function in the example for finetuning is switched. Instead of
self.loss(y_true, y_logits) it should be self.loss(y_logits, y_true)
Below is the exact location of the error:
https://github.com/PyTorchLightning/pytorch-lightning/blob/bd49b07fbba09b1e7d8851ee5a1ffce3d5925e9e/pl_examples/domain_templates/computer_vision_fine_tuning.py#L246

It's correct I think.
https://github.com/PyTorchLightning/pytorch-lightning/blob/bd49b07fbba09b1e7d8851ee5a1ffce3d5925e9e/pl_examples/domain_templates/computer_vision_fine_tuning.py#L206-L207
https://github.com/PyTorchLightning/pytorch-lightning/blob/bd49b07fbba09b1e7d8851ee5a1ffce3d5925e9e/pl_examples/domain_templates/computer_vision_fine_tuning.py#L192

Yes. I was used to seeing it in the (logits, target) order. Maybe we can change the loss to take in (self, logits, labels) in order to be consistent PyTorch conventions.

@ajinkya-deogade mind send a PR?


docs/guide-ja updated [ci skip]

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
--

Fixed issues
--

👍


Age filtering

No age filtering for adult and adolescent tests in MDD DTI model.

Fixed today.
The problem was: NewRegressors column and the way it was processied implied that each statement introduces a new variable. In the current case, in NewRegressors column a new variable was first introduced, and in the next 2 statements it's values were re-assigned.
I edited the code so that re-assignment is now possible too.
I'd suggest you to test the amount of AO21==1 and AO21==2 in the demographic variables, and compare it with the amount of lines with Age<22 and Age>=22 -- to be sure that reassignment works properly.
Thanks.


fix: include different ways to delete data in sample

Fixes #3033

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] API's need to be enabled to test (tell us)
[ ] Environment Variables need to be set (ask us to set them)
[ ] Tests pass (mvn -P lint clean verify)

(Note- Checkstyle passing is required; Spotbugs, ErrorProne, PMD, etc. ERROR's are advisory only)

[ ] Please merge this PR for me once it is approved.

@lesv Would you mind merging this PR? I am not authorized to do so.


Bot not starting up due to "[ERROR]: 'type' is specified more than once"

Describe the bug
So, i've created my own bot with Discordeno based from the template you have provided and customised it with my own liking. I've installed the newly released latest Deno Version, TypeScript and Discordeno version. However, when booting up the bot with the deno run --allow-read --unstable mod.ts or without the --unstable. I have ran into an error which resulted in:
ntmnathan:DenoBot ntmnathan$ deno run --allow-net --allow-read --unstable mod.ts
Compile file:///Users/ntmnathan/Documents/DenoBot/mod.ts
error: TS2783 [ERROR]: 'type' is specified more than once, so this usage will be overwritten.
          type: options.type ? ChannelTypes[options.type] : undefined,
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://raw.githubusercontent.com/Skillz4Killz/Discordeno/v1/structures/guild.ts:85:11

    This spread always overwrites this property.
              ...options,
              ~~~~~~~~~~
        at https://raw.githubusercontent.com/Skillz4Killz/Discordeno/v1/structures/guild.ts:93:11

I am not 100% sure if this is on my end or Discordeno's. Any help appreciated.
To Reproduce
Steps to reproduce the behaviour:

Execute deno run --allow-net --allow-read --unstable mod.ts
Error above will be produced

Expected behaviour
If the deno command above is executed in the bash console, it should make the bot authenticate with the API and go online.
Resources
If you want me to add screenshots/code. Let me know, but its similar to Discordeno example.
Additional context
None.

Seems like its fixed from this pull request: https://github.com/Skillz4Killz/Discordeno/pull/22

@NTMNathan Merged #22 Let me know if you still see any issues please

Sure, as of now, the bot started and commands work as expected.
Also I am having some problems (still learning as im new to Discordeno) with getting the Author/OtherUser Avatar URL and mentions:

Whats the correct way to define the Avatar for an Author (me) or another user with image size, format, dynamic image etc.?
How would I work out mentions? (E.g. Mention user for hug command)

Thanks again

Whats the correct way to define the Avatar for an Author (me) or another user with image size, format, dynamic image etc.?

@NTMNathan There was a small / typo in the avatarURL value but that is now fixed if you do deno cache --reload mod.ts it should fix itself.
user.avatarURL() => Default settings
user.avatarURL(2048) => Default image format with size of 2048
user.avatarURL(2048, 'jpg') => JPG image format with size of 2048

How would I work out mentions? (E.g. Mention user for hug command)

Discordeno provides you a message.mentions property which has all User objects for any users that were mentioned. So if for example you wanted to do a hug command you could do
const user = message.mentions.length ? message.mentions[0] : message.author

This would use the first mentioned user or if none were provided it would use the message author itself.
As an example, I just pushed a simple avatar command showing both these in action:
https://github.com/Skillz4Killz/Discordeno-bot-template/blob/master/src/commands/avatar.ts

Note: i am going to close this issue as the bug related to this issue has been closed, if you have any more questions or bugs feel free to open as many issues as you like


Add Table support to Rich. See implementation in Textual.

Consider posting in https://github.com/willmcgugan/rich/discussions for feedback before raising a feature request.
Have you checked the issues for a similar suggestions? No
How would you improve Rich?

What problem does it solve for you?

Any update on this? The switch to markdown-it-py has been done, but Rich is still not able to render markdown tables...

Table support in Markdown has been merged and will be in the next release (today).


Create autocmd in this package

Dear @kosayoda,
Would it be an idea to let the package create the autocmd, instead of the user? This requires less configuration for the user and makes the package work more 'out the box'. By giving the autocommand a group name that matches the package name, it is also more clear where the autocmd is made and belongs to. I think it's fairly easy to implement it, just add this to the setup function:
local id = vim.api.nvim_create_augroup('nvim-lightbulb', {})
vim.api.nvim_create_autocmd({'CursorHold', 'CursorHoldI'}, {
    callback = M.update_lightbulb, -- idk if M. should be used here or something else
    group = id
})

The drawback is that users do not have control anymore over 1) on which events it will update, and 2) on which file patterns. If you really want users to have control over this, it can be added to the config passed to the setup function.
Let me know what you think!

The drawback is that users do not have control anymore over 1) on which events it will update, and 2) on which file patterns. If you really want users to have control over this, it can be added to the config passed to the setup function.

This is precisely why I left the autocmd creation up to the user. I'd accept a PR providing this feature (ie. automatically create the autocmd), but it must be behind a configuration key, make it opt-in. Thanks!

Sure! I'll work on it later this month. So for my understanding, something like a create_autocmd = true in the config will do? and then also add a configuration for events (autocmd_events) and file patterns (autocmd_pattern)?

Ideally to fit the existing configuration structure, we'd have something like an autocmd key, with the value being a table with keys enabled, events, patterns.
Since we have setup configuration now (courtesy of @sebastianvera), the config key should only be allowed during setup and not per-call, since I don't think recreating the autocmd every call is a good idea.
We should also create an augroup to place the autocmd in. Feel free to work on some or all parts of this, and let me know if you need help finishing it.


module.json in 1.14.4 zip still has a 1.14.3 version number.

Title says it all really. The loose module.json is all good, it's just the zipped one.
No issues with the module itself, just keeps trying to update when "Update All" is selected in foundry, so nothing major.

Should be fixed. Version 1.15.0 now available.
Must of forgot to push the version number file change.... oops lol.


Addition of entity gender

Hi @KevinLbr ,
Thanks for the PR. Looks good to me - it would be useful for Romanian too. I would rename all_f to all_feminine or something more expressive though :-)
Anybody else has any thoughts on this? Other languages?

You're welcome @tabacitu :)

@tabacitu, i think we talked about something related some time ago. Great job done here, @KevinLbr! I think that for the Romanian language it will be a little more complicated because of the suffixes of the words (plural - all the plural+suffix). Pretty sure, @tabacitu knows what i am talking about it, though i am not that sure we can find a proper way to manage that unless we add an optional parameter... like $this->crud->setEntityNameStrings($singular, $plural, $articulatedPlural=null, $gender=null);

This could also improve german translations. We often have issues with the "new" button.
"New entity" sound perfectly fine. But in German depending of gender you need "Neue", "Neues" or "Neuer".
@AurelDragut could you clarify the need of $articulatedPlural for  people not knowing Romanian language? 😊

Hi guys,
Seems like this issue has been solved by another fix. In 3.5 that text (“All monsters in the database”) will automatically be replaced by DataTables’ text, as soon as it loads. So instead it will read “Showing 1 to 10 of 4,845 entries”.

This way, we no longer have to deal with the gender there 😄
So I’m sorry, @KevinLbr - though I really like and appreciate the PR, and now going through it I think I should have given it higher priority, I don’t think we need this anymore, so I’m going to close it. Thanks again @KevinLbr - I do appreciate it, please ask for a free commercial license at<EMAIL_ADDRESS>when you have personal projects ;-) Please don’t take it personally, your PR is top-notch, I myself have had dozens of PRs closed, and have others pending for years - nothing personal.
Cheers!


About rescale_prenorm_residual default value in Mamba 2

Hello,
Is there a reason rescale_prenorm_residual is set to False in Mamba2 (see here)? The official Mamba2 repo uses True by default (here). Asking because all other models in FLA uses True by default so I wonder if there is any special consideration here.
Thanks!

@zhixuan-lin Thank you for bringing this to our attention. The issue has been fixed.


Ban javax.el:el-api in favor of  jakarta.el:jakarta.el-api

Let's try the new GH actions functionality to re-run only the fallen jobs

@aldettinger isn't the file test failure on Java 17 something that we were addressing recently?

Indeed, but it was re-opened. I think we have just narrowed down the frequency. We follow that in https://github.com/apache/camel-quarkus/issues/3584.

Thanks @aldettinger merging this one then.


KafkaSinkCluster accept shotover addresses as domain names

We should be able to specify the addresses of shotover nodes as a domain name.
This PR makes that possible by allowing the host name to be an arbitrary string.

Worth testing by setting up DNS with Docker?

that sounds like a good idea, I'll give it a go

I dont think I can use docker to setup DNS here since shotover is not run within docker.
However I can just use localhost instead of <IP_ADDRESS>.
So thats what I did.
To make that work however I have to set an ipv4 config for the CPP driver otherwise it tries to connect with ipv6, which fails and then it gives up.


Removes use of obsolete java.util.Stack

java.util.Stack is a nonstandard class that predates the Java Collections Framework. ArrayDeque provides the same functionality, but it's not synchronized in contrast to java.util.Stack.
Fixes #271

Thank you!


Using u32 constants for LED instructions

I just learned about the Tock project and I am extremely excited about the idea of developing my own programs for it, as well as contributing to the project itself. I hope this small PR can be a small step towards becoming a productive contributor to the project. I have a great passion for beautiful, concise, and clean code.
It might make sense to prefix these constants; let me know if you'd prefer that.

Thanks @enzuru. Definitely seems good to extract the magic numbers into names.
FYI, this repo is still in nursery mode. The main repo (https://github.com/helena-projects/tock) contains a much more mature C userland library (as well as the kernel).
Until this Rust userland library has a bit more legs (we were waiting on upstream changes to LLVM and Rust that came through recently), we might not follow as strict PR guidelines (i.e. we might commit straight to master as we're getting things going). But contributions and help are still definitely welcome! Just please don't be discouraged if it's not yet super organized or you see some unnecessary bike shedding.


The label for the list of tunes in a returned JSON TuneList record is misleading

It is tune rather than tunes

Similarly user for users in User lists.

Fixed by 9d39007b5740f70b3e39f753518ddc0a8000ede1.


Use unique node identifiers

Currently, Copycat uses IP addresses as node identifiers. This can cause problems when migrating a node's data across IP addresses. A node's IP address should be dynamically updated when it joins/rejoins the cluster, and each node should instead use a unique string/numeric identifier instead.

👍 on this. Certainly makes sense to have some UID per instance.

I am trying to put some of cluster applications leveraging copycat cluster on kubernetes, and only using ip addresses cause difficulties since ip can always changes. Is there any "planned" schedule to implement this?


Demo: multiplot with resizable borders

This PR extends the WinForms collapsed subplot demo to enable draggable borders between subplots.
See #4600 for additional discussion

This demo can be applied a cross-plot crosshair?

This demo can be applied a cross-plot crosshair?

Hi @tiger2014, I'm not sure I understand your question.
https://scottplot.net/demo/5.0/#draggable-axis-lines may relate to your question

This demo can be applied a cross-plot crosshair?

Hi @tiger2014, I'm not sure I understand your question.
https://scottplot.net/demo/5.0/#draggable-axis-lines may relate to your question

Like this screenshot, the crosshair crosses diffrent sub-plot:


[Feature] Bumping minimum target to iOS 14

Purpose
Updating minimum taget to iOS 14
Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

What to Check
Full regression test is needed

Should we start a thread with Jorge about the update in the channel, to make sure we are admitted for minimum version bumping

We should update the podspec in root as well with new min version.

Good catch. Updated!

Should we start a thread with Jorge about the update in the channel, to make sure we are admitted for minimum version bumping

For sure. Maybe I can revert this to a draft for now so it is not accidentally merged

Could you also update accessibility functions usage from accessibility(<parameterName>:) to accessibility< parameterName >? As Apple has added updated functions with iOS 14 and as we don't need to support iOS 13 anymore we can update those methods. For example: accessibility(hidden:) -> accessibilityHidden(_:)

I can update the hidden methods. Do you know which other ones there are? Also do we need to update these methods? I don't see Xcode complaining about deprecated methods so not sure what the value is for doing all this.

you can search with "accessibility(" in our project and all of those methods should be updated. I think we neeed a they were used only because of support of iOS 13 (they deprecated in iOS 15) and the new one were introduced in iOS 14.  Also, we can create a separate task for updating those if you want.

@palatter @vhuseinova-msft we are going to need to regression the accessibility too when we do the bug bash.


Added type annotations

I added type annotations to the code, which are compatible with 3.8 and newer. (unsure about older versions).
I would suggest making a dataclass or similar structures for return values.
Solves #6

Looks good thanks!


Pagination

Paginate the front page using https://www.gatsbyjs.org/packages/gatsby-paginate/

I can take this up?

@gragland
I've added basic pagination using gatsby-paginate. Please go through the code in the commit. For reference, I've pushed the built index.html onto my gh-pages branch, so can be viewed here: https://danedavid.github.io/usehooks ( the links don't work because I've not hosted it ). Please update me with necessary styles changes or any other.

Thanks @danedavid, this looks great! No immediate changes come to mind so feel free to raise a PR and I'll merge.

Raised: https://github.com/gragland/usehooks/pull/33


Change Date created table header

Change copy.

Closing to send a different more up to date one. 💃


Fix spelling mistake in readme

I signed it!

Thanks for the fix, but I just removed that section. Sorry!


Could not serialize attribute on save

When casting a longstrider on character and then saving and loading a game (in caer clyflen), I'm getting an error:
Could not serialize attribute on save. It looks like the attribute is empty/ null however, as it's not printed out.

Happening to me almost all the time after last update, but doesn't seem to be causing any other issue aside from the warning.

Thanks for the confirmation. Will remove popup from fix.

fixed in dev.


initial commit

@jhaugh42 please add a readme.md to document the current expected state of this implementation and how it is expected to be used.


link FAQs

http://www.pombase.org/faqs/how-can-i-find-s-pombe-orthologs-species-other-human-and-s-cerevisiae
http://www.pombase.org/faqs/how-can-i-find-orthologs-between-s-pombe-and-other-schizosaccharomyces-species

they are linked


Release 2.24.0

The history seems a little weird. Sure you have the correct master branched?

Codecov Report

Merging #3141 (46bca1b) into master (abe5c08) will decrease coverage by 1.87%.
The diff coverage is 61.30%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master    #3141      +/-   ##
==========================================
- Coverage   27.51%   25.65%   -1.87%
==========================================
  Files          52       53       +1
  Lines       11573    11481      -92
==========================================
- Hits         3184     2945     -239
- Misses       8389     8536     +147

Impacted Files
Coverage Δ

clientonly/index.js
0.00% <ø> (ø)

js/check_config.js
0.00% <ø> (ø)

js/class.js
72.22% <ø> (-0.26%)
:arrow_down:

js/electron.js
0.00% <0.00%> (ø)

js/fetch.js
100.00% <ø> (ø)

js/loader.js
0.00% <ø> (ø)

js/main.js
0.00% <0.00%> (ø)

js/node_helper.js
98.57% <ø> (-0.04%)
:arrow_down:

js/server.js
95.79% <ø> (-0.11%)
:arrow_down:

js/server_functions.js
90.90% <ø> (-0.43%)
:arrow_down:

... and 30 more

looks like the strange test (14.x) is blocking merge


[Backport] fix schema validation errors in service provider metadata

This is a backport of this PR : https://github.com/onelogin/ruby-saml/pull/243

@mru2 to merge ?


Build LND subservers when building docker image

Now that the official releases are built with subservers, can/should we build docker images with subservers by default too?
This one-line change is all I needed to do to build LND with subservers so loop would work with the docker image.
(Checklist not applicable - it's a one-line change to a docker file rather than a go file.)

Now that the official releases are built with subservers, can/should we build docker images with subservers by default too?

Doing so makes sense to me. Could you also update lnd/Dockerfile?

lnd/Dockerfile updated as requested. (Apologies - I didn't even know it was there.)


⚠ Bofrost.nl has degraded performance

In b5023dd, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1366 ms

Resolved: Bofrost.nl performance has improved in f1ce5ba.


Ensure that types derived for REPL expressions have no free type variables

Ensure that types derived for REPL expressions have no free type variables. Currently the type resolver will return a type like 'a list -> 'a, which has a free type variable. When that value is applied to a value, say an int, the type of the result will be wrongly given as 'a when it should be int.
The solution is to wrap the derived type in a ForallType if there are any free type variables.
As part of the solution, add class TypeVisitor and method Type.accept(TypeVisitor).

Fixed in 8a553d8485b5cf2f7e109da1c483e5a91ec62dd4.


Final milestone: Awesome Books

In this milestone, we took the Awesome books (📒📙📘📗📖📓) application and convert it into a fully functional website. We refactored the project to add three new sections.: Books list (done), Add book form(done), a new Contact info section, a Navigation bar, and a Footer.
These are the project requirements:

Modify the Awesome books application to have:

A Navigation bar.
Three content sections:

Books list.
Add book form.
Contact info.

Make sure that when you click on any of the links, the main area changes to display only one of the three content sections.

To change the contents of the page, don't use any library or framework, use only plain JavaScript and CSS.

Thank you @abdulhamiid. Good feedback!!.


Automated cherry pick of #5126: fix: 添加host标签返回值

Cherry pick of #5126 on release/3.1.
#5126: fix: 添加host标签返回值

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.1@c85a8d3). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             release/3.1   #5127   +/-   ##
=============================================
  Coverage               ?   6.75%
=============================================
  Files                  ?     545
  Lines                  ?   95251
  Branches               ?       0
=============================================
  Hits                   ?    6433
  Misses                 ?   88280
  Partials               ?     538

Flag
Coverage Δ

#aFlag
6.75% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/hosts.go
0.33% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c85a8d3...6345086. Read the comment docs.

/lgtm

/approve


Update index.html

Updated registration link.

@LavaKumar21 Thanks for the update!
P.S. From next time, assign me as the reviewer so that I can immediately get notified about it.


[DO NOT MERGE] FDO client demo

Some things to enable an FDO demo which fills in /config/server and /config/root-certificate.pem using Fido Device Onboarding, plus a binary blob of the FDO client from Intel.
This images produced with this PR require that there be an FDO setup since the images do not include /config/server nor /config/root-certificate.pem. But the first three commits can be pushed to master at some point in time since they merely make EVE robust against /config/server and /config/root-certificate.pem not being initially present when the device boots (avoiding log.Fatals in such a case.)
Also, the pkg/pillar/fdo-alpine-3.16/linux-client is a binary blob and in due time it makes sense to either build that from source or pull it from e.g., docker hub.
Last but not least, in a production setup the manufacturer would create the secrets corresponding to the FDO ownership voucher in the TPM, and then the FDO client would read those. For the purposes of making the demo easier (and not rely on TPM clear) they are instead in pkg/pillar/fdo-alpine-3.16/data/

There is need to 1) create the FIDO vouchers on the device, 2) import them on the destination controller. Sure it is standard and good, but I have hard time seeing the benefits (for our use case) compared to implanting the countroler public key and onboarding them in a secure environment, because with FIDO now there is an extra manual step (importing vouchers) to just benefit from the mutual authentication.

There is need to 1) create the FIDO vouchers on the device, 2) import them on the destination controller. Sure it is standard and good, but I have hard time seeing the benefits (for our use case) compared to implanting the countroler public key and onboarding them in a secure environment, because with FIDO now there is extra manual steps (importing/~exporting~ vouchers) to benefit from the mutual authentication.

Correct, which is why this is just for a demo for now.
The benefit we would get (if/when the hardware manufacturer generates the vouchers and put the corresponding private key ib the TPM) is that we can have a single EVE image which is not yet tied to a particular controller (server and root-certificate.pem) but instead have FDO provide that.
If hardware manufacturers start doing that FDO work we can later expore using this for other aspects (such as side-loading application images etc).


More descriptive error when accessing an unhandled mobject attribute

Motivation

Because #995 added a __getattr__ method to Mobject, all incorrect accesses to a mobject's attributes goes through that method, but the resulting error does not have an accompanying message (sorry). This fixes that.
Overview / Explanation for Changes

Adds an error message to the error raised at the end of __getattr__. It uses f"{self} ..." to take advantage of mobjects' custom representations, particularly with Text and Tex and such which include their content in their representation.
Oneline Summary of Changes

- More descriptive error when accessing an unhandled mobject attribute (:pr:`1059`)

Testing Status

This change shouldn't affect any tests.
Acknowledgements

[x] I have read the Contributing Guidelines

Reviewer Checklist

[ ] Newly added functions/classes are either private or have a docstring
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings
[ ] The oneline summary has been included in the wiki

Tests are failing for 3.8
And, do you mind adding a test for this?

Welp, tests should pass now, though now we don't take advantage of mobject representations. My bad for not testing what I thought would be an utterly simple change


qemu_cortex_r5` CI fails

Describe the bug
qemu_cortex_r5 CI fails. Seen at #52737 https://github.com/zephyrproject-rtos/zephyr/pull/52737/checks?check_run_id=9939578665
To Reproduce
The latest main branch:
west build -p always -b qemu_cortex_r5 zephyr/tests/kernel/workq/work_queue/ -t run
Expected behavior
TEST should pass
Impact
CI failure
Logs and console output
Test Results
zephyr/tests/kernel/workq/work_queue/kernel.workqueue (qemu_cortex_r5:zephyr/tests/kernel/workq/work_queue/kernel.workqueue) failed
*** Booting Zephyr OS build zephyr-v3.2.0-2384-g9701fcd738be ***
Running TESTSUITE workqueue_delayed
===================================================================
 - Initializing test items
 - Submitting test items
 - Submitting work 1 from preempt thread
 - Running test item 1
E: ***** UNDEFINED INSTRUCTION ABORT *****
E: r0/a1:  0x00003055  r1/a2:  0x00010adc  r2/a3:  0x00000000
E: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00012858
E:  xpsr:  0x0000001f
E: Faulting instruction address (r15/pc): 0x00012818
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x10768 (idle)
E: Halting system

Test Results
zephyr/tests/ztest/base/testing.ztest.base.verbose_0_userspace (qemu_cortex_r5:zephyr/tests/ztest/base/testing.ztest.base.verbose_0_userspace) failed
*** Booting Zephyr OS build zephyr-v3.2.0-2384-g9701fcd738be ***
Running TESTSUITE fail_in_setup
===================================================================

    Assertion failed at WEST_TOPDIR/zephyr/tests/ztest/base/src/main.c:157
START - test_should_never_run
 PASS - test_should_never_run in 0.001 seconds
===================================================================
START - test_should_never_run
 PASS - test_should_never_run in 0.001 seconds
===================================================================
TESTSUITE fail_in_setup succeeded
Running TESTSUITE fail_in_setup
===================================================================

    Assertion failed at WEST_TOPDIR/zephyr/tests/ztest/base/src/main.c:157
START - test_should_never_run
 PASS - test_should_never_run in 0.001 seconds
===================================================================
START - test_should_never_run
 PASS - test_should_never_run in 0.001 seconds
===================================================================
TESTSUITE fail_in_setup succeeded
Running TESTSUITE fixture_tests
===================================================================
START - test_fixture_pointer
E: ***** DATA ABORT *****
E: Permission Fault @ 0x00000000
E: r0/a1:  0x00000000  r1/a2:  0x0000dee8  r2/a3:  0x00000000
E: r3/a4:  0x00020554 r12/ip:  0x00021cc4 r14/lr:  0x000000bc
E:  xpsr:  0x40000073
E: Faulting instruction address (r15/pc): 0x000201ac
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20020 (test_fixture_pointer)
E: Halting system

Environment (please complete the following information):
Additional context

looks like the main stack overflows


effect of \displaystyle should continue until next style command

If there's a group that comes right after \displaystyle then we only apply its effects to that group instead of everything that follows \displaystyle.
\overbrace{
\displaystyle{\oint_S{\vec E\cdot\hat n\,\mathrm d a}}}^\text{emf} =
\underbrace{\frac{q_{\text{enc}}}{\varepsilon_0}}_{\text{charge}}

LaTeX is in green, KaTeX is in red.  Notice the size difference.

Don't think this is a correct analysis. The \displaystyle is inside a group, the \overbrace group.
What really appears to be going on is that \underbrace and \overbrace should put their arguments into display mode unconditionally. TeX input
$
{{\oint_S{\vec E\cdot\hat n\,\mathrm d a}}} =
{\frac{q_{\text{enc}}}{\varepsilon_0}}
$

$
\overbrace{{\oint_S{\vec E\cdot\hat n\,\mathrm d a}}} =
\underbrace{\frac{q_{\text{enc}}}{\varepsilon_0}}
$

Image output

groupTypes.horizBrace has the following code:
    // Build the base group
    const body = buildGroup(
       group.value.base, options.havingStyle(style.cramp()));

I'm not sure what cramped means, but I'm guessing we want to in addition / instead switch style to its display version, with a new display() method on Style?

"Cramped" is a style modification in which exponents are not raised as high as they would be in in non-cramped style. "Cramped" is typically used in something like a fraction numerator or denominator, or in this case, a brace.
I reckon that you are correct in saying that a style adjustment is needed here. If you would like to suggest something more detailed, that would be welcome. Otherwise I'll get some time for research in a few days.

Definition of \over/underbrace in LaTeX fontmath.ltx
\def\overbrace#1{\mathop{\vbox{\m@th\ialign{##\crcr\noalign{\kern3\p@}%
      \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}%
      $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
\def\underbrace#1{\mathop{\vtop{\m@th\ialign{##\crcr
   $\hfil\displaystyle{#1}\hfil$\crcr
   \noalign{\kern3\p@\nointerlineskip}%
   \upbracefill\crcr\noalign{\kern3\p@}}}}\limits}

I'm a little confused about cramped style.  Does it correspond to something in LaTeX (perhaps defined in mathtools?) that you're reproducing?  I looked at mathtools's definition of \over/underbrace and didn't see anything about "cramped"...
\def\overbrace#1{\mathop{\vbox{\m@th\ialign{##\crcr
  \noalign{\kern.5\fontdimen5\textfont2}%
  \downbracefill\crcr
  \noalign{\kern.7\fontdimen5\textfont2\nointerlineskip}%
  $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}

Anyway, with the following change:
diff --git a/src/buildHTML.js b/src/buildHTML.js
index 944fdc6..d9d8e9a 100644
--- a/src/buildHTML.js
+++ b/src/buildHTML.js
@@ -1516,7 +1516,7 @@ groupTypes.horizBrace = function(group, options) {

     // Build the base group
     const body = buildGroup(
-       group.value.base, options.havingStyle(style.cramp()));
+       group.value.base, options.havingBaseStyle(Style.DISPLAY));

     // Create the stretchy element
     const braceBody = stretchy.svgSpan(group, options);

I get the following texcmp output for the HorizontalBraces test, which seems to be on the right track:

Looks great!

OK, #765 was merged, which switches the text being braced into displaystyle. This definitely seems in line with the LaTeX/mathtools source.
@ronkok In particular, I don't see why the main-line text would be cramped.  (I could see it for the above/below text...)  Do you agree?

I do agree.

FYI TeX commands such as \textstyle/\displaystyle always reset the “cramped” flag to false.

Finally found "cramped" briefly mentioned on page 140 of the TeXbook.

TEX actually has eight different styles in which it can treat formulas, namely
display style (for formulas displayed on lines by themselves)
text style (for formulas embedded in the text)
script style (for formulas used as superscripts or subscripts)
scriptscript style (for second-order superscripts or subscripts)
and four other “cramped” styles that are almost the same except that exponents aren’t raised quite so much. For brevity we shall refer to the eight styles as
D, D', T, T', S, S', SS, SS',
where D is display style, D' is cramped display style, T is text style, etc.

Looks like #765, which uses options.havingBaseStyle(Style.DISPLAY), will indeed reset cramped to false.

Yep, that's "cramped". And KaTeX does use "cramped" to modify sup elevation when inside numerators, denominators, \sqrt, etc. It was an error on my part to use it inside \overbrace. I'm glad that others have straightened things out.