Joe Heffer

Results 8 comments of Joe Heffer

> > > I am facing the same issue, > @Joe-Heffer-Shef could you find any solution? I'm afraid not. I'm now using Anchore instead.

It looks like it's something to do with how `len` works. For example: ```python >>> import os >>> data = os.urandom(32) >>> data b"\xaf\xc6\x89\xc4xt2s'_\xc5\xd3\xb1\xe9\x86\xa5&\x80\xf2!\x96q\xff\xbc\x81?\xc4\x8e\x14q\xe9E" >>> len(data) 32 ```

I think the Python built-in function `len` is created using CPython so the source code isn't available. https://docs.python.org/3/library/functions.html#len ```python def len(*args, **kwargs): # real signature unknown """ Return the number...

> For what possible values of `b` and `data` will `b[:len(data)] = data` (or parts of it) raise that exception? > > If you're able to dig in with a...

I'm also interested in this! Unfortunately I'm unaware of any simple, readable way to implement this in R. A function like this might be suitable? ```R date_format

The problem goes away when I use an older image (`2022-09-22-raspios-bullseye-armhf-lite.img`) and I reach the login screen.

The error exists when using 5th Dec 2023 Bookworm: `docker run -it -v .\2023-12-05-raspios-bookworm-armhf-lite.img:/sdcard/filesystem.img lukechilds/dockerpi:vm pi3` ``` image: /sdcard/filesystem.img file format: raw virtual size: 2.36 GiB (2537553920 bytes) disk size:...

The 2023-12-11 Bookworm version works with `pi2` version, although I don't know the password >.< ``` docker run -it -v .\2023-12-11-raspios-bookworm-armhf-lite.img:/sdcard/filesystem.img lukechilds/dockerpi:vm pi2 ```