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)

lifenexus 2010-05-31 18:47

Re: witter - a python twitter client
 
congratz on the new update. portrait works fine. i have a problem though. iits the fullscreen thing. when i click on full screen, it works fine, he top bar disappears. but when if i click on the text bar to type, it exits out of full screen and never goes back until i click full screen

skr0 2010-05-31 18:56

Re: witter - a python twitter client
 
Still on v0.3.3-3
Ran Witter normally and the timeline was empty, closed application. Ran from command line:
$ run-standalone.sh python2.5 /opt/witter/witter.py
Nothing in timeline nor mentions and i received a new error of:
Error retrieving tweets (8, EOF occured in violation of protocol

Xterm output (as much as I could get):
/opt/witter/ui/gtkWitter.py:76: GtkWarning: gtk_container_child_set_property: assertion `child->parent == GTK_WIDGET (container)' failed
self.builder.add_from_file("/usr/share/witter/witter.ui")
/opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok-oauth
self.builder.connect_signals(dic)
/opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok
self.builder.connect_signals(dic)
running tasks: 1
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since15106578930
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
getting dms
running tasks: 3
getting mentions
refreshing since15068976607
running tasks: 4
getting public
end refresh setup
running tasks: 3
error
Error retrieving dms timed out
running tasks: 2
error
Error retrieving tweets timed out
running tasks: 1
Exception in thread Thread-4:
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 41, in _start
File "/opt/witter/witter.py", line 753, in getPublicWrapper
self.activeAccount.getPublic(auto=autoval, older=get_older, get_count=more)
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 510, in getPublic
File "/home/user/src/witter/fremantle/src/opt/witter/twitter.py", line 1331, in GetPublicTimeline
json = self._FetchUrl(url, parameters=parameters)
File "/home/user/src/witter/fremantle/src/opt/witter/oauthtwitter/oauthtwitter.py", line 140, in _FetchUrl
File "/usr/lib/python2.5/socket.py", line 304, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.5/httplib.py", line 529, in read
s = self.fp.read(amt)
File "/usr/lib/python2.5/httplib.py", line 1027, in read
s = self._read()
File "/usr/lib/python2.5/httplib.py", line 1003, in _read
buf = self._ssl.read(self._bufsize)
sslerror: The read operation timed out

running tasks: 2
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 3
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since15106578930
fetching tweets from https://twitter.com/statuses/friends_timeline.json
<hildon.Button object at 0x41b22698 (HildonButton at 0x3d30e8)>
mentions
<hildon.Button object at 0x41b22698 (HildonButton at 0x3d3048)>
timeline
error
Error retrieving tweets (8, 'EOF occurred in violation of protocol')
running tasks: 2
error
Error retrieving tweets (8, 'EOF occurred in violation of protocol')
running tasks: 1
running tasks: 2
getting tweets with Skr0
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since15106578930
fetching tweets from https://twitter.com/statuses/friends_timeline.json
Stop Wittering
shutting down refresh loop
written config object to file
stopping thread
stopping thread
stopping thread
stopping thread
killing thread
killing thread
killing thread
error
Error retrieving tweets The connect operation timed out
running tasks: 1

skr0 2010-05-31 19:00

Re: witter - a python twitter client
 
Correction to above, when uninstalling it stated it was actually v0.3.3-4

cy8aer 2010-06-01 07:20

Re: Server returned 500
 
Quote:

Originally Posted by dwould (Post 692162)
Can I ask if you are oAuth or basic auth (it shouldn't make a difference, but could be relevant)

Twitter: oAuth, status.net-Account: basic (not shure if oAuth is possible with my status.net instance anyway :))

dwould 2010-06-01 13:27

Re: witter - a python twitter client
 
Quote:

Originally Posted by skr0 (Post 692276)
Correction to above, when uninstalling it stated it was actually v0.3.3-4

all of that looks like your network connection was down r it was unable to see twitter.com
could you get to anything? twitter in a browser from n900?

nosa101 2010-06-01 13:29

Re: witter - a python twitter client
 
The new update is pretty nifty. Thanks for the work

marcdxn 2010-06-01 14:33

Re: witter - a python twitter client
 
Will we get a witter desktop widget to allow us to do a quick twitter status update by your self.

hawaii 2010-06-01 14:53

Re: witter - a python twitter client
 
Too many other things that need to be added before a widget will be created.

dwould 2010-06-01 14:59

Re: Server returned 500
 
Quote:

Originally Posted by cy8aer (Post 693078)
Twitter: oAuth, status.net-Account: basic (not shure if oAuth is possible with my status.net instance anyway :))

Sorry, I'm stumped, is it possible the status.net account doesn't support new style retweets? eg could I be making an API call which that server doesn't support?

dwould 2010-06-01 15:00

Re: witter - a python twitter client
 
Quote:

Originally Posted by marcdxn (Post 693916)
Will we get a witter desktop widget to allow us to do a quick twitter status update by your self.

It' already been said, but basically I'm focussed on features and fixes for the main app, haven't even looked at what a desktop widget requires, in any case it's bottom of a long list of things to do


All times are GMT. The time now is 16:46.

vBulletin® Version 3.8.8