Comments (8)
The only call to make-directory
in cm.rkt is:
(with-compiler-security-guard (make-directory* code-dir))
And @rfindler changed code-dir
's definition recently, maybe it's related to that change?
from drracket.
Yes, definitely related.
Is this a snapshot build?
from drracket.
@rfindler Yes, a source build of https://plt.eecs.northwestern.edu/snapshots/current/installers/racket-test-6.4.0.15-src.tgz
, the bug occurs with the pre-built-packages tarball too.
from drracket.
I've pushed something that just gives up trying to put .zo files into directories that are not writeable. This seems like it can get into trouble if you ever open and modify a file that one of those files depends on (as those .zo files will be wrong and yet still used), and this can happen if you do something like "raco pkg update --clone " of some pkg where you put the cloned version of it in a writeable place. But hopefully that's not what's happening here.
Here's the commit. Tomorrow's build should have it and in the meantime you can uncheck the language dialogs "populate compiled directories" checkbox (click "show details" to make it appear).
from drracket.
(I've closed this, but feel free to re-open if there are further problems.)
from drracket.
Thanks! I'll try it when it comes out.
from drracket.
@rfindler: The problem is still there with today's nightly (20160403-794061b), but it got worse as now even #lang racket
and #lang racket/base
don't work. They both give the following error:
../../nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/compiler/cm.rkt:358:0: make-directory: cannot make directory
path: /nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/racket/compiled/drracket
system error: Read-only file system; errno=30
The directory is read-only, though, as reported by ls
:
> ls -ld /nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/racket/compiled/ ~
dr-xr-xr-x 2 root nixbld 8192 1970-01-01 01:00 /nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/racket/compiled/
> ls -ld /nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/racket/ ~
dr-xr-xr-x 15 root nixbld 4096 1970-01-01 01:00 /nix/store/w2y4qp7dmjy4g4hsxcz411qy2m6y6b3g-racket-6.4.0.15/share/racket/collects/racket/
If I uncheck "Populate compiled/
directories", it works fine. Won't this cause poor performance, though? Shouldn't DrRacket use the already-populated 'compiled/' directories, if it can't populate compiled/drracket
?
from drracket.
Wow, I sure messed that commit up! I've tried again, this time with better testing. Hopefully it won't make things worse this time.
from drracket.
Related Issues (20)
- Background expansion masks `.zo` version error HOT 2
- DrRacket top bar is unreadable when the MacOs change theme with setting appearance auto HOT 2
- Unstable (crashing) on macOS 14.0 Public Beta (23A5301h) HOT 1
- fine-grained control of check syntax library HOT 17
- Proposal: New info key `drracket:comments` HOT 34
- Delete unsaved file, keep backup => DrRacket crashes on startup
- Pressing the X for a failed test run makes DrRacket go into fullscreen when it shouldn't HOT 5
- Can't press up to move the caret when there's a word wrapping
- Update "DrRacket support for #lang-based Languages" documentation? HOT 2
- Wrong background color for recycling symbol. HOT 5
- Gtk issue on close-tab HOT 4
- Memory leaks to 32gb within 10 seconds HOT 5
- `ffi` in drracket won't use new shared library after modification & recompiling HOT 4
- Error when launching DrRacket HOT 9
- The indentation guide covers the #lang line HOT 3
- Theme selection buggy HOT 6
- Unequal preview box width
- Indent guide should not be shown on word wrapped lines
- Automatic Theme Sync in DrRacket HOT 2
- DrRacket window resizing behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drracket.