Git Product home page Git Product logo

myscripts's People

Contributors

produnis avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

myscripts's Issues

json.decoder.JSONDecodeError: Extra data: line 1 column 1187 (char 1186)

picture directory is /home/rss/onlysexygirls
/home/rss/onlysexygirls/0archive_posted.txt
Ready to post new picture: 125964794106.jpg
Looking for txt-file /home/rss/onlysexygirls/125964794106.txt

No txt-file found. Posting Image only

Upload pic 125964794106.jpg with path /home/rss/onlysexygirls/125964794106.jpg to Diaspora
Traceback (most recent call last):
File "/home/rss/pic2diaspora.py", line 102, in
stream.post(photo=pics, text=textmessage, aspect_ids=aspect_to_post)
File "/home/rss/.local/lib/python3.5/site-packages/diaspy/streams.py", line 262, in post
if photo: data['photos'] = self._photoupload(photo)
File "/home/rss/.local/lib/python3.5/site-packages/diaspy/streams.py", line 293, in _photoupload
if not aspects: aspects = self._connection.getUserData()['aspects']
File "/home/rss/.local/lib/python3.5/site-packages/diaspy/connection.py", line 226, in getUserData
return json.loads(userdata)
File "/usr/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 1187 (char 1186)

python3 --version

Python 3.5.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.