Notices


Reply
Thread Tools
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#381
Originally Posted by nosa101 View Post
The Twitter for blackberry app claims in app caching improves performance
well witter does do caching. it caches the avatars in memory. at the moment it uses the cache upto 10 times, on the 11 tweet seen from a user their avatar is re-downloaded.
i could extend this to make it use the cache more and only redownload say every 50th time.
i can't think of anything else that can be meaningfully cached for any performance benefit.
__________________
----------
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: 281 | Thanked: 679 times | Joined on Feb 2010
#382
hm, I tried the new 0.3.2-0 today but unfortunately...
... there is the time problem again:


time data did not match format: data=Sat May 08 11:13:59 +0200 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
Exception in thread Thread-1:
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 692, 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 217, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 1023, in format_timestamp
AttributeError: 'str' object has no attribute 'strftime'



This happens with an "other" (status.net) account, I cannot check my twitter account because the program does not change the active account after the error above - how can I change the account with the configuration files? How does the string look like with twitter? Maybe it can be useful to open a bug for the status.net developers to send the correct string to a client...

Last edited by cy8aer; 2010-05-08 at 10:23. Reason: some additional info
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#383
Originally Posted by cy8aer View Post
hm, I tried the new 0.3.2-0 today but unfortunately...
... there is the time problem again:


time data did not match format: data=Sat May 08 11:13:59 +0200 2010 fmt=%a %b %d %H:%M:%S +0000 %Y
Exception in thread Thread-1:
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 692, 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 217, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 1023, in format_timestamp
AttributeError: 'str' object has no attribute 'strftime'



This happens with an "other" (status.net) account, I cannot check my twitter account because the program does not change the active account after the error above - how can I change the account with the configuration files? How does the string look like with twitter? Maybe it can be useful to open a bug for the status.net developers to send the correct string to a client...
ok, well 0.3.2-1 just went to extras-devel and should fix most of what I broke, but possibly not this problem. which looks like yet *another* format for the date string. if this is not really twitter, then it's possible that status.net just has a slightly different format for it's timestamps etc.
I'll try to remember to add a fix for it next time I'm making updates.
__________________
----------
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.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#384
On a slightly different note, I'm hoping to push 0.3.2-n up to extras, It contians a few nice fixes that I think are worth it for people, and particularly the theme support to allow for nicer icons that the rubbish ones I drew originally.
That said I would like to push it with a couple more icon sets. So if any artistic type would like to create an icon set to be in the next extras version of witter, that would be much appreciated.
At the moment we have my rubbish originals, and monochrome which is much more stylish. So any other ideas that would provide some different styles to pick from would be cool
__________________
----------
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: 159 | Thanked: 27 times | Joined on Sep 2009 @ Toronto
#385
I will try to create an icon set. No promises though.

also, my witter says 2 tweets recieved but there's no change in my timeline.

danke
__________________
Habib Q
http://www.flickr.com/photos/evil_m0nkey/
http://habibqureshi.tumblr.com/

Everytime you don't click on my blog, I kill a kitten
 
Posts: 138 | Thanked: 103 times | Joined on Jan 2010 @ Southern Germany
#386
Originally Posted by cy8aer View Post
hm, I tried the new 0.3.2-0 today but unfortunately...
... there is the time problem again:
Same here.
Though I have not tried 0.3.2n yet.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#387
Thanks for the offers of icons.
I've updated to 0.3.2-2 to try to fix the persistent timestamp problems.
If lots of tweets start showing up as current when they should be old, then there is still a problem, but I'm trying to stop it being something that stops things 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.
 
Posts: 9 | Thanked: 1 time | Joined on Jan 2010 @ Wales, UK
#388
Has anyone else tried the PR1.2L ctrl-shift-r trick with Witter yet?

It works almost perfectly, scaling the icons across the top and bottom bars in a usable fashion. Unfortunately though the message text is truncated on the right hand side; presumably this is a fixed width rather than snapping to the right hand side.

I'd show you a picture but the screen rotates back to landscape when I open the keyboard

@dwould - thanks for all your effort making a great app. It's getting better with every iteration.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#389
Originally Posted by netAdept View Post
Has anyone else tried the PR1.2L ctrl-shift-r trick with Witter yet?

It works almost perfectly, scaling the icons across the top and bottom bars in a usable fashion. Unfortunately though the message text is truncated on the right hand side; presumably this is a fixed width rather than snapping to the right hand side.

I'd show you a picture but the screen rotates back to landscape when I open the keyboard

@dwould - thanks for all your effort making a great app. It's getting better with every iteration.
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.
__________________
----------
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: 9 | Thanked: 1 time | Joined on Jan 2010 @ Wales, UK
#390
Originally Posted by dwould View Post
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.
Sorry no idea. I don't suppose Python has anything like a CSS container where you can just say 'use 100% width' and let the renderer sort out the width for you?

Originally Posted by dwould View Post
I'll wait for a real PR 1.2 release to try it myself.
Probably best. The ctrl-shift-r is clearly an unfinished test feature.
 
Reply

Tags
python, twitter


 
Forum Jump


All times are GMT. The time now is 03:07.