Code Monkey home page Code Monkey logo

Comments (6)

orakaro avatar orakaro commented on July 30, 2024

Hi @kura - thanks for report πŸ‘ Can you provide more information as below ?

  • Does this happen repeatedly ?
  • At that time did you typing something in the prompt ?
  • Are you using the default prompt ?
  • What is your OS , and if Linux : what distro is it ?
  • Ugh.. is that you in your avatar ? :)

from rainbowstream.

kura avatar kura commented on July 30, 2024

It's happened once, I tried debugging it further but couldn't see any issue in the tweet or the retweet. I am also at work so couldn't dedicate much time too it, I also hate ascii codec error. >_> It might be as simple as ensuring # -*- coding: utf-8 -*- is at the top of each file?

The user that retweeted it has tweeted previously and caused no codec exception so it's not that users name or anything.

I was not typing anything in the prompt, it was a stream message.

I'm not using the default prompt but the prompt itself works without issue.

Ubuntu 14.04 64 bit, Python 2.7.6, installed in a virtualenv using Pipsi 0.8 with virtualenv 1.11.6.

Taylor Swift has been my avatar across the Internet for years now, I do change which picture of her I use every so often though. πŸ‘…

from rainbowstream.

orakaro avatar orakaro commented on July 30, 2024

Thanks for the details information.
The UnicodeDecodeError... could happens when decode in Python 2 went wrong, which means the str2u in the following line

g['decorated_name'](g['PREFIX']) + str2u(current_buffer))

Here current_buffer is current string if you was typing something while a new tweet show up in stream, so I guessed you typed some non-ascii characters, but it seems not that case.

Twitter's data sometimes can be strange. Let's stay for a while and let me know if same error occurs again πŸ’₯

from rainbowstream.

orakaro avatar orakaro commented on July 30, 2024

Or not ! I think i found the bug and fixed in v0.9.6. Upgrade rainbowstream and the error will gone :)

from rainbowstream.

kura avatar kura commented on July 30, 2024

Great! Upgrading now.

Also, use my shields in your README, far more of them and they're better/cooler! https://pypip.in/ πŸ˜‰

from rainbowstream.

orakaro avatar orakaro commented on July 30, 2024

Will take a look :) Good job !

from rainbowstream.

Related Issues (20)

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.