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)

RGS 2010-05-27 03:54

Re: witter - a python twitter client
 
Since Pr1.2 witter does not work correctly. The timeline seems to work fine but DM's and @'s do not show up anymore in the corresponding views. I tried to use the +n buttons but to no avail. All other views just work fine.

Am I the only one with this problem?

version 0.3.3-2

BTW it's appreciated that you put all this work into a decent twitter application.

nosa101 2010-05-27 04:21

Re: witter - a python twitter client
 
works fine for me

corsac 2010-05-27 07:57

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 680641)
select the icon that has lots of little 'people' on it, the title bar will show 'Witter - public'
Then hit the bottom left refresh button to trigger a request for the public timeline.

Thanks you for your time, it does work fine :)

For people looking for info about status.net stuff:

Account type: Identi.ca
Username: <username>
Password: <password>
https://<domain>.status.net/api/
https://<domain>.status.net/api/

are the parameters which seem to work fine for me. The final / is important, or the connection will fail.

dwould 2010-05-27 09:04

Re: witter - a python twitter client
 
Quote:

Originally Posted by corsac (Post 681948)
Thanks you for your time, it does work fine :)

For people looking for info about status.net stuff:

Account type: Identi.ca
Username: <username>
Password: <password>
https://<domain>.status.net/api/
https://<domain>.status.net/api/

are the parameters which seem to work fine for me. The final / is important, or the connection will fail.

you should not have needed to set account type to identi.ca, you should be able to set it to 'other' and set teh same urls, that said the account types are just a short hand to allow me to pre-populate the urls with 'known' values

glad it's working for you

dwould 2010-05-27 09:06

Re: witter - a python twitter client
 
Quote:

Originally Posted by RGS (Post 681490)
Since Pr1.2 witter does not work correctly. The timeline seems to work fine but DM's and @'s do not show up anymore in the corresponding views. I tried to use the +n buttons but to no avail. All other views just work fine.

Am I the only one with this problem?

version 0.3.3-2

BTW it's appreciated that you put all this work into a decent twitter application.

There is a bug in witter for loading older mentions it seems, I get the same thing so I'll tak ea look at fixing it later.

appreciation can be shown in the form of pints bought for me via my blog....;-)

talmage 2010-05-27 19:41

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 676713)
please run from x-term:
run-standalone.sh python2.5 /opt/witter/witter.py

this will give a clue as to whether witter is sucessfully really using the second set of details or not.


I did as you suggested. Based on the output, I don't believe that witter contacts identi.ca at all. There are two places in the output where witter says he's fetching tweets. Both times, he's getting them from twitter.com.

I can't tell from the output if he contacts identi.ca when I make a tweet. I can tell you that when I tweet with the active account set to identi.ca, my little message shows up on twitter.com but not on identi.ca.

Here is the output from witter. For the sake of brevity, I have replaced some of the lines that were repeated several times in a row with text of the form

[previous <n> lines repeated <m> times]

Code:

#6b6bd3d3ffff
#00007575b5b5
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
Establishing api for Identi.ca using basic auth
Establishing api for Identi.ca using oauth
Connection working ok
running tasks: 1
getting tweets with 70mmlips
base url = http://identi.ca/api/
base url of api object = https://twitter.com/
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
getting dms
running tasks: 3
getting mentions
end refresh setup
error
Error retrieving mentions (8, 'EOF occurred in violation of protocol')
running tasks: 2
loaded pixbuf from file
loaded pixbuf from file
re-using file already loaded
loaded pixbuf from file
re-using file already loaded
  [previous message repeated four more times]
loaded pixbuf from file
re-using file already loaded
  [previous message repeated four more times]
reply to pjutter
re-using file already loaded
  [previous message repeated four more times]
refreshing avatar for 35969532
[Errno 2] No such file or directory: ''
failed to retreive picture for  : 35969532.jpg
  [previous three messages repeated four times]
loaded pixbuf from file
re-using file already loaded
refreshing avatar for 35969532
[Errno 2] No such file or directory: ''
failed to retreive picture for  : 35969532.jpg
  [previous three messages repeated seven times]
running tasks: 1
re-using file already loaded
re-using file already loaded
re-using file already loaded
refreshing avatar for 35969532
fetched image
updating all stored images for 35969532
Found pixbuf to update
  [previous message repeated 23 times]
running tasks: 0
running tasks: 1
sending tweet
Tweet Sent
Tweet successful
running tasks: 0
running tasks: 1
sending tweet
Tweet Sent
Tweet Failed
running tasks: 0
running tasks: 1
sending tweet
Tweet Sent
Tweet successful
running tasks: 0
running tasks: 1
getting tweets with 70mmlips
base url = http://identi.ca/api/
base url of api object = https://twitter.com/
refreshing since14712684725
fetching tweets from https://twitter.com/statuses/friends_timeline.json
re-using file already loaded
re-using file already loaded
running tasks: 0
Stop Wittering
shutting down refresh loop
written config object to file
stopping thread
stopping thread
stopping thread
killing thread
killing thread
killing thread


dwould 2010-05-27 22:08

Re: witter - a python twitter client
 
Quote:

Originally Posted by talmage (Post 683859)
I did as you suggested. Based on the output, I don't believe that witter contacts identi.ca at all. There are two places in the output where witter says he's fetching tweets. Both times, he's getting them from twitter.com.

I can't tell from the output if he contacts identi.ca when I make a tweet. I can tell you that when I tweet with the active account set to identi.ca, my little message shows up on twitter.com but not on identi.ca.

Here is the output from witter. For the sake of brevity, I have replaced some of the lines that were repeated several times in a row with text of the form

[previous <n> lines repeated <m> times]

[CODE]#6b6bd3d3ffff
#00007575b5b5
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
Establishing api for Identi.ca using basic auth
Establishing api for Identi.ca using oauth
Connection working ok
running tasks: 1
getting tweets with 70mmlips
base url = http://identi.ca/api/
base url of api object = https://twitter.com/
fetching tweets from https://twitter.com/statuses/friends_timeline.json

so do you have 2 accounts defined? one twitter, and one identi.ca?
and if you look at the accounts view which does witter think is active?
I have a twitter and identi'ca account and it works fine for me, I can switch between them etc, so it *can* work. just need to figure what is different about your setup.

talmage 2010-05-28 02:23

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 684179)
so do you have 2 accounts defined? one twitter, and one identi.ca?
and if you look at the accounts view which does witter think is active?

Yes, I have two accounts. Both have the same name, 70mmlips. Witter thinks that the identi.ca account is the active one.

dwould 2010-05-30 12:30

Re: witter - a python twitter client
 
Quote:

Originally Posted by talmage (Post 684527)
Yes, I have two accounts. Both have the same name, 70mmlips. Witter thinks that the identi.ca account is the active one.

could you send me the contents of /home/user/.witterUser

please redact the password fields, but the rest will help understand what's going on.

dwould 2010-05-30 17:26

Re: witter - a python twitter client
 
0.3.3-4 in extras-devel, see my blogs witter page for change history


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

vBulletin® Version 3.8.8