Directory-related error processing .pm files
#32
Closed
opened 10 years ago by RenaissanceBug
·
5 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I'm getting an error (running pollen on OS X Mavericks) that seems to depend on the directory in which I place my pollen project files.
Here is the error text displayed in the console by
raco pollen
:Procedure that produced the bug for me:
foo.txt.pm
orfoo.html.pm
file in/tmp/test/
raco pollen start
in/tmp/test/
foo.html
.This error does not occur if I follow the identical procedure in
~/tmp/
instead. AFAICT this seems like a problem in how OS X handles references to parent dir references; I'm basing that on this experiment at the shell:The latter directory listing shows the actual contents of
/
; I'm not sure where it's getting the former listing. So, perhaps this is an OS X (or Racket-on-OS X) bug, but maybe it can be worked around in Racket?I believe this is a bug that I caused, and that I fixed on Oct 26 (
1d31988f2b
). If you installed Pollen before then, please doraco pkg update --update-deps pollen
to get the fix and let me know if the problem persists.Hm. Nope, I installed Pollen last night, and the pkg update command shows no further updates available.
OK. I will investigate further.
I reproduced the problem. The specific issue is that
/tmp
in OS X is actually a symlink to/private/tmp
. The general issue is that Pollen was not resolving symlinks. I've just pushed a fix. Thanks for the report.Great! Thanks for the quick reply.