![]() |
Re: witter - a python twitter client
Quote:
Next tweet and per minute/hour/day/... |
Re: witter - a python twitter client
Quote:
maybe I'm just over sensitive to the idea of pulling new images every time you do anything. I guess the cost isn't that much, but for someone roaming on 3g its a lot of needless data movement. I'm thinking I might settle on weekly, but potentially update for anyone you @reply/mention on the basis that you are probably more interested in their stuff being up to date. Ideally I'm looking for a strategy that will minimise wasted bandwidth, not require lots of code to implement, and keep people moderately up to date with avatars. at the moment I just look for a file which is twitter_id.jpg and if it doesn't exist then download avatar pic and store it in file of twitter_id.jpg this was nice and simple. I'm sure I can come up with something lightweight to compromise between the above factors. |
Re: witter - a python twitter client
Quote:
On the other hand it might be that all apps just download the avatar each time together with the tweet. Could be worth checking. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
The witter has a bug. The one chinese word occupancy 3 word.
but in web twitter one chinese word only occupancy 1 word. http://www.twitpic.com/19sisx this is website of twitter http://www.twitpic.com/19sjmh witter http://www.twitpic.com/19sjrk mukan |
Re: witter - a python twitter client
Quote:
i was considering switching from a hard limit to a warned limit which would let you send and just get truncated if twitter doesn't like it. do you have any experience coding for chinese characters? any special calculation to get the o****ing 'right'? |
Re: witter - a python twitter client
whoa, okay i seem to have a bug.
my witter hasn't updated for quite a while. i still don't have avatars. I have 29 percent rootfs space, all my repositories are working fine, yet it won't update. any idea guys?? |
Re: witter - a python twitter client
nevermind
i just skimmed and assumed there was sth wrong my bad :P |
Re: witter - a python twitter client
Quote:
chinese characters in linux we always use utf8, In website we use utf8 unicode and other china criterion. i just know php, i can give you some code of php $str = "我sadasdas" // this must use utf8 code . for ($i=0 ; $i<strlen($str);$i++) { if(ord( $str{$i} )> 127) { $length++; i++; }else{ $length++; } } echo $str." length is ".$length; //我sadasdas length is 9 |
Re: witter - a python twitter client
witter 0.3.1 is now available in extras-devel.
see http://danielwould.wordpress.com/witter for details tywtyw2002, I've not figured out anything yet, but I have made 140 a 'soft' limit so it might mean you can just submit wiht something witter things is much longer but which twitter will be fine with. |
Re: witter - a python twitter client
Loving the 0.3.1 release, awesome job with the avatars.
One more request (though its no biggie) - would it be possible to have the option of display full names in place of the twitter usernames for each contact? A few other clients do this, just think it'd be a nice addition. Keep up the good work. |
Re: witter - a python twitter client
woot
love the newer version :D |
Re: witter - a python twitter client
Is my phone going to explode if I get this from extras devel
|
Re: witter - a python twitter client
D,
Love this new release. The app runs much faster, the layout/theme is much cleaner (and matches the white-text-on-black-background of the OS), and the new navigation paradigm (moving left to see options on a tweet, then back-arrow to the main window) also matches the standard OS nav. Thanks so much for sticking with it. I know Tweego's got a team of folks behind it, but you've accomplished a lot in short amount of time on your own. Keep up the great work! digittante |
Re: witter - a python twitter client
Just downloaded the latest update
glad my advice got heard and double tapping a tweet gets a new page like logpost keep up the good work |
Re: witter - a python twitter client
Great update. Now is easy to read and with avatars you get better twitter experience.
Thanks |
Re: witter - a python twitter client
My mentions are not sorted by date. Is this a known bug?
|
Re: witter - a python twitter client
Quote:
actually they are sorted by id number, and an assumption that larger number == more recent. if this assumption is false then I may need to think differently |
Re: witter - a python twitter client
Thinking about promoting 0.3.1-1 to extras-testing
Please let me know about any serious issues if you think it's not ready for that |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
I suppose I might presume that id numbers don't necessarily always go up, so I can consider doing some parsing/processing of the time stamp. I had wanted to avoid that, but it might prove more robust. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Frustratingly parsing the UTC timestamp with offset from twitter isn't working properly, the python utilities available on fremantly appear to parse everything except the actual time, returning the right day/date but 00:00:00 for the time. So currently no fix for ensuring sort order is correct.
However I have uploaded a couple of new versions to extras-devel with some minor updates http://danielwould.wordpress.com/witter for changelog |
Re: witter - a python twitter client
First of all, Daniel: thanks for the update, it looks much better and it seem to work much smoother also. Am impressed how good it looks and is working now. (although I would like an option for changing the background color and tekst color myself, but that is only a personal preference :)....)
I do have a question: is it normal that when you do a search it only shows the avatar's from people in your friend's list. All others are having the Witter Icon in front of them?? don't know if this is done on purpose or if it is a a bug?? |
Re: witter - a python twitter client
Quote:
that is intentional, twitter search results don't include user info like the avatar url. so to retrieve it would require an additional lookup for each unknown. currently I'm working on the basis that it sufficient for avatars for friends and people talking directly to you. also if you open a users history it will fetch their avatar. |
Re: witter - a python twitter client
Yhis one might just be ready for testing. Very smooth and stable compared to earlier versions.
|
Re: witter - a python twitter client
Quote:
Also follow/unfollow don't work at all with OAUth and I have no idea why ;-( |
Re: witter - a python twitter client
Since the new update I can't post a new tweet at all, tried all day and it looks like it is posting but no conformation and when looking on the web it hasn't post anything :(. Don't know if more users have the same? or is it just me??
The not be able to follow bug I have too... Thanks for the avatar explanation Daniel !! Still very happy about this new version !! |
Re: witter - a python twitter client
Quote:
if you run witter from a terminal it outputs quite a lot of diagnostic information that might give a hint as to what is going wrong. open xterm run: run-standalone.sh python2.5 /opt/witter/witter.py see if there are any clues in the output when you attempt to tweet. |
Re: witter - a python twitter client
It doesn't register anything..
it says from running standalone: (and tried to (twice) send a tweet) getting tweets with PaulaN900 base url = https://twitter.com/ base url of api object = https://twitter.com/statuses/friends_timeline.json running tasks 0 fetched image updating all stored images for 41692369 So it seems like it isn't noticing my tweet at all right?? |
Re: witter - a python twitter client
so is that what output after you hit the W button to tweet? or was that already output and nothing additional output when you hit the W button?
|
Re: witter - a python twitter client
that was already the output and no additional output after I've hit the W button (tried several times)
|
Re: witter - a python twitter client
Quote:
As it turns out there isn't any diagnostic output on that path that would go to the terminal (though I just added some to the source for future needs) I can't even guess at what is wrong, since it should be impossible to get no feedback at all from pressing the button. I'll keep thinking |
Re: witter - a python twitter client
Thanks, but I also don't get a banner at all,
it only shows the moving circle (next to the for a while but that changes to nothing soon, don't get a failure banner after that... But am wondering if I am the only one with this problem hmmm strange... Update: even after configure Oauth again problem still exists :( |
Re: witter - a python twitter client
Quote:
if you want to try to get more informaiton go to xterm sudo gainroot (or however you prefer to get root access) vi /opt/witter/witter.py scroll down to line 219 which should be the 'enterPressed' method go into insert mode (i) and add some print lines either side of the call to newTweet, like so: print "sending tweet" result = self.activeAccount.newTweet(self.ui.getEntryText() , reply_to_name=self.reply_to_name, reply_to_id=self.reply_to) print "Tweet Sent" then press ESC, and then :wq to save and exit vi Then re-run witter. This should at least show if the event notification is triggering the method at all. also in that method immediately after that there is an if (result=True) statement, if you put in there print "tweet successful" and in the else block print "tweet failed" then if for some reason the banner stuff isn't working, then the output should at least show whether witter things it's succeeding in posting or not. If you don't fancy doing that, then you may have to wait until I get around to a 0.3.1-6 at which point I have put those changes in the code. |
Re: witter - a python twitter client
Daniel,
Will look into that later, am not sure I'm into the hacking stuff but if you described it correctly I can't go wrong right?? Of course would like to provide you more info about this problem, you are giving us a great (and free) program so it is only a little effort to help you in return !! |
Re: witter - a python twitter client
Quote:
give it a whirl and see what it says |
Re: witter - a python twitter client
Witter is looking good. Sent you a follow request on Twitter. Glad to help with the testing
there is no auto refresh, right? |
Re: witter - a python twitter client
Quote:
|
All times are GMT. The time now is 16:02. |
vBulletin® Version 3.8.8