rendering a pagetree with -f option doesn't work anymore #252

Closed
opened 4 years ago by stschmid · 1 comments
stschmid commented 4 years ago (Migrated from github.com)
> raco pollen render -f primary.ptree
pollen: rendering primary.ptree
current-directory: contract violation
  expected: path-string?
  given: 'relative
  context...:
   /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/pagetree.rkt:221:25: pagetree->paths
   /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt:486:18
   /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt:133:6: force-paths
   /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt:129:2: handle-batch-render
   /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/external/logging.rkt:46:0: with-intercepted-logging
   body of (submod "/Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt" raco)
   /Applications/Racket/collects/raco/raco.rkt:41:0
   body of "/Applications/Racket/collects/raco/raco.rkt"
   body of "/Applications/Racket/collects/raco/main.rkt"

This still works:

> raco pollen render primary.ptree
pollen: rendering primary.ptree
pollen: rendering /de/aktivitaeten.html.pm
...
``` > raco pollen render -f primary.ptree pollen: rendering primary.ptree current-directory: contract violation expected: path-string? given: 'relative context...: /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/pagetree.rkt:221:25: pagetree->paths /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt:486:18 /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt:133:6: force-paths /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt:129:2: handle-batch-render /Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/external/logging.rkt:46:0: with-intercepted-logging body of (submod "/Users/stschmid/Library/Racket/8.0/pkgs/pollen/pollen/private/command.rkt" raco) /Applications/Racket/collects/raco/raco.rkt:41:0 body of "/Applications/Racket/collects/raco/raco.rkt" body of "/Applications/Racket/collects/raco/main.rkt" ``` This still works: ``` > raco pollen render primary.ptree pollen: rendering primary.ptree pollen: rendering /de/aktivitaeten.html.pm ... ```
mbutterick commented 4 years ago (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#252
Loading…
There is no content yet.