Notices


Reply
Thread Tools
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#391
Originally Posted by dwould View Post
huh, if you happen to know how to query the current screen width or something that would tell witter that it's in portrait, then I guess I could set the text width appropriately.

I'll wait for a real PR 1.2 release to try it myself.
Two things: Maybe gpodder can help with this portrait stuff: http://download.berlios.de/gpodder/gpodder-2.5.tar.gz src/gpodder/gtkui/frmntl/portrait.py. It's some dbus stuff.

Another one: with 0.3.2-3 it works with status.net again. The tweets are shown in the right order but the timestamps all show the time when witter got them from the server - not the tweet timestamps.
 
Posts: 21 | Thanked: 0 times | Joined on May 2010 @ London
#392
Great application, best Twitter client for my N900.
Couple of questions:
- Sometimes when I launch the app there are only one or two tweets or none but when I check on twitter.com there are dozens.
- It does not auto refresh, is that correct or are my settings wrong ?
- When I try to refresh it I get a message 'Error retrieving tweets Server returned 400:'
- The Friends page does not list anything, I assumed it would show followers ?
- User History is also empty ?
- The + tab brings up a menu at the bottom +20 +50... but this does not load more Tweets.

I do not want you to think I am being in anyway negative, I just want to get the best from this great app.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#393
firstly, it always help if you tell me which version of witter you have, as there are different ones in Extras, Extras-testing and extra-devel.
Also are you using basic auth or oAuth?

Originally Posted by skr0 View Post
Great application, best Twitter client for my N900.
Couple of questions:
- Sometimes when I launch the app there are only one or two tweets or none but when I check on twitter.com there are dozens.


Sometimes the twitter api doesn't seem to return the full list of tweets, I think it's their side rather than mine, as it happens occasionally.


Originally Posted by skr0 View Post

- It does not auto refresh, is that correct or are my settings wrong ?
look in preferences, you can select the rate of auto-refresh you'd like for each timeline

Originally Posted by skr0 View Post

- When I try to refresh it I get a message 'Error retrieving tweets Server returned 400:'
always? are you using oauth/basic auth? ~I get this if I've hit my api Rate limit, next time this happens could you check if you've hit your rate limit?
Originally Posted by skr0 View Post

- The Friends page does not list anything, I assumed it would show followers ?
I decided not to load this information automatically every time. hit refresh and it will load the info.
Originally Posted by skr0 View Post

- User History is also empty ?
user history is to see any users history, enter their twitter id and hit refresh. alternatively double tap a tweet, got to 'mentioned users' and you can chose to see the history of any user mentioned in the tweet
Originally Posted by skr0 View Post

- The + tab brings up a menu at the bottom +20 +50... but this does not load more Tweets.
hmm, it's supposed to, again helps to know if basic auth or oauth

Originally Posted by skr0 View Post

I do not want you to think I am being in anyway negative, I just want to get the best from this great app.
that's fine, feedback is good. if you really want to say thank you my blog http://danielwould.wordpress.com has a button that lets you buy me a pint ;-)
__________________
----------
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.
 
Posts: 21 | Thanked: 0 times | Joined on May 2010 @ London
#394
Version 0.3.2-4
I am using Oauth

'Error retrieving tweets Server returned 400:'
No this only happens once or twice a day. Usually when I try to refresh by pressing the circular arrows bottom left; speech bubble to left; circular arrows bottom left.
I am not sure what the api rate limit actually is but I was playing around with the settings and may have moved away from the most efficient way of setting it up. I have:
Time line - 1 sec
Mention - 5 secs
DM - 30
Public - 90

Followers: selected Friends and refresh and got the error 'Error retrieving tweets Server returned 400:' four times.

The + tab brings up a menu at the bottom +20 +50... but this does not load more Tweets.
hmm, it's supposed to, again helps to know if basic auth or oauth
No does not work, no not even get the timer spinning in the top bar.

"Sometimes when I launch the app there are only one or two tweets or none but when I check on twitter.com there are dozens."
Sometimes the twitter api doesn't seem to return the full list of tweets, I think it's their side rather than mine, as it happens occasionally.
Occurs more with retweets if that is helpful information.

Your pint should have been delivered to you.
Many thanks
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#395
Originally Posted by skr0 View Post
Version 0.3.2-4
I am using Oauth

'Error retrieving tweets Server returned 400:'
No this only happens once or twice a day. Usually when I try to refresh by pressing the circular arrows bottom left; speech bubble to left; circular arrows bottom left.
I am not sure what the api rate limit actually is
If you go to: http://api.twitter.com/1/account/rate_limit_status.xml
it should in theory prompt you for login, unless you are already logged in, and it should show you whether you are at your api usage limit on your account. I kept blowing this limit in development of witter and consequently got my account white-listed to remove the limit ;-)
Basically if twitter returns a 400 there is not much I can do other than report that's what it told me.

Originally Posted by skr0 View Post

but I was playing around with the settings and may have moved away from the most efficient way of setting it up. I have:
Time line - 1 sec
Mention - 5 secs
DM - 30
Public - 90
given that you thought the settings were seconds... when they are actually miniutes, I'm assuming you're pushing the refresh pretty hard. which would back up the chances that you've blown your api limit.

Originally Posted by skr0 View Post
Followers: selected Friends and refresh and got the error 'Error retrieving tweets Server returned 400:' four times.

The + tab brings up a menu at the bottom +20 +50... but this does not load more Tweets.
hmm, it's supposed to, again helps to know if basic auth or oauth
No does not work, no not even get the timer spinning in the top bar.
ok, so this is probably a defect then. Please try running witter from x-terminal:
run-standalone.sh python2.5 /opt/witter/witter.py
this will spit out lots of output whilst it runs. It will be quite noisy to begin with, once it's stopped, then hit the +20 button and see what it says, it's possible that I'm not handling some error condition properly. Though I did try it this morning with 0.3.2-4 and it works ok for me
Originally Posted by skr0 View Post

"Sometimes when I launch the app there are only one or two tweets or none but when I check on twitter.com there are dozens."
Sometimes the twitter api doesn't seem to return the full list of tweets, I think it's their side rather than mine, as it happens occasionally.
Occurs more with retweets if that is helpful information.
ok again, if you run witter as above we should find out more about what's going on, it's possible that witter fails to parse something in teh tweets you're getting and that stops it in it's tracks. Do you follow any one that might lead to 'unusual' tweets?

I have considered making witter always log to a file, but I'm not sure that I want to incur the cost of this, it may well adversely effect performance, but would help in these situations.
Originally Posted by skr0 View Post
Your pint should have been delivered to you.
Many thanks
Thank you very much, you have the honor of being the first (and currently only) person to donate towards the development of witter.


EDIT: also may be relevant that twitter is currently showing the fail whale, and nothing is working ;-)
__________________
----------
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.

Last edited by dwould; 2010-05-19 at 14:46.
 
Posts: 21 | Thanked: 0 times | Joined on May 2010 @ London
#396
My issues have also been caused by the way I was using Witter and had it configured. I have set the time line to refresh every 5 mins (I did mean mins but typed secs) and Mention every 10, I also did an uninstall and reinstall.

Running from the terminal as requested:
After about 25 mins one Retweet and three other tweets appeared on Twitter.com none on timeline after doing a refresh, the timer was still spinning around.
I closed twitter.com to reduce the api hit.
After further 5 mins with the timer spinning I closed Witter

Xterminal did not capture it all but this is what I got:

2010-05-20 18:03:27
updating all stored images for 27915827
offset hours = +0
None
2010-05-20 18:03:23
updating all stored images for 17181843
offset hours = +0
None
2010-05-20 18:03:22
offset hours = +0
None
2010-05-17 23:46:39
reply to skr0
updating all stored images for 110376411
offset hours = +0
None
2010-05-20 18:03:17
running tasks: 2
offset hours = +0
None
2010-05-12 20:21:41
reply to skr0
offset hours = +0
None
2010-05-11 22:12:09
reply to skr0
offset hours = +0
None
2010-05-11 13:17:50
reply to skr0
offset hours = +0
None
2010-05-06 20:14:56
reply to skr0
offset hours = +0
None
2010-05-05 22:22:49
reply to skr0
offset hours = +0
None
2010-05-05 10:21:21
reply to skr0
offset hours = +0
None
2010-05-04 20:07:15
reply to skr0
offset hours = +0
None
2010-04-28 20:50:17
reply to skr0
offset hours = +0
None
2010-04-24 00:59:54
reply to skr0
offset hours = +0
None
2010-04-23 19:46:41
reply to skr0
offset hours = +0
None
2010-04-23 19:12:24
reply to skr0
offset hours = +0
None
2010-04-23 17:24:23
reply to skr0
offset hours = +0
None
2010-04-22 20:49:44
running tasks: 1
running tasks: 2
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14373468123
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 1
running tasks: 2
performing search
nothing to search
running tasks: 1
running tasks: 2
performing search
nothing to search
running tasks: 1
running tasks: 2
getting mentions
refreshing since14362663963
running tasks: 1
running tasks: 2
performing search
nothing to search
running tasks: 1
<hildon.Button object at 0x41b2e828 (HildonButton at 0x3a5008)>
timeline
running tasks: 2
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14373468123
fetching tweets from https://twitter.com/statuses/friends_timeline.json
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/src/witter/fremantle/src/opt/witter/witter/refresh_thread.py", line 69, in _refresh
File "/opt/witter/witter.py", line 700, in getTweetsWrapper
self.activeAccount.getTweets(auto=autoval, older=get_older, get_count=more)
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 215, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 857, in set_pic_for_id
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 884, in set_pix
GError: Image file '/home/user/.witterPics/Twitter/20635230.jpg' contains no data

running tasks: 3
performing search
nothing to search
running tasks: 2
running tasks: 3
getting mentions
refreshing since14362663963
running tasks: 2
<hildon.Button object at 0x41b2e530 (HildonButton at 0x3a5008)>
timeline
running tasks: 3
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14374661104
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
<hildon.Button object at 0x41b2e530 (HildonButton at 0x3a5008)>
timeline
running tasks: 3
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14374661104
fetching tweets from https://twitter.com/statuses/friends_timeline.json
<hildon.Button object at 0x41b2e530 (HildonButton at 0x3a50a8)>
mentions
running tasks: 2
<hildon.Button object at 0x41b29b70 (HildonButton at 0x3a5008)>
timeline
running tasks: 3
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14374661104
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
running tasks: 3
performing search
nothing to search
running tasks: 2
<hildon.Button object at 0x41b29210 (HildonButton at 0x3a5008)>
timeline
running tasks: 3
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14374661104
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
Stop Wittering
shutting down refresh loop
written config object to file
stopping thread
stopping thread
stopping thread
stopping thread
stopping thread
killing thread
killing thread
killing thread
killing thread
~ $


Opened Witter again from the command line and left for 6 mins, no tweets displayed, hit refresh time 18:46.
One Tweet displayed.
Opened twitter.com and there were 3 tweets inc one retweet.
Code from this:


jpg' contains no data

updating all stored images for 123643330
offset hours = +0
None
2010-05-20 18:37:18
offset hours = +0
None
2010-05-20 14:56:03
reply to skr0
updating all stored images for 9266222
offset hours = +0
None
2010-05-20 18:37:17
updating all stored images for 143500048
offset hours = +0
None
2010-05-20 18:37:15
updating all stored images for 50941753
offset hours = +0
None
2010-05-20 18:37:14
offset hours = +0
None
2010-05-19 00:27:57
reply to skr0
updating all stored images for 28147340
offset hours = +0
None
2010-05-20 18:37:10
updating all stored images for 44293405
offset hours = +0
None
2010-05-20 18:37:08
updating all stored images for 24420975
offset hours = +0
None
2010-05-20 18:37:05
offset hours = +0
None
2010-05-18 10:51:57
reply to skr0
updating all stored images for 50649568
offset hours = +0
None
2010-05-20 18:37:00
updating all stored images for 120753292
offset hours = +0
None
2010-05-20 18:36:57
updating all stored images for 14789018
offset hours = +0
None
2010-05-20 18:36:56
updating all stored images for 19114679
offset hours = +0
None
2010-05-20 18:36:55
offset hours = +0
None
2010-05-17 23:46:39
reply to skr0
updating all stored images for 72116831
offset hours = +0
None
2010-05-20 18:36:49
updating all stored images for 118537891
offset hours = +0
None
2010-05-20 18:36:48
updating all stored images for 17856771
offset hours = +0
None
2010-05-20 18:36:45
updating all stored images for 133815891
offset hours = +0
None
2010-05-20 18:36:44
offset hours = +0
None
2010-05-12 20:21:41
reply to skr0
updating all stored images for 9081932
offset hours = +0
None
2010-05-20 18:36:42
offset hours = +0
None
2010-05-11 22:12:09
reply to skr0
updating all stored images for 70172755
offset hours = +0
None
2010-05-20 18:36:41
updating all stored images for 123945973
offset hours = +0
None
2010-05-20 18:36:39
updating all stored images for 144329040
offset hours = +0
None
2010-05-20 18:36:38
offset hours = +0
None
2010-05-11 13:17:50
reply to skr0
updating all stored images for 14687806
offset hours = +0
None
2010-05-20 18:36:36
running tasks: 2
offset hours = +0
None
2010-05-06 20:14:56
reply to skr0
offset hours = +0
None
2010-05-05 22:22:49
reply to skr0
offset hours = +0
None
2010-05-05 10:21:21
reply to skr0
offset hours = +0
None
2010-05-04 20:07:15
reply to skr0
offset hours = +0
None
2010-04-28 20:50:17
reply to skr0
offset hours = +0
None
2010-04-24 00:59:54
reply to skr0
offset hours = +0
None
2010-04-23 19:46:41
reply to skr0
offset hours = +0
None
2010-04-23 19:12:24
reply to skr0
offset hours = +0
None
2010-04-23 17:24:23
reply to skr0
offset hours = +0
None
2010-04-22 20:49:44
running tasks: 1
running tasks: 2
performing search
nothing to search
running tasks: 1
running tasks: 2
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since14374661104
fetching tweets from https://twitter.com/statuses/friends_timeline.json
offset hours = +0
None
2010-05-20 18:43:09
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/src/witter/fremantle/src/opt/witter/witter/refresh_thread.py", line 69, in _refresh
File "/opt/witter/witter.py", line 700, in getTweetsWrapper
self.activeAccount.getTweets(auto=autoval, older=get_older, get_count=more)
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 215, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 857, in set_pic_for_id
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 884, in set_pix
GError: Couldn't recognise the image file format for file '/home/user/.witterPics/Twitter/122994639.jpg'

Stop Wittering
shutting down refresh loop
written config object to file
stopping thread
stopping thread
stopping thread
stopping thread
stopping thread
killing thread
killing thread
killing thread
killing thread


From api.twitter.com I got:
150 150 1274381219 2010-05-20T18:46:59+00:00

Hope this help
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#397
Originally Posted by skr0 View Post
My issues have also been caused by the way I was using Witter and had it configured. I have set the time line to refresh every 5 mins (I did mean mins but typed secs) and Mention every 10, I also did an uninstall and reinstall.

Running from the terminal as requested:
After about 25 mins one Retweet and three other tweets appeared on Twitter.com none on timeline after doing a refresh, the timer was still spinning around.
I closed twitter.com to reduce the api hit.
After further 5 mins with the timer spinning I closed Witter

Xterminal did not capture it all but this is what I got:
<snip>
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/src/witter/fremantle/src/opt/witter/witter/refresh_thread.py", line 69, in _refresh
File "/opt/witter/witter.py", line 700, in getTweetsWrapper
self.activeAccount.getTweets(auto=autoval, older=get_older, get_count=more)
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 215, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 857, in set_pic_for_id
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 884, in set_pix
GError: Image file '/home/user/.witterPics/Twitter/20635230.jpg' contains no data
<snip>

GError: Couldn't recognise the image file format for file '/home/user/.witterPics/Twitter/122994639.jpg'

Ah ha! two interesting problems. the first is that one of the avatar images has either failed to download properly, leaving an empty file, and by the looks a corrupted file.
When witter tries to reload these from it's cache it dies, basically whenever a tweet from either of these to twitter ids shows up in your timeline it dies.
if you delete:
/home/user/.witterPics/Twitter/20635230.jpg
'/home/user/.witterPics/Twitter/122994639.jpg'
or perhaps just ot be safe, delete every image in that folder, then it should return to normal.

if it happens again I will presume something more sinister afoot. I will also see if I can code defensively against this possible error
__________________
----------
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.
 
Posts: 21 | Thanked: 0 times | Joined on May 2010 @ London
#398
I have deleted all the files in that folder will let you know how I get on, I feel you may need another pint.
 
Posts: 67 | Thanked: 15 times | Joined on Apr 2010
#399
On my N900, using AutoDisconnect, I get "Error retrieving tweets (-2 'Name or service not known'" if the N900 isn't already online when checking for tweets.

I was thinking, is it possible to make it connect automatically?

The N900 is doing this with (most) other apps, so I guess it's down to the app to ask for a connection.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#400
Originally Posted by haj View Post
On my N900, using AutoDisconnect, I get "Error retrieving tweets (-2 'Name or service not known'" if the N900 isn't already online when checking for tweets.

I was thinking, is it possible to make it connect automatically?

The N900 is doing this with (most) other apps, so I guess it's down to the app to ask for a connection.
If you can point me at another python app that does this, then I'll gladly take a look to figure out how, I had originally assumed that the n900 would automatically prompt the user to establish a connection if the app tried to make one. Obviously that is not the case, so I don't know how I'm supposed to trigger that.
__________________
----------
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

Tags
python, twitter

Thread Tools

 
Forum Jump


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