Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Startup dialog gets triggered when there's an error in .dune-prelude and error gets omitted #98

Open
bionade24 opened this issue Dec 7, 2024 · 1 comment

Comments

@bionade24
Copy link

When there is an error in .dune-prelude, the first startup dialog shows up, but no error message. I only managed to detect this by using strace:

openat(AT_FDCWD, "/home/oskar/.dune-prelude", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=22231, ...}) = 0
read(3, "#              _                "..., 22231) = 22231
read(3, "", 32)                         = 0
close(3)                                = 0
brk(0x5fb62d68f000)                     = 0x5fb62d68f000
brk(0x5fb62d6bf000)                     = 0x5fb62d6bf000
mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x75e202765000
brk(0x5fb62d6e0000)                     = 0x5fb62d6e0000
brk(0x5fb62d701000)                     = 0x5fb62d701000
munmap(0x75e202765000, 200704)          = 0
brk(0x5fb62d722000)                     = 0x5fb62d722000
brk(0x5fb62d743000)                     = 0x5fb62d743000
brk(0x5fb62d764000)                     = 0x5fb62d764000
write(2, "error while running prelude: ", 29error while running prelude: ) = 29
write(2, "cannot apply `", 14cannot apply `)          = 14
write(2, "@", 1@)                        = 1
write(2, " ", 1 )                        = 1
write(2, "fs exists?", 10fs exists?)              = 10
write(2, "` to the arguments ", 19` to the arguments )     = 19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@bionade24 and others