Describe the problem you’re having:
I’ve recently started having problems with the feed:
Curiomancy (fantastic art + fiction + thought)
Which up until recently worked fine. It gives an error when any article in that feed needs to be displayed under a topic, but all other feeds work fine. I’ve deleted the feed, and re-added it with the same problem.
…
If possible include steps to reproduce the problem:
As far as I can tell, just adding that feed gives the problem:
https://rickwayneauthor.wordpress.com/feed/
…
tt-rss version (including git commit id): v17.1 (5b3604c)
…
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-140-generic x86_64)
psql (PostgreSQL) 9.5.15
PHP 7.0.32-0ubuntu0.16.04.1 (cli) ( NTS )
…
Please provide any additional information below:
- I’ve disabled all Chrome browser extensions.
- I’ve disabled and enabled GZIP and/or mod_deflate to test… no change.
- There are no logs in the Preferences → System → Error Log
- There are no errors in the Apache logs.
- There is only the following error in the local Chrome Console Log:
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at handle_rpc_json (index.php:117)
at headlines_callback2 (index.php:397)
at onComplete (index.php:350)
at klass.respondToReadyState (prototype.js?1486524433:1827)
at klass.onStateChange (prototype.js?1486524433:1756)
index.php:397 headlines_callback2 [offset=0] B:false I:false
On debugging, it seems the JSON payload is a blank string. Not sure why or how.
I’m adding the output for:
./update.php --debug-feed 482 --force-refetch --force-rehash | tee /tmp/debug_output.txt
(in a follow-up comment)
…
fox
2
it looks like this feed has data which php refuses to encode as JSON, the error message is:
Malformed UTF-8 characters, possibly incorrectly encoded
fox
3
alright, the problem was with the code that generates enclosure dropdown; it was using a non-unicode
aware function and this feed apparently had enclosures with unicode filenames. should be fixed in trunk.
additionally, i’ve added a proper fatal error if json encode fails in headlines, instead of just failing mysteriously with no output.
...
e: https://rickwayneauthor.files.wordpress.com/2018/12/Bare-the-Burden-of-the-Heat-of-the-Day-by-PRATEEP-KOCHABUA.jpg?w=980 
https://rickwayneauthor.files.wordpress.com/2018/09/tarabooth-illustration-itsnicethat-11.jpg?w=700&h= 
nice blog, i’m gonna keep it
EDIT: apparently I cannot add a comment the size of the debug_output.txt size…
Here is is shared:
https://drive.google.com/file/d/1oy5wlkVxPUIaftiP-kptLP01etk9oA2k/view?usp=sharing
Thanks, fox, will update ASAP.

haha, yeah, his books are interesting as well, he’s kinda a internet friend of mine, someone with thoughts worth listening to. (not that I agree with a lot of them!)