"bad array subscript" errors when using "ram" mode #50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If I build my site using "ram" mode, I get the following errors, which end the build process:
If I use the "normal" mode, the site builds correctly.
The line
scripts/build/content.sh: line 59: /home/neil/dl_bssg/.bssg_cache/meta/: Is a directoryis correct: there is a directory at that path.Sorry, I am not sure what other useful information I could provide here.
Hi, can you please tell me the OS/version/bash version you're using?
Thank you!
Not hijacking the thread but adding my own observations…
macOS Tahoe 26.3.1
GNU bash, version 5.3.9(1)-release (aarch64-apple-darwin24.6.0)
(bash installed via homebrew)
bssg: updated to
cbc08b0I too saw these errors recently when starting fresh on a new site. (bad array subscript; grep: no such file or directory)
I switched to ’normal’ build mode and carried on as Neil did. Since then I’ve added several pages and posts.
Today when sitting down to respond I decided to switch back to ‘ram’ mode to duplicate the problem… and guess what? I am no longer getting the errors.
I will try to duplicate the problem again...
Okay - I’ve got two sites, and the other one does continue to exhibit the errors when “ram” mode is enabled.
And you fixed it! “no pages” was the issue. Thanks!
Thank you, fixed
@stefano wrote in #50 (comment):
Thank you!