Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    witter - a python twitter client

    Reply
    Page 39 of 84 | Prev | 29   37     38   39   40     41   49 | Next | Last
    dwould | # 381 | 2010-04-10, 10:53 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cy8aer | # 382 | 2010-05-08, 10:21 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cy8aer; 2010-05-08 at 10:23. Reason: some additional info

     
    dwould | # 383 | 2010-05-09, 12:08 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dwould | # 384 | 2010-05-09, 12:21 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    evil_m0nkey | # 385 | 2010-05-09, 14:18 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ofels | # 386 | 2010-05-09, 20:05 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dwould | # 387 | 2010-05-09, 20:14 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    netAdept | # 388 | 2010-05-11, 17:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dwould | # 389 | 2010-05-11, 18:15 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    netAdept | # 390 | 2010-05-11, 19:16 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 39 of 84 | Prev | 29   37     38   39   40     41   49 | Next | Last
vBulletin® Version 3.8.8
Normal Logout