alexharsanyi
2020-1-10 08:08:10

On Windows, Racket is installed in C:\Program Files, which cannot be modified by the user (which a raco setup command tries do do). I suspect the same thing would happen on MacOS if you placed Racket in /Applications instead of somewhere in your home directory.

to run raco setup for your package only, you can do raco setup --package YOUR-PACKAGE


pocmatos
2020-1-10 11:18:54

The pkg system doesn’t seem to want to update my loci package: https://pkgd.racket-lang.org/pkgn/package/loci Last time it ran the tests was on November 24th. @samth do you know anything about this? I have been trying to force a rebuild for the past couple of days but nothing yet.


mflatt
2020-1-10 12:56:06

It looks like the checksum was updated at http://pkgs.racket-lang.org\|pkgs.racket-lang.org, but the package build runs once every 24 hours (no matter how many times you request an update). It starts in 5 minutes, so let’s check again in an hour or two.


mflatt
2020-1-10 12:57:10

Also, the package-build system only runs tests for packages that changed or that have dependencies that changed. It doesn’t run every package every day.


pocmatos
2020-1-10 14:28:28

Mine changed several times in 2020, and tests shouldn’t have any errors. At the same time, I have changed the git repo information so I was concerned, it started for some reason ignoring it.


pocmatos
2020-1-10 14:28:38

Thanks - lets wait and see.


mflatt
2020-1-10 15:14:49

I see only commits on January 8 and 9 at https://github.com/pmatos/racket-loci/commits/master, but maybe I misunderstand. In any case, the pkg build is still running, but I can confirm that it has rebuilt loci this time.


pocmatos
2020-1-10 15:55:43

Yes - true, most of my commits were in a branch I merged to master recently. Still , was surprised that no rebuild happened on the 9th given there was a change on the 8th.


leif
2020-1-10 15:55:47

Is it just me, or has DrRacket been freezing up very frequently for anyone else too?


leif
2020-1-10 15:56:01

(Like, every 30–60 minutes or so)


leif
2020-1-10 15:56:16

@mflatt or @robby You may know something about it?


robby
2020-1-10 15:56:32

I’m not seeing it.


robby
2020-1-10 15:56:49

But if you start drracket from the shell and then hit control-c during the freeze we might learn something from the stacktrace


leif
2020-1-10 15:57:06

Mmm…good idea. I’ll let you know the next time it happens.


leif
2020-1-10 15:57:08

Thanks. :slightly_smiling_face:


robby
2020-1-10 15:57:21

oh: are you using CS?


robby
2020-1-10 15:57:27

If so, then yes, I do see those sometimes.


robby
2020-1-10 15:57:39

Not sure it is that often and I don’t know the cause.


leif
2020-1-10 15:58:01

Nope, I’m using the default build still.


gknauth
2020-1-10 16:26:12

Thanks. Got this:


gknauth
2020-1-10 16:26:58

raco setup --package NocAssist raco setup: unknown switch: --package


gknauth
2020-1-10 16:28:16

Tried: raco setup --pkgs NocAssist Got: pkd->collections: package not foun package: NocAssist`


gknauth
2020-1-10 16:41:10

I thought I could just run raco scribble on my *.scrbl files, but it looks like that’s blocked.


gknauth
2020-1-10 17:02:35

This did what I needed:


pocmatos
2020-1-10 17:07:25

Update was successful, it seems. Thanks.


leif
2020-1-10 19:42:40

@robby Rats, that didn’t help. :disappointed:


robby
2020-1-10 19:42:49

ok


leif
2020-1-10 19:42:58

leif@FEM ~ $ drracket ^C[1] 28482 killed drracket


leif
2020-1-10 19:43:09

BUT, I did have top open this time when it happened.


leif
2020-1-10 19:43:21

And all of the sudden the memory use started going through the roof.


leif
2020-1-10 19:43:38

And I think the reason its freezing up is because it actually started swapping.


robby
2020-1-10 19:43:52

are you running a program with an infinite loop?


leif
2020-1-10 19:43:57

Which makes me think memory leak. But needs more testing.


leif
2020-1-10 19:44:01

Nope


robby
2020-1-10 19:44:06

ok


leif
2020-1-10 19:44:14

At least not in the foreground.


robby
2020-1-10 19:44:26

And you didn’t do anything besides control-c and wait?


leif
2020-1-10 19:44:50

I mean, I couldn’t do much else. My whole computer got sluggish.


leif
2020-1-10 19:44:55

(Which sometimes happens too.)


leif
2020-1-10 19:45:28

I’m thinking of removing all packages I have installed, and seeing if it happens again.


leif
2020-1-10 19:45:50

Just in case one of them installed a drracket plugin that’s causing a background memory leak.


robby
2020-1-10 19:45:55

maybe it got killed by the os because it ran out of memory instead of your control-c being what was handled.


leif
2020-1-10 19:46:12

I agree, and think that’s what happened.


robby
2020-1-10 19:46:32

well, I guess the thing to focus on is what you did just before to see if you can make it happen.


robby
2020-1-10 19:46:38

sorry I’m not much help


leif
2020-1-10 19:46:53

I was literally typing out git commit at the time.


leif
2020-1-10 19:47:09

In a terminal in a repo that had nothing to do with racket.


leif
2020-1-10 19:47:18

(But was my shell scripts repo)


leif
2020-1-10 19:47:39

Also no worries. I appreciate the ideas. If nothing else, it gives me something to test. :slightly_smiling_face: