-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot archive recursively #9
Comments
Hi, thanks for submitting this issue and for trying out org-board.
Is it possible that you switched the "1" (one) and the lowercase "L" in the options? Looking again at the example, it is a bit confusing. I will change it to "--layers" (the full form of the option) to remove the ambiguity.
I'm also not sure why org-board-keymap is getting autoloaded; I will have to look into that in more detail.
… On 27 Mar 2017, at 01:39, JanPappert ***@***.***> wrote:
Hey,
I tried the example in the readme:
** TODO Linkers (20-part series)
:PROPERTIES:
:URL: http://a3f.at/lists/linkers
:WGET_OPTIONS: --recursive -l 1
:END:
However, I am presented with the following error:
wget: --level: Invalid number ‘--recursive’.
/usr/bin/wget --directory-prefix=/home/user/Desktop/data/fb/6116da-9306-4f66-9daf-68199290e668/2017-03-27T01:33:16Z// "-e robots=off" --page-requisites --adjust-extension --convert-links 1 -l --recursive http://a3f.at/lists/linkers exited abnormally with code 2
Archiving without the WGET_OPTIONS does work, however.
Recursively archiving with wget in the terminal works as well.
I should note that I also got the following error when running org-board-keymap:
Autoloading failed to define function org-board-keymap
Hoping to find some help here, the package itself looks promising.
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just copied it so I suppose that I did not do the ol' switcheroo.
yields
while
yields
I really hope we can resolve this. Archiving bookmarks like this sounds great! |
Turns out I introduced this bug in commit 3ddccc0. I accidentally reversed the list of WGET_OPTIONS while processing it, which caused the undesirable behavior. Please do clone the latest version from here and try it out. Also, I realized that the suggested example will not natively recurse into the list of sites given by the URL property, since I removed the behavior of `wget' spanning multiple hosts by default (it can result in unnecessarily thorough archives of certain sites). So I have added it back into the example to make it work. Please try out the new example instead. |
Hey, your commit solves the issue for me, the example allows me to recursively archive websites. I should note that the org-board-keymap issue remains (though it isn't a big deal for me, I just added the keybindings I value in use-package). Another suggestion: While I suppose that some people use eww, I would guess that most users still use other browsers. Consider switching the default behaviour to org-board-default-browser 'system in order to appeal to a larger audience. |
Glad to hear that the main issue is fixed. It shows that I should really write some tests. I've made the definition for org-board-keymap more orthodox now, and it should be picked up by the autoload generation. Could you please test the new version? It's commit 405bfd6, version 1018. Thank you. |
Hey,
If I change it to
Cheers |
About
(i.e. The Emacs browser works reasonably fast for me, but what can take a while is searching the archive to find the correct file to open when you run |
Alright, I tried that but didn't really know how to share the output. |
Hm, this looks more like an inefficiency in the Emacs browser, and not in org-board. Does the same slowdown occur when you load the page normally (i.e. via the web)? |
Hey,
I tried the example in the readme:
However, I am presented with the following error:
Archiving without the WGET_OPTIONS does work, however.
Recursively archiving with wget in the terminal works as well.
I should note that I also got the following error when running org-board-keymap:
Autoloading failed to define function org-board-keymap
Hoping to find some help here, the package itself looks promising.
Cheers
The text was updated successfully, but these errors were encountered: