Servlet Error #21

Closed
opened 10 years ago by Marcelli · 2 comments
Marcelli commented 10 years ago (Migrated from github.com)

I get an error when trying to master the second tutorial.
I created article.html.pmd. But if I click in the tree on "out" I get the following error. I have the same issue with all other files: "out" triggers a servlet error.
What do I do wrong?

`Exception

The application raised an exception with the message:

string-downcase: contract violation
expected: string?
given: 'gif

Stack trace:

loop at:

at:
line 255, column 18, in file /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt
out at:

at:
line 49, column 2, in file /home/marc/.racket/6.1/pkgs/pollen/server-routes.rkt
at:
line 58, column 2, in file /usr/share/racket/pkgs/web-server-lib/web-server/dispatchers/dispatch-servlets.rkt
at:
line 112, column 8, in file /usr/share/racket/pkgs/web-server-lib/web-server/private/dispatch-server-unit.rkt`

I get an error when trying to master the second tutorial. I created article.html.pmd. But if I click in the tree on "out" I get the following error. I have the same issue with all other files: "out" triggers a servlet error. What do I do wrong? `Exception The application raised an exception with the message: string-downcase: contract violation expected: string? given: 'gif Stack trace: loop at: <unknown location> <unknown procedure> at: line 255, column 18, in file /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt out at: <unknown location> <unknown procedure> at: line 49, column 2, in file /home/marc/.racket/6.1/pkgs/pollen/server-routes.rkt <unknown procedure> at: line 58, column 2, in file /usr/share/racket/pkgs/web-server-lib/web-server/dispatchers/dispatch-servlets.rkt <unknown procedure> at: line 112, column 8, in file /usr/share/racket/pkgs/web-server-lib/web-server/private/dispatch-server-unit.rkt`
mbutterick commented 10 years ago (Migrated from github.com)

Thank you, this has been fixed. Use raco pkg update --update-deps pollen to get the fix.

Thank you, this has been fixed. Use `raco pkg update --update-deps pollen` to get the fix.
Marcelli commented 10 years ago (Migrated from github.com)

Thanks! It works!
Pollen is a fine program. I am looking forward to the third tutorial!

Thanks! It works! Pollen is a fine program. I am looking forward to the third tutorial!
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#21
Loading…
There is no content yet.