maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   witter - a python twitter client (https://talk.maemo.org/showthread.php?t=35596)

skr0 2010-05-30 20:53

Re: witter - a python twitter client
 
I see you managed to get to to switch between landscape and portrait. This is far better than my PC Twitter apps, so much so that I switch of my laptop and switch on the phone when I want to tweet.

cy8aer 2010-05-31 06:41

Server returned 500
 
I have a problem with fetching non-twitter tweets since 0.3.3-3 (as before it is an own statusnet 0.9.2 server configured as "other"): When retrieving the timeline It says: Error retrieving tweets Server returned 500:

Quote:

getting tweets with myusername
base url = https://myurl/statusnet/api/
base url of api object = https://myurl/statusnet/api/
fetching tweets from https://myurl/statusnet/api/statuses..._timeline.json
scroll to last known position
scroll to last known position
error
Error retrieving tweets Server returned 500 :
running tasks: 0
It actually works with 0.3.3-2 when downgrading. Twitter works fine with 0.3.3-4 (great portrait and I like the new colorfull iconset :)). And it shows the retrieving times of witter not the twitter retrieving times since 0.3.3-x but I guess this is on your bug list already (funny - when looking at your new screenshots your timeline works - 17:39, 17:33, 17:27. For me these times would be 17:41, 17:41, 17:41 when I would fetch them at 17:41 with witter - both twitter and statusnet account).

euanandrews 2010-05-31 08:37

Re: witter - a python twitter client
 
Daniel...love ya work to date....

May I request 2 more features. that would complement your already outstanding app...

1) Portrait mode on-screen qwerty.
If you could steal/implement one like that used in Opera Mobile...that would be perfect...we could use witter and tweet with no need to open keyboard/revert to landscape.

2) A desktop widget.
The new Twitter widget released by Nokia is cool that it allows tweeting right from the desktop, but is lacking many features that possibly you could implement in your own version...
- When clicking on the widget feed, it opens witter
- When clicking on the widget bird, it allows posting tweet from desktop (as the current does)
- The ability to scroll the widget feed, either by flicking, or by arrows like the RSS widget does

That would just be the bees knees

skr0 2010-05-31 10:20

Re: witter - a python twitter client
 
In response to cy8aer, I have had trouble connecting this morning a few times, sometimes OK. Was still having trouble before but deleting the .jpg's from .twitterPics/Twitter was resolving it.

Have completely uninstalled (inc files in home dir) and reinstalled but still cannot connect. "Error retrieving tweets Server returned 500:" or "Error retrieving tweets Server returned 400:" or Connection has timed out.

Stupid question: I have only installed this from the repositories which has v0.3.3-3 so how do I get v0.3.3-2 ?
Cheers

dwould 2010-05-31 16:32

Re: Server returned 500
 
Quote:

Originally Posted by cy8aer (Post 691153)
I have a problem with fetching non-twitter tweets since 0.3.3-3 (as before it is an own statusnet 0.9.2 server configured as "other"): When retrieving the timeline It says: Error retrieving tweets Server returned 500:



It actually works with 0.3.3-2 when downgrading. Twitter works fine with 0.3.3-4 (great portrait and I like the new colorfull iconset :)). And it shows the retrieving times of witter not the twitter retrieving times since 0.3.3-x but I guess this is on your bug list already (funny - when looking at your new screenshots your timeline works - 17:39, 17:33, 17:27. For me these times would be 17:41, 17:41, 17:41 when I would fetch them at 17:41 with witter - both twitter and statusnet account).

ok, no idea why you're getting 500 responses, certainly don't think I changed anything that would cause it. Is it possible just random timing? eg you were getting then, and by the time you'd downgraded the server was happy again? or have you returned to the most recent version and still hit teh issue?

as for timestamps, I still don't know why, but for some people they are getting timestamps in a format that isn't parsing properly. but is not obvious why not. in the latest (0.3.3-6 in extras-devel) I put a little more diagnostics to test a hunch about what might be wrong.
if you run that version from the commandline
run-standalone.sh python2.5 /opt/witter/witter.py
then you should get some ouput which will show the timestamp being parsed and the sort of format I'm expecting each between > < markers to help me check for errant whitespace

dwould 2010-05-31 17:01

Re: witter - a python twitter client
 
Quote:

Originally Posted by skr0 (Post 691403)
In response to cy8aer, I have had trouble connecting this morning a few times, sometimes OK. Was still having trouble before but deleting the .jpg's from .twitterPics/Twitter was resolving it.

Have completely uninstalled (inc files in home dir) and reinstalled but still cannot connect. "Error retrieving tweets Server returned 500:" or "Error retrieving tweets Server returned 400:" or Connection has timed out.

Stupid question: I have only installed this from the repositories which has v0.3.3-3 so how do I get v0.3.3-2 ?
Cheers

you said that deleting avatar pics helped? next time could you run from x-term and let me know the error on avatar loading? I thought I had code to guard, but it probably doesn't work yet (I can't reproduce teh problem so I can't test the defensive code)

cy8aer 2010-05-31 17:08

Re: Server returned 500
 
ok, just paste it from the output:

Quote:

trying timestamp format Mon, Jan 01 2010 00:00:00 +0000
trying third format
time data did not match format: data=Mon May 31 16:47:49 +0000 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
returning datestamp for now failed to parse >Mon May 31 16:47:49 +0000 2010<
expected something in the form >Thu Aug 26 12:00:00 +0000 2010<
switched to landscape
offset hours = +0
trying timestamp format Mon, Jan 01 2010 00:00:00 +0000
trying third format
time data did not match format: data=Mon May 31 16:46:41 +0000 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
returning datestamp for now failed to parse >Mon May 31 16:46:41 +0000 2010<
expected something in the form >Thu Aug 26 12:00:00 +0000 2010<
offset hours = +0
trying timestamp format Mon, Jan 01 2010 00:00:00 +0000
trying third format
time data did not match format: data=Mon May 31 16:46:34 +0000 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
returning datestamp for now failed to parse >Mon May 31 16:46:34 +0000 2010<
expected something in the form >Thu Aug 26 12:00:00 +0000 2010<
offset hours = +0
trying timestamp format Mon, Jan 01 2010 00:00:00 +0000
trying third format
time data did not match format: data=Mon May 31 16:45:13 +0000 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
returning datestamp for now failed to parse >Mon May 31 16:45:13 +0000 2010<
expected something in the form >Thu Aug 26 12:00:00 +0000 2010<
For the error 500 stuff: It is 100% repeatable for me (so no glitches).

< 0.3.3-3 everything is fine
>= 0.3.3-3 Error 500.

I cleaned all .witter* files/dirs and the error is still there. And: I only have the problems with the friends timeline. All other timelines work.

cy8aer 2010-05-31 17:12

Re: witter - a python twitter client
 
Quote:

Originally Posted by skr0 (Post 691403)
Stupid question: I have only installed this from the repositories which has v0.3.3-3 so how do I get v0.3.3-2 ?
Cheers

apt-get install witter=0.3.3-2 (with extras-devel active). You need to exit the application manager to do this (otherwise the apt-cache is locked - sudo gainroot needed of course).

dwould 2010-05-31 17:54

Re: Server returned 500
 
Quote:

Originally Posted by cy8aer (Post 692096)
ok, just paste it from the output:



For the error 500 stuff: It is 100% repeatable for me (so no glitches).

< 0.3.3-3 everything is fine
>= 0.3.3-3 Error 500.

I cleaned all .witter* files/dirs and the error is still there. And: I only have the problems with the friends timeline. All other timelines work.

ok, so two weird things, first the two timestamp formats look identical to me, I've added one more set of diagnostics to look at a possible difference, but we';re in grasping-at-straws territory

the other issue I assume is to do with fetching retweets in timeline, which was the new thing added at 0.3.3-3
but that is working just fine for me. Can I ask if you are oAuth or basic auth (it shouldn't make a difference, but could be relevant)

CYPHERC 2010-05-31 18:06

Re: witter - a python twitter client
 
nice portrait mode, good job congrats, i have a suggestion why dont u make a more button? instead fo the cross button that read 20 50 100 and read 15 tweets on each more click? i have more suggestions but one by one lol... ;D


All times are GMT. The time now is 21:44.

vBulletin® Version 3.8.8