Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #441  
Old 2010-05-30, 20:53
skr0 skr0 is offline
 
Join Date: May 2010
Location: London
Posts: 21
Thanks!: 1
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #442  
Old 2010-05-31, 06:41
cy8aer cy8aer is offline
 
Join Date: Feb 2010
Posts: 281
Thanks!: 465
Thanked 679 Times in 213 Posts
Default 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).

Last edited by cy8aer; 2010-05-31 at 06:46.
Reply With Quote
  #443  
Old 2010-05-31, 08:37
euanandrews's Avatar
euanandrews euanandrews is offline
 
Join Date: Nov 2009
Location: Wellington, New Zealand
Posts: 105
Thanks!: 86
Thanked 45 Times in 18 Posts
Default 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
Reply With Quote
  #444  
Old 2010-05-31, 10:20
skr0 skr0 is offline
 
Join Date: May 2010
Location: London
Posts: 21
Thanks!: 1
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #445  
Old 2010-05-31, 16:32
dwould's Avatar
dwould dwould is offline
 
Join Date: Dec 2008
Location: Eastleigh, Hampshire, UK
Posts: 529
Thanks!: 25
Thanked 262 Times in 123 Posts
Default Re: Server returned 500

Quote:
Originally Posted by cy8aer View Post
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
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
Reply With Quote
  #446  
Old 2010-05-31, 17:01
dwould's Avatar
dwould dwould is offline
 
Join Date: Dec 2008
Location: Eastleigh, Hampshire, UK
Posts: 529
Thanks!: 25
Thanked 262 Times in 123 Posts
Default Re: witter - a python twitter client

Quote:
Originally Posted by skr0 View Post
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)
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
Reply With Quote
  #447  
Old 2010-05-31, 17:08
cy8aer cy8aer is offline
 
Join Date: Feb 2010
Posts: 281
Thanks!: 465
Thanked 679 Times in 213 Posts
Default 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.
Reply With Quote
  #448  
Old 2010-05-31, 17:12
cy8aer cy8aer is offline
 
Join Date: Feb 2010
Posts: 281
Thanks!: 465
Thanked 679 Times in 213 Posts
Default Re: witter - a python twitter client

Quote:
Originally Posted by skr0 View Post
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).

Last edited by cy8aer; 2010-05-31 at 17:14. Reason: sudo gainroot needed
Reply With Quote
  #449  
Old 2010-05-31, 17:54
dwould's Avatar
dwould dwould is offline
 
Join Date: Dec 2008
Location: Eastleigh, Hampshire, UK
Posts: 529
Thanks!: 25
Thanked 262 Times in 123 Posts
Default Re: Server returned 500

Quote:
Originally Posted by cy8aer View Post
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)
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
Reply With Quote
  #450  
Old 2010-05-31, 18:06
CYPHERC CYPHERC is offline
 
Join Date: May 2010
Posts: 189
Thanks!: 29
Thanked 23 Times in 19 Posts
Default 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
Reply With Quote
Reply

Tags
python, twitter


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:28.