PlutoSliderServer.jl icon indicating copy to clipboard operation
PlutoSliderServer.jl copied to clipboard

Export_output_dir results in two calculations

Open behinger opened this issue 3 years ago • 3 comments

Hi! When I run Export_output_dir, within export_dir, somehow the server calculates the .html's twice, e.g. https://benediktehinger.de/interactive-eeg/output/index.html

Also note the double of "output/output"

(it also copies the .jl files to the output directory, I guess that is on purpose?) grafik

Don't have a MWE atm, sorry!

PlutoSliderServer.export_directory(path_to_dir, Export_output_dir="./output/" ,Export_offer_binder=true)

edit: note that the generation of the notebooks failed, thus quite a lot of 404s :)

behinger avatar Apr 27 '22 18:04 behinger

Thanks!! What do you mean with the double output/output?

fonsp avatar Apr 28 '22 09:04 fonsp

Hi! When I run Export_output_dir, within export_dir, somehow the server calculates the .html's twice, e.g. https://benediktehinger.de/interactive-eeg/output/index.html

Also note the double of "output/output"

(it also copies the .jl files to the output directory, I guess that is on purpose?) grafik

Don't have a MWE atm, sorry!

PlutoSliderServer.export_directory(path_to_dir, Export_output_dir="./output/" ,Export_offer_binder=true)

edit: note that the generation of the notebooks failed, thus quite a lot of 404s :)

@behinger, I looked at this issue too yesterday and then there was indeed duplicate output at the webpage that you link. Now, however, the duplicates are gone. Did you change something?

rikhuijzer avatar Apr 28 '22 09:04 rikhuijzer

hi! sorry for the confusion, I think what happens is that I have my notebooks in

./notebooks/A.jl the starting file in ./start.jl and the output should go to ./output/

but I had a run (don't know why/how) where the output was moved to ./notebook/output without me noticing. Not sure how that could have happened.

I had deleted the folder meanwhile; sorry.


Now I have a different problem that my session completly crashes (like connection / tmux session killed - crash) midway of calculating the first notebook - haven't figured out why that is the case, but have to look into it first before a issue can be created.

I guess we can close this!

behinger avatar Apr 28 '22 13:04 behinger