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)

hawaii 2010-08-18 19:33

Re: witter - a python twitter client
 
I had a feeling they would do that.

Thanks for replying. Is there any way to remove the separator lines for differentiating tweets, or even perhaps changing the style? From "||||||" to something horizontal perhaps?

leojab 2010-08-18 20:35

Re: witter - a python twitter client
 
Is it possible to setup multiple tweet searches and also have them cached. I can use this as I have many keyword search which i can set and load it up when i am in wireless range.

dwould 2010-08-18 20:55

Re: witter - a python twitter client
 
Quote:

Originally Posted by hawaii (Post 790917)
I had a feeling they would do that.

Thanks for replying. Is there any way to remove the separator lines for differentiating tweets, or even perhaps changing the style? From "||||||" to something horizontal perhaps?

remove the lines? i spent a long time trying to make it give me some kind of separator, through lots of alternate api calls that should have done it, and the current division is the only thing i got working at all. in theory it's all controlled via 'styles' but i have no idea how to make it do anything i want it to do.

if anyone knows how, feel free to provide code examples

dwould 2010-08-18 21:00

Re: witter - a python twitter client
 
Quote:

Originally Posted by leojab (Post 790976)
Is it possible to setup multiple tweet searches and also have them cached. I can use this as I have many keyword search which i can set and load it up when i am in wireless range.

i'm not certaing what you mean, but you can perform multiple searches by separating search terms with commas.
eg

#N900, #witter

searches both those terms independantly but shows them in a combined view

currently no support for entirely separate searches, it's an area i'm still thinking about.

hotzigetty 2010-08-20 06:22

Re: witter - a python twitter client
 
Does witter store thumbnail images ffrom users in the timeline? Asking because it doesn't refresh when users change thumbnails..

dwould 2010-08-20 10:38

Re: witter - a python twitter client
 
Quote:

Originally Posted by hotzigetty (Post 792687)
Does witter store thumbnail images ffrom users in the timeline? Asking because it doesn't refresh when users change thumbnails..

Yes witter caches avatars, too save on unnecessary data download (this is a mobile device afterall) In theory if it sees the same avatar 10 times in a given use of witter then it should go re-load the avatar from the URL. One way to force this is to load that specific users timeline in the user history view.

hotzigetty 2010-08-20 13:13

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 792888)
Yes witter caches avatars, too save on unnecessary data download (this is a mobile device afterall) In theory if it sees the same avatar 10 times in a given use of witter then it should go re-load the avatar from the URL. One way to force this is to load that specific users timeline in the user history view.

Thanks for the tip!:)

skr0 2010-08-20 17:33

Re: witter - a python twitter client
 
I am using the Extras Testing (0.3.4 I think). I had a look at the version in Extras Devel but had to down grade as the development version froze on me.

It looked great with the changes to the icons; summery of followers and following; GPS location; etc.

Really looking forward to this reaching Extras Testing any idea of time frame ?

Uxi 2010-08-20 23:03

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 790522)
interesting idea, I guess I could play around and see what I can do with this


excellent. Thanks!

Quote:

Originally Posted by dwould (Post 790522)
double tap an entry does exactly this...? single tap versus scroll start can be difficult for maemo to differentiate so not ideal to map anything to single tap

I was thinking it would be contextual and not go to a new screen, but dynamically expand out.

Quote:

Originally Posted by dwould (Post 790522)
erm... enable gestures.. it does exactly this

I had them enabled. was kinda jerky (probably a Hildon issue) but also hard to tell what tab you're in. I'd suggest shading the background icons more maybe and maybe looking at longer or more stark transitions

hotzigetty 2010-08-24 04:57

Re: witter - a python twitter client
 
gestures disabled
tweet with location disabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
Failed to load cached timeline
Failed to load cached timeline
Failed to load cached timeline
/opt/witter/ui/gtkWitter.py:82: GtkWarning: gtk_container_child_set_property: assertion `child->parent == GTK_WIDGET (container)' failed
self.builder.add_from_file("/usr/share/witter/witter.ui")
UI elements loaded from file
signals connected to buttons
Loading Theme Icons
pixbufs loaded for default theme
defining ui buttons
define portrait keyboard objects
define general window
adding button to panned area
time to show the window
pixbufs loaded for Monochrome theme
pixbufs loaded for Monochrome theme
running tasks: 1
getting tweets with Raghukannan
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since21893788404
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
getting dms
refreshing since21973876763
running tasks: 3
getting mentions
refreshing since21973876763
end refresh setup
setting never rotate
trigger landscape orientation
getting profile info
quitting
reply to RaghuKannan
None
2010-08-24 10:14:31
running tasks: 1
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 907, 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 263, in getTweets
File "/home/user/src/witter/fremantle/src/opt/witter/twitter.py", line 1471, in GetFriendsTimeline
return [Status.NewFromJsonDict(x) for x in data]
File "/home/user/src/witter/fremantle/src/opt/witter/twitter.py", line 421, in NewFromJsonDict
if 'user' in data:
TypeError: argument of type 'NoneType' is not iterable

hey. Witter fails to load the timeline.


All times are GMT. The time now is 12:06.

vBulletin® Version 3.8.8