Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
02:33
Xliff left
|
|||
lizmat | meh, after upgrading Cro, my IRC log server dies with: | 10:01 | |
P6M Merging GLOBAL symbols failed: duplicate definition of symbol Router | |||
update: so I had all my code using an explicit version of Cro: 0.8.5 | 10:47 | ||
after upgrading, things started to fail | |||
changing all the use statements to 0.8.6 explicitely, solved the problem | 10:48 | ||
so it feels to me Cro is internally not using an explicit version, and that causes issues? | |||
jnthnwrthngtn | Oddly, 0.8.6 is the first release where we actually did declare versiond dependencies of all the Cro parts in META6.json | 12:54 | |
So this is the release where you should have been least likely to see such a problem | |||
13:16
Xliff joined
|
|||
Xliff | Good morning. | 13:16 | |
I'm getting the following error when I use a post-block within a route-block: | |||
Dynamic variable $*CRO-ROUTE-SET not found | 13:17 | ||
Ah! The above comes from spelling the top-level route {} as "routes" | 13:23 | ||
So I am now getting the following error, since my top-level routes is a single include(): | 13:24 | ||
"Can only use 'include' with `route` block, not a Nil" | |||
Ah! Again solved. One of the included was missing its surrounding route-block | 13:26 | ||
OK, for the time being, "template-location" does not seem to be working from a route-block, so I am using hardcoded locations. | 13:53 | ||
After fixing a few bugs, I have run into a bit of a problem,. | 13:54 | ||
<:use My::CompUnit>, where My::CompUnit is a simple Raku package containing a single exported sub is not finding that sub for use. | |||
The explanation here seems to refer to templates: cro.services/docs/reference/cro-we...te_modules | 13:55 | ||
I would like some of my subs available to the templates. How can this be accomplished? | |||
lizmat | jnthnwrthngtn: declaring in META does not make it load that version in an unversioned "use" statement, I don't think | 14:09 | |
14:53
lizmat_ joined
14:54
lizmat_ left,
lizmat_ joined
14:58
lizmat left,
lizmat_ left,
lizmat joined
|
|||
Xliff | Cro release from yesterday is not recognized by zef. | 15:54 | |
I tried to upgrade on the work dev environment (which hasn't been touched in months) and zef still thinks it's at the previous version. | 15:55 | ||
lizmat | that's strange: "zef upgrade" upgraded it for me | ||
Xliff | cdf | ||
18:38
Xliff left
|