akiradeveloper / nim-fuse

Nim library for Filesystem in userspace (FUSE)
MIT License
19 stars 5 forks source link

Can't seem to get this working with Nim Compiler v0.13.0 on OS X #6

Open bolinfest opened 8 years ago

bolinfest commented 8 years ago

In order to get test/hello.nim to compile, I had to:

I'm on OS X. After I build test/hello.nim and run it with mkdir /tmp/foo && ./hello /tmp/foo, I tried running cat /tmp/foo/hello.txt, but that failed with:

cat: /tmp/foo/hello.txt: Input/output error

For reference, here is what I see in the console:

DEBUG fetch result. fd:$1 err:$230
DEBUG COMMON IN:$1(len: 40, opcode: 3, unique: 4, nodeid: 1, uid: 1616128560, gid: 1876110778, pid: 38129, padding: 0)
DEBUG opcode:$1FUSE_GETATTR
DEBUG 1
DEBUG attr:$1(ino: 1, size: 0, blocks: 0, atime: 1381237736, mtime: 1381237736, ctime: 1381237736, crtime: 0, atimensec: 0, mtimensec: 0, ctimensec: 0, crtimensec: 0, mode: 0, nlink: 2, uid: 501, gid: 20, rdev: 0, flags: 0)
DEBUG iov[$1]:$20TIOVec(base:140734720471648 len:112)
DEBUG COMMON OUT:$1(len: 128, error: 0, unique: 4)
DEBUG send OK
DEBUG ---------- START FETHCING ----------
luntik2012 commented 8 years ago

nim 0.14.3 also doesn't work. is it a dead project?

akiradeveloper commented 8 years ago

I am not willing to maintain this project until Nim 1.0 is released.

eliezedeck commented 5 years ago

I am not willing to maintain this project until Nim 1.0 is released.

Nim 1.0 is now released :)

akiradeveloper commented 5 years ago

Thank you for the information. Just started to re-learn Nim

artem-nefedov commented 4 years ago

Hi there. Is there any hope for this project's revival?

xyb commented 4 years ago

I just submitted #7 that compiles properly with nim 1.x, but the examples in the test directory don't work quite right yet.