Closed pmarinov closed 3 years ago
has been working for a long time and I have been simply adding pages to the book (index.ptree), and now suddenly it complains
What changed? Did you update Pollen or Racket or any other underlying pieces?
The new thing is that I had added this at the end of index.ptree:
◊pages/commands.poly.pm{
pages/commands_internal.poly.pm
}
The function (node-menu) is invoked in many pages prior commands.poly.pm. If I remove the call to (node-menu) from this page specifically the project also compiles successfully.
The strange thing is if I add it to any other part of index.ptree the project compiles (I do "pollen reset" between these experiments)
Otherwise, I've updated the machine a few weeks ago, but I believe I did a "pollen reset" after that.
OK, thanks for the report. I’ve pushed a fix for this issue.
It works.
I did:
$ raco pkg update pollen
$ raco pollen reset
$ make all
And my project compiled.
Thank you for the fix. Thank you for making Pollen.
Hello,
My pollen.rkt is: https://github.com/pmarinov/bash-scripting-guide/blob/master/pollen.rkt
I get this error backtrace:
Observations of strangeness, this error wouldn't show up if:
raco pollen render -r html pages/commands.poly.pm
ORln -s ../index.ptree index.ptree
and in function node-menu I pass "index.ptree" not "../index.ptree"I run
raco pollen reset
before each of the observations above. Any single step will make the problem not show up.This code (pollen.rkt) has been working for a long time and I have been simply adding pages to the book (index.ptree), and now suddenly it complains.
What could be the problem? Thank you for taking the time to look into it.