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)

raothmist 2010-07-29 15:34

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 769319)
Read the sig. without a log I can't help you.

Sorry for that. But i fix the problem, the account setting delete my user, i just configure all again. thats strange.......

But is working all again :D

esiravegna 2010-07-31 23:20

Re: witter - a python twitter client
 
Just wondering if anyobody else has, like me, troubles with the shorten url command: Never worked for me. I even created a bit.ly account, but It seems that no url reached bit.ly either.

Suggestions?

Thanks!

dwould 2010-08-02 12:47

Re: witter - a python twitter client
 
Quote:

Originally Posted by esiravegna (Post 771724)
Just wondering if anyobody else has, like me, troubles with the shorten url command: Never worked for me. I even created a bit.ly account, but It seems that no url reached bit.ly either.

Suggestions?

Thanks!

works for me. Without a log (see sig) I can't make any meaningful suggestions

esiravegna 2010-08-02 13:23

Re: witter - a python twitter client
 
Thanks dwolud. I gotthese errors:

Traceback:
File "/opt/witter/witter.py", line 1055, in getShortenedURL except bitly.BitleyError: AttributeError: 'module' object has no attribute 'BitleyError'

assertion error: witter.py:218 gtkwarning: file gtktreeview.c: line 7044 (validate_visible_area): assertion 'has_next' falied.
There is a disparity between the internal view of the GtkTreeView and the GtkTreeModel.

And a lot of 'failed cache timeline' at the start

Ideas?

Thanks again!

dwould 2010-08-02 14:11

Re: witter - a python twitter client
 
Quote:

Originally Posted by esiravegna (Post 773045)
Thanks dwolud. I gotthese errors:

Traceback:
File "/opt/witter/witter.py", line 1055, in getShortenedURL except bitly.BitleyError: AttributeError: 'module' object has no attribute 'BitleyError'

assertion error: witter.py:218 gtkwarning: file gtktreeview.c: line 7044 (validate_visible_area): assertion 'has_next' falied.
There is a disparity between the internal view of the GtkTreeView and the GtkTreeModel.

And a lot of 'failed cache timeline' at the start

Ideas?

Thanks again!

ah, unfortunately it seems I have a typo in the error handling code, so it fails on that, and hides the actual error that occured in the first place.
Have you double checked your account name/api key and made sure you didn't get odd capitalisation that you weren't expecting?

Trying to guess what would trigger an error from the bitly code.

esiravegna 2010-08-02 16:21

Re: witter - a python twitter client
 
Bloody caps. Issue solved, thanks!
BTW, it is supposed to work without a bit.ly account?

dwould 2010-08-06 08:29

Re: witter - a python twitter client
 
Quote:

Originally Posted by esiravegna (Post 773234)
Bloody caps. Issue solved, thanks!
BTW, it is supposed to work without a bit.ly account?

No it's not. at least at the time I added the support it was not obvious to me that there was any way to make it work without a bit.ly account. and I didn't spend a great deal of time worrying about it. I guess if I asked them nicely maybe they'd issue a key that I could hard code to witter? no idea.

hotzigetty 2010-08-06 08:40

Re: witter - a python twitter client
 
any new features planned? :D

dwould 2010-08-06 08:54

Re: witter - a python twitter client
 
Quote:

Originally Posted by hotzigetty (Post 777549)
any new features planned? :D

I was screwing around with ui stuff last night, I was trying to get the pannable area to let me put controlls to the left or right of the main timeline, but I couldn't get it to let me pan horizontally ;-(

I want to add somewhere that shows your account details, eg tweet count, followers/following counts etc etc.

There is a long list of stuff that I might get around to, but in the very little time I have to spend looking at the moment it's mainly focused around trying to make gtk do nicer ui things. At some point I may give up and try something like qt, but that's a lot of work and I don't know for sure it will be much better.

It should be noted that I get married in 3 weeks, so I'm not really expecting to do much code for the next couple of months ;-)

M.IryanFaiq 2010-08-08 17:03

Re: witter - a python twitter client
 
Hi! First off, I'd like to thank you for the amazing app. Works like a charm. However, I encountered a problem that I hope someone can help me with.

I've read through the thread but hadn't found anybody who encountered the same problem as I had. Witter was working perfectly up until a few days ago when, when I opened it, it looked like it was loading, as usual, then closed suddenly. I've tried it multiple times with the same result. I even reinstalled the firmware and everything and it's still the same. I tried running it through the X-term and this is what I got:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
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:77: 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
defining ui buttons
define portrait keyboard objects
define general window
setting up treeview
time to show the window
running tasks: 1
getting tweets with IryanFaiq
base url = https://twitter.com/
base url of api object = https://twitter.com/
refreshing since20462357745
fetching tweets from https://twitter.com/statuses/friends_timeline.json
running tasks: 2
getting dms
refreshing since20461268334
running tasks: 3
getting mentions
refreshing since20461268334
end refresh setup
Segmentation fault

I hope someone can help. =/


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

vBulletin® Version 3.8.8