Closed otherjoel closed 4 days ago
My congame-web/info.rkt
does not define congame-studies
and it works. This is the totality of it:
#lang info
(define collection "congame-web")
(define deps '("base"
"component-lib"
"congame-core"
"conscript"
"crypto-lib"
"db-lib"
"dbg"
"deta-lib"
"forms-lib"
"gregor-lib"
"http-easy"
["koyo-lib" #:version "0.23.1"]
"koyo-north"
"koyo-postmark"
["koyo-sentry" #:version "0.1.1"]
("libargon2-x86_64-linux" #:platform #rx"x86_64-linux")
("libargon2-x86_64-macosx" #:platform #rx"x86_64-macosx")
"sentry-lib"
"threading-lib"
"web-server-lib"))
(define build-deps '())
What may be the problem (and I am just speculating) is that after you added some studies to congame-web/info.rkt
, you created some in your DB (or in the cache for compiled files) that expect there to be some. Do you get that error for a clean install of congame? That is, do you get an error message about congame-web
even then?
If not, you'll need @Bogdanp to help you out on this one.
The fact that your congame-web/info.rkt
doesn't have this definition and works fine tells me it’s almost certainly an issue with my environment, so I’ll close this off. You’re probably correct that I need to try again with a clean install.
In the master branch's current
README
, it says:The phrase “the package” here seems ambiguous; I understood it to refer to
congame-web
, and that the example lines should be thus be added tocongame-web/info.rkt
. (And I added language to that effect in the intial commits of #153.) But one of Marc's comments reviewing #153 made me wonder whether I had misinterpreted this.If I do add these lines to
congame-web/info.rkt
I get an error starting the application:The
congame-web/info.rkt
on the master branch does not have a(define congame-studies …)
expression; but without it, I get a different error:But it does work if I add
(define congame-studies '())
tocongame-web/info.rkt
.At this point, I believe the line in the README is supposed to refer to the
info.rkt
in the study package, not incongame-web
. However, it seems as though thecongame-web/info.rkt
file does also need updating because, out of the box, it's missing the(define congame-studies '())
statement that it needs for the application to run.It seems like
congame-web/info.rkt
should be amended to include the line(define congame-studies '())
. But let me know if I have missed something here.