render and clone have no effect
#36
Closed
opened 10 years ago by basus
·
10 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 have a small example with a few
.pm
and.pmd
files. I can see the rendered files in a browser correctly after doingraco pollen start
, but clone and render seem to have no effect. I don't see any errors in the terminal either.What platform (Windows / OS X / Linux)?
This is on 64-bit Arch Linux.
If you want to post one of the files that isn't working correctly I can try it on my system.
(Meaning, there's not enough information yet for me to hypothesize about the source of the problem)
Here are the contents I currently have in my example:
article.html.pmd
index.html.pmd:
pollen.html.pm
I tried deleting everything and rerunning, but no luck.
Your files work fine on my system (= project server,
raco pollen render
, andclone
).What perplexes me is that you can see the files rendered properly in the project server. That indicates that the software was installed correctly, the files have no syntax errors, and your project is set up correctly, etc.
When you run
raco pollen render
from your project directory, you should see something like this:This indicates that Pollen processed the file successfully.
If you run
raco pollen clone
, you should see something like this:You can't, however, clone sources that are already on the desktop. (The cloner should check for this condition and raise an error. It wasn't doing this. I just pushed a fix.)
What are you seeing in the terminal when you run
raco pollen render ...
orraco pollen clone
? Nothing at all?When I run
raco pollen render
I get the following:When I run
raco pollen clone
, I see:I then do see the non-source files under
/home/basus/clone
. However, if I specify a directory to theclone
command, I get the same message, but nothing happens.OK, I’ve pushed some fixes that I believe will fix these problems.
raco pollen render
was giving up when there were no pagetree files in the project directory. Now, it will render all the sources it finds.The documentation for
raco pollen clone
was incorrect (and the underlying behavior needed some improvement too).raco pollen clone
will clone the current directory onto the desktop.raco pollen clone source-dir
will clone source-dir to the desktop.raco pollen clone source-dir dest-dir
will clone source-dir to dest-dir.If you just want to clone the current directory to somewhere other than the desktop, use
raco pollen clone . dest-dir
.If that still doesn't help, please reopen this issue. Thanks for the report.
Everything seems to be working fine now. Thanks!