pipe wallabag output
Closed this issue · 4 comments
Don't why i can't pipe the wallabag-cli output ?!
wallabag list > entries-list.txt
`Traceback (most recent call last):
File "wallabag/wallabag.py", line 315, in
File "wallabag/wallabag_list.py", line 43, in list_entries
File "wallabag/entry.py", line 37, in entrylist
File "wallabag/entry.py", line 21, in init
AttributeError: 'NoneType' object has no attribute 'replace'
[6639] Failed to execute script wallabag`
After a long time :
`real 0m24,728s
user 0m3,133s
sys 0m0,708s
`
Works fine for me FWIW. Are you sure you don't get the same error if you run wallabag list
normally?
I'am on ubuntu 18.04 , wallabag list work great , i have the lastest entiries !
But the pipe doest not work !
Strange !
That's weird. It's crashing here:
wallabag-cli/wallabag/entry.py
Line 21 in 9e5d97e
which means there's an entry without a title somewhere. I have no idea why that'd be the case only with the output redirection.
Sorry, I also was not able to reproduce your error.
Redirecting and piping the output of 'wallabag list' and 'wallabag show' works great on Arch Linux, Debian 10 and Debian over WSL on my machines.
I will close this issue.