medium_to_ghost icon indicating copy to clipboard operation
medium_to_ghost copied to clipboard

Still, index out of range error

Open ichenjia opened this issue 5 years ago • 5 comments

File "/usr/local/lib/python3.7/site-packages/medium_to_ghost/medium_post_parser.py", line 459, in handle_data self.cards[-1][1]["caption"] = data IndexError: list index out of range

ichenjia avatar Jan 24 '20 23:01 ichenjia

This solved my problem: https://github.com/urish/medium_to_ghost/commit/6700054993a86072aa914dec48940ff76d97e7aa

rafaelstz avatar Feb 18 '20 15:02 rafaelstz

I (finally) merged the fix.

ageitgey avatar Dec 04 '20 10:12 ageitgey

@ageitgey I'm still having this issue FYI. I went through the install exactly as described in the README and received the IndexError. Is it possible that after your merge the package was not updated?

galligan avatar Dec 31 '20 13:12 galligan

Sorry, I've updated it on pip:

https://pypi.org/project/medium_to_ghost/

Hopefully it will work if you pip upgrade now!

ageitgey avatar Jan 04 '21 10:01 ageitgey

Thanks so much! Worked like a charm!

galligan avatar Jan 04 '21 13:01 galligan