![]() |
Re: witter - a python twitter client
I'm having trouble myself..
Code:
$ run-standalone.sh python2.5 /opt/witter/witter.py |
Re: witter - a python twitter client
Quote:
as for the blog, i'll look into it. the comments threading is a little difficult.to follow. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
obviously in that model i'd also need to use a key on the keyboard to dismiss it again. may find time this weekend to investigate varius signals that i can use for this kind of thing |
Re: witter - a python twitter client
I 've seen much improvement in witter. Kudos to dwould. Greek language in portrait keyboard would be a nice addition:) And if its possible to count every character as 1 and not 2(in greek language too).
|
Re: witter - a python twitter client
Quote:
basically I'd have to shift from the easy just using hard coded strings where I need to, to having to have message files and load references to everything. And then I could get volunteers to creates translations of those message files. I'll think about it, if I can dream up a fast and simple way to convert what I've done so far.... then maybe. |
Re: witter - a python twitter client
Quote:
Indeed, a timer would be the best way to make the textbox disappear when not in use and the accepted way for other things (am thinking particularly of javascript timers, though that might be lots easier to setup than python+system libraries). Is there an easy interrupt handler kinda thing equivalent (am a c++/linux/python dev but not used to event-driven models yet in native app UIs)? Obviously getting the text box back again is easy in one way (any keypress event on the main screen opens it up with the key you pressed pre-inserted), but when you're using the virtual keyboard it might be harder (I mean is there another way, apart from clicking a "reply" button from another opened post's window). You could overlay a small button bottom-left (you might not care that you'd cover up an avatar from the bottom post on the screen) that only appears when the hardware keyboard is shut, or steal one of the other hardware buttons (camera button? Probably lots of effort but there might be other apps that provide libs/ways to do it). I used to get just a busy-wait indicator when I went to "mentions" tab (even before PR1.2), and it never got the tweets/updated; now it shows stuff, and it doesn't lose it when you switch tabs back to it either now. The other windows still seem to be empty though, or take forever. But keep going, its getting better and better! If I felt I had a good amount of time to spare I'd offer you some coding help (I've slowly been getting to know the pygtk libs the last couple of months by writing my own basic tube station/line info app) and have a little experience with internationalisation from previous paid contracts in python/php. PS... from your blog, v3.3.7(I think?), I quote: "Initial support for starting a connection if none exists, currently it starts, but not before witter fails the connection is was trying. not sure yet how to make witter wait for active connection" Did you fix this? I'm wondering if there's a dbus message you can subscribe to to know when its connected, either that or just retry the socket open for a period of time (or set the socket timeout larger?). There's gotta be a standard way to do it like the builtin Nokia-selected/built apps do. John, London, UK |
Re: witter - a python twitter client
Quote:
I really just need to have the time to figure out if there is a focus event that I can connect to for when someone taps inside the hildon Entry field.. Quote:
Are you saying that even when you ask for a refresh some of the views don't load? Quote:
nope not fixed the connection thing yet. I'm using conic, and I *thought* I'd set it up such that I should get a callback for connection events, but it's not firing, and I've not had time to figure out why yet. |
Re: witter - a python twitter client
I seem to get a lot of 'server returned 400' type errors using Oauth so I competley uninstalled witter including deleting .witter* files fom mhy Home directory.
Installed v 0.3.4-2 without using Oauth I do not get any tweets, just the 'server returned 400' error. Do you recommend using Oauth or not ? |
Re: witter - a python twitter client
Quote:
400 errors are often associated with hitting your API rate limit. Go to this URL in a browser: http://twitter.com/account/rate_limit_status.xml and see if you've hit your limit which is something like 150 requests per hour. So for instance if you have timeline/mentions and DMs set at 1 min check interval, then you'd reliably blow that 150 limit every hour, and have to wait for the end of the hour to reset. |
| All times are GMT. The time now is 03:56. |
vBulletin® Version 3.8.8