Git Product home page Git Product logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024

Original comment by dclinton on 9 Sep 2008 at 4:04

  • Changed state: Accepted

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
I've experienced the same problem.

Original comment by [email protected] on 19 Sep 2008 at 11:28

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Me too.

Original comment by [email protected] on 4 Oct 2008 at 12:03

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
What architecture, version of python, etc, are you guys using?

Original comment by dclinton on 4 Oct 2008 at 4:35

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
This patch resolves the test failures. My best guess is that simplejson's 
changes at
2.0.0 are to "blame" here. I tested on Fedora Rawhide x86_64, simplejson 2.0.3, 
and
simplejson 2.0.1 just for good measure, both needed this patch.

Original comment by [email protected] on 20 Oct 2008 at 7:20

Attachments:

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Hmm.  Unfortunately that breaks on non 2.0 versions of simplejson.  Should we be
bundling simplejson with twitter-python just to make sure there isn't a 
mismatch?

Original comment by dclinton on 20 Oct 2008 at 7:25

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Where and how do I install the patch?

Original comment by [email protected] on 26 Oct 2008 at 8:41

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
I think there are ways to enforce a version of a module, but I've never done it 
myself. I'm all for bundling, unless 
there are some critical problems fixed since this change. The change happened 
in 1.8, by the way, not 2.0.

Original comment by [email protected] on 13 Nov 2008 at 10:49

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
The alternative could be to modify the simplejson stuff from the twitter module 
if simplejson's __version__ is 1.8 
or up. Kind of hackish and you have to disable the C encoder, but it prevents 
the need to bundle simplejson. 
Example patch included.

Original comment by [email protected] on 14 Nov 2008 at 5:44

Attachments:

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Hey guys, I am relatively new to Python and I'm unsure about how to install 
either of
patches that have been made available for this fix.  Would someone mind posting
instructions on how to install them or point me in the right direction?  I'd 
really
appreciate the help, thanks.

Original comment by [email protected] on 1 Dec 2008 at 8:09

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
If you're on a Unix system, download the file to the directory containing 
twitter.py 
and type "patch < xxx.patch" in a terminal, where xxx is replaced by the name 
of the 
patch you want to apply. I've never done it in Windows before, so I don't know 
how 
people normally do it. Alternatively, you can just replace your twitter.py with 
the 
attached file. The only difference is the first if statement after the imports.

Original comment by [email protected] on 1 Dec 2008 at 8:17

Attachments:

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Hey Dan, thanks for posting that file.  I am on a Windows machine, and when I
replaced my twitter.py file, reinstalled, and tested again, my JSON errors were 
gone
but I got 3 new errors relating to the Status class - 

FAIL: Test all of the twitter.Status getters and setters
FAIL: Test all of the twitter.Status properties
FAIL: Test various permutations of Status relative_created_at

Not quite sure why these are occurring, any help you could provide would be
appreciated.  Thanks.

Original comment by [email protected] on 1 Dec 2008 at 8:27

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Ah, I was working on the development version of the library. Try this test file 
with 
it.

Original comment by [email protected] on 1 Dec 2008 at 8:46

Attachments:

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Great, that worked, thanks for the help with this issue!

Original comment by [email protected] on 1 Dec 2008 at 8:51

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Fixed in trunk. Please verify.

Original comment by dclinton on 21 Jan 2009 at 7:55

  • Changed state: Fixed

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
Issue 46 has been merged into this issue.

Original comment by dclinton on 6 Mar 2009 at 6:54

from python-twitter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 4, 2024
validated that it is fixed in the lastest svn.

Original comment by [email protected] on 6 Mar 2009 at 1:38

from python-twitter.

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.