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)

EmmaGx 2011-03-31 14:44

Re: witter - a python twitter client
 
... *sighs* ... finally thought I'd got witter to accept me (Typing the pin then tweeting as for some reason this usually stabilises witter keeping my account active) ... no such luck, on closing & re-opening my account's disappeared again ...

... I have a feeling at least some of my problems authorising witter may be twitter "fail whale" type moments ... while the initial twitter page asking me tol allow or deny access appears quickly the page with the code takes it's time and often doesn't apper untill I've re-clicked allow (something I guess I shouldn't do!) ... are twitter & witter interacting at this time, or is this just a twitter issue?

Very glad I'm not the only one having issues with the GPS & new UI ... should be easier on start-up to have GPS as optional rather than required! ... and nice to know that I'm not the only one who can't find/misses full screen mode!

richwhite 2011-03-31 15:59

Re: witter - a python twitter client
 
Quote:

Originally Posted by geneven (Post 978890)
I loved Witter for a long time but abandoned it because I couldn't stand it any more. I'll give it another shot. So far as I can tell, my N900 has no good Twitter client at present -- even Twimgo and Tweego seem to be gone.

Edit: Not usable, at first glance. No saved searches, slow and clumsy, and it closed itself while I was using it. I'll keep trying.

Twimgo is still around and being developed. I uninstalled Witter and use TwimGo exclusively, much nicer experience

SpandexBob 2011-03-31 23:20

Re: witter - a python twitter client
 
Quote:

Originally Posted by geneven (Post 978890)
Edit: Not usable, at first glance. No saved searches, slow and clumsy, and it closed itself while I was using it. I'll keep trying.

Myself and wreckgar23 are working to improve witter. I'm sorry its not working for you.

As for the saved searches I'm working on getting them working for the next release.

I'm hoping have something into at least extras-devel this weekend for initial testing on my N900.

If all goes well we can get something into testing quickly.

SpandexBob 2011-03-31 23:28

Re: witter - a python twitter client
 
Quote:

Originally Posted by EmmaGx (Post 979214)
... *sighs* ... finally thought I'd got witter to accept me (Typing the pin then tweeting as for some reason this usually stabilises witter keeping my account active) ... no such luck, on closing & re-opening my account's disappeared again ...

Thats very odd. I'll try and do a full removal of witter over the weekend and reinstall and see if I get the same problems.

Quote:

Originally Posted by EmmaGx (Post 979214)
Very glad I'm not the only one having issues with the GPS & new UI ... should be easier on start-up to have GPS as optional rather than required! ... and nice to know that I'm not the only one who can't find/misses full screen mode!

Yeah I didn't like the default for location being on so I've changed it to default to off. This should be active in the next release. I don't know what happened to the fullscreen mode, I'll have to look through the code and see where it went. It hasn't ever been in this version. I personally never used it so I didn't notice it going.

EmmaGx 2011-04-01 00:05

Re: witter - a python twitter client
 
Quote:

Originally Posted by SpandexBob (Post 979568)
Thats very odd. I'll try and do a full removal of witter over the weekend and reinstall and see if I get the same problems.


Yeah I didn't like the default for location being on so I've changed it to default to off. This should be active in the next release. I don't know what happened to the fullscreen mode, I'll have to look through the code and see where it went. It hasn't ever been in this version. I personally never used it so I didn't notice it going.

... full screen was one of the most useful features in witter, it gave so much more screen space! ... hope you manage to find it without too much trouble!

... the other thing I have always noticed about witter, is that my @replies only appeared to download when I started witter ... never did seem to get any while it was running!

... still having no luck authorising witter ... but not lost hope just yet! ... thanks for putting time into this! x

SpandexBob 2011-04-04 21:47

Re: witter - a python twitter client
 
I managed to break the extras-devel version last night. I've fixed the problem and witter is now back working if you are running from extras-devel. Look out for 0.3.8-5 coming down the pipe.

geneven 2011-04-10 17:53

Re: witter - a python twitter client
 
The newest version is a spectacular improvement!

The number of saved searches seems to be limited, unfortunately.

There doesn't seem to be a way of CREATING a saved search from within witter.

SpandexBob 2011-05-10 13:17

Re: witter - a python twitter client
 
There is a new version of witter in the extras-devel repositories. At least one person has noticed a problem with it. I can't recreate the issue. I'm wondering if anyone else is running from devel and noticing any issues?

ikirk 2011-05-11 13:39

Re: witter - a python twitter client
 
Unfortunately at the moment witter is not usable for me anymore. :(

It took me ages to get it working - eventually did that by deleting the .witter files. Once I got it started and did the oauth it then seemed very slow to get the tweets back. And once I closed the app it still remained running in the background - and asking for a internet/wifi connection every few minutes.

SpandexBob 2011-05-11 13:43

Re: witter - a python twitter client
 
Quote:

Originally Posted by ikirk (Post 1004158)
Unfortunately at the moment witter is not usable for me anymore. :(

It took me ages to get it working - eventually did that by deleting the .witter files. Once I got it started and did the oauth it then seemed very slow to get the tweets back. And once I closed the app it still remained running in the background - and asking for a internet/wifi connection every few minutes.

Sorry to hear that its not useable for you. Which version of witter were you using?

ikirk 2011-05-11 14:00

Re: witter - a python twitter client
 
Quote:

Originally Posted by SpandexBob (Post 1004164)
Sorry to hear that its not useable for you. Which version of witter were you using?

Latest version on devel, installed it this morning (0.3.8-14).

I'll try it again when I get home - slow response could be due to my mobile internet connection actually. But might be worth checking if someone else has the closed but still in background issue.

binu_ji 2011-05-14 15:19

Re: witter - a python twitter client
 
hello
i like witter app but before few days witter crashes on start and here is the xterminal output. please check it and comment on it.
Code:

$ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
tweet with location disabled
no service setting
clear search results on new search disabled
unknown option
No stored ids from last run
No stored ids from last run
No more users to load
Establishing api for Twitter using oauth
Connection working ok
Establishing api for Twitter using oauth
Connection working ok
failed to read timeline file
failed to read timeline file
failed to read timeline file
/opt/witter/ui/gtkWitter.py:78: 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
Traceback (most recent call last):
  File "/opt/witter/witter.py", line 1233, in <module>
    app = Witter()
  File "/opt/witter/witter.py", line 180, in __init__
    self.ui.load_theme_icons()
  File "/opt/witter/ui/gtkWitter.py", line 571, in load_theme_icons
    self.tweetpixbuf = gtk.gdk.pixbuf_new_from_file("/opt/witter/icons/" + self.theme + "/tweet.png")
glib.GError: Failed to open file '/opt/witter/icons/Ayro/tweet.png': No such file or directory


bravomike67 2011-05-22 00:11

Re: witter - a python twitter client
 
i just want to say a big thank you to #dwould. v searched for a fair twitter client for a long time. #witter seems to be doing real good. m using version 0.3.7.

SpandexBob 2011-05-22 19:49

Re: witter - a python twitter client
 
Quote:

Originally Posted by binu_ji (Post 1006192)
hello
i like witter app but before few days witter crashes on start and here is the xterminal output. please check it and comment on it.
Code:

$ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
tweet with location disabled
no service setting
clear search results on new search disabled
unknown option
No stored ids from last run
No stored ids from last run
No more users to load
Establishing api for Twitter using oauth
Connection working ok
Establishing api for Twitter using oauth
Connection working ok
failed to read timeline file
failed to read timeline file
failed to read timeline file
/opt/witter/ui/gtkWitter.py:78: 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
Traceback (most recent call last):
  File "/opt/witter/witter.py", line 1233, in <module>
    app = Witter()
  File "/opt/witter/witter.py", line 180, in __init__
    self.ui.load_theme_icons()
  File "/opt/witter/ui/gtkWitter.py", line 571, in load_theme_icons
    self.tweetpixbuf = gtk.gdk.pixbuf_new_from_file("/opt/witter/icons/" + self.theme + "/tweet.png")
glib.GError: Failed to open file '/opt/witter/icons/Ayro/tweet.png': No such file or directory


Looks like the theme directories are broken best bet for trying a quick fix would be to uninstall and reinstall.

I'll look into the problem when I get a chance. I've got a new version in extras-devel with some bug fixes coming, got to tidy it up this week and I should have it into testing soon.

ofels 2011-05-23 09:59

Re: witter - a python twitter client
 
Quote:

Originally Posted by SpandexBob (Post 1013045)
Looks like the theme directories are broken best bet for trying a quick fix would be to uninstall and reinstall.

I'll look into the problem when I get a chance. I've got a new version in extras-devel with some bug fixes coming, got to tidy it up this week and I should have it into testing soon.

Sorry to be that late here but wanted to say that I had the same problem. The workaround is easy: Removing the witter.conf file will help. As user configuration is not deleted, reinstalling will lead to nowhere.
Editing witter.conf and manually entering another theme than Ayro is probably also working but I did not try this.

dwould 2011-05-27 17:32

Re: witter - a python twitter client
 
I just wanted to say that it's really nice to see members of the community having picked up the challenge of continuing to develop witter. Although I jumped ship to android, and have had no real time for app development, I do sometimes miss working on it. I'll have to get my wife to download the latest version (she has the n900 now) and see how it's coming along.
I just happened to check the download stats and saw that it's now been downloaded >250k times.

Thanks again for keeping the project alive.

jgbreezer 2011-05-28 18:07

Re: witter - a python twitter client
 
Quote:

Originally Posted by ikirk (Post 1004187)
Latest version on devel, installed it this morning (0.3.8-14).

I'll try it again when I get home - slow response could be due to my mobile internet connection actually. But might be worth checking if someone else has the closed but still in background issue.

Yes, I've seen it bring up a banner for new tweets loaded when the app had been quit ages ago - went to the app-switcher screen immediately after I saw the banner and witter definitely wasn't there. Never used to do that, and I've only seen it once, just a week ago or so from the latest (0.3.8-17) version. Going to upgrade to -18 now.

Thanks very much SpandexBob for your work on this, its fixed a few bugs!

A couple more I've seen recently - the window stack handling seems to be a little worse than the last version Daniel released, sometimes it gets confused and needs multiple 'back' clicks; the newer windows perhaps aren't tidying up the stack properly or something happens in between them appearing and being closed which confuses them.

Also when you use multiple accounts, if you switch a different account to be active when you're looking at one account's tweet page (whichever tab you're in), it doesn't update the home screen with the main stats on for the new account, and I'm not sure if it updates the tweets for the new account either.

I should probably file these on garage... (but bet I won't).

SpandexBob 2011-05-29 20:55

Re: witter - a python twitter client
 
Quote:

Originally Posted by jgbreezer (Post 1017557)
Yes, I've seen it bring up a banner for new tweets loaded when the app had been quit ages ago

Yeah I've seen this it seems to be related to the threading. Witter tries to close all the threads on close but getting tweets is a slow process so it can get stuck still working away on that thread. Once the process is finished the thread closes but you still get the banner.

Quote:

Originally Posted by jgbreezer (Post 1017557)
A couple more I've seen recently - the window stack handling seems to be a little worse than the last version Daniel released, sometimes it gets confused and needs multiple 'back' clicks; the newer windows perhaps aren't tidying up the stack properly or something happens in between them appearing and being closed which confuses them.

I've seen this issue as well, I don't think the windows are being cleaned up properly. I'm working on a reliable way to recreate this issue so that I can properly debug it.

Quote:

Originally Posted by jgbreezer (Post 1017557)
Also when you use multiple accounts, if you switch a different account to be active when you're looking at one account's tweet page (whichever tab you're in), it doesn't update the home screen with the main stats on for the new account, and I'm not sure if it updates the tweets for the new account either.

I don't use multiple accounts so thanks for bringing this up, I'll look into it.

Quote:

Originally Posted by jgbreezer (Post 1017557)
I should probably file these on garage... (but bet I won't).

It would be great if you could but I've seen them here so no problem.

RWFarley 2011-06-28 16:30

Re: witter - a python twitter client
 
I can no longer "uncheck" the location box. Since I spend most of my time listening to podcasts over bluetooth, adding the GPS radios gives me ~ 3 hours of battery :-( When I try to uncheck, the box highlights blue, but stays checked and seems to lock up.

I recently re-installed Witter after deleting the .witter files. Did I miss one? Is there another way to fix this?

Thanks

RWFarley 2011-06-30 20:34

Re: witter - a python twitter client
 
I uninstalled Witter;
" rm -r ./witter* "
re-installed witter

No Joy - still cannot uncheck "location"


Quote:

Originally Posted by RWFarley (Post 1040901)
I can no longer "uncheck" the location box. Since I spend most of my time listening to podcasts over bluetooth, adding the GPS radios gives me ~ 3 hours of battery :-( When I try to uncheck, the box highlights blue, but stays checked and seems to lock up.

I recently re-installed Witter after deleting the .witter files. Did I miss one? Is there another way to fix this?

Thanks


RWFarley 2011-07-03 05:06

Re: witter - a python twitter client
 
Quote:

Originally Posted by RWFarley (Post 1042440)
I uninstalled Witter;
" rm -r ./witter* "
re-installed witter

No Joy - still cannot uncheck "location"

*Bump*

Anybody??

MatMat 2011-07-07 13:54

Re: witter - a python twitter client
 
I have the same problem, here is the log.

Code:

Nokia-N900:/$ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
tweet with location disabled
no service setting
clear search results on new search disabled
unknown option
No stored ids from last run
No more users to load
Establishing api for Twitter using oauth
Connection working ok
failed to read timeline file
failed to read timeline file
failed to read timeline file
/opt/witter/ui/gtkWitter.py:78: GtkWarning:
gtk_container_child_set_property: assertion `child->parent
== GTK_WIDGET (container)' failed
  self.builder.add_from_file("/usr/share/witter/witter.ui&qu
ot;)
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 default theme
pixbufs loaded for default theme
running tasks: 1
getting tweets with Matias_m
No last id
running tasks: 2
getting dms
running tasks: 3
getting mentions
location sharing disabled
waiting for gps thread
stop location tracking
end refresh setup
setting never rotate
trigger landscape orientation
Xlib: unexpected async reply (sequence 0x24d)!

And just stays like this capture and never give an error
or anything.

http://i.imgur.com/2dvsv.png

Witter version installed 0.3.8-18

Will try to downgrade versions to see if with some previous version i dont have this problem.
I can only downgrado to version 0.3.8-10 wich is the latest available here

http://repository.maemo.org/extras-d...free/w/witter/

Still having the same error and cant use witter. :(

RWFarley 2011-07-14 00:47

Re: witter - a python twitter client
 
I can use Witter, but the GPS drains the battery rather quickly.

After uninstalling remove the Witter files. Using XTerm it's just

rm -r .witt*

BE VERY CAREFUL TYPING ANY TIME YOU COMBINE rm WITH -r, AND/OR a *

:-)

You can "ls .wit*" to see if you're logged to the proper location.

SpandexBob 2011-08-03 18:00

Re: witter - a python twitter client
 
Hi guys,

sorry for being afk for a while, i ended up giving myself too much work to do and kinda got swamped.

I'm planning on getting back to working on witter this weekend.

Again sorry for being non-responsive.

cgarvie 2011-08-15 16:43

Re: witter - a python twitter client
 
ok im going mad. Ive not been able to get direct messages for a while
then recently twitter just started crashing

so i uninstalled.

rm -r .witter*

installed
now i cant configure oauth. keep getting oauth server returned 401 : not authorised : check uid/pwd


but im pretty sure there rigth as i can log in via web twitter

cgarvie 2011-08-16 05:43

Re: witter - a python twitter client
 
anyone any ideas, i tried uninstalling again. but ive just no idea why im getting this

cgarvie 2011-08-23 04:52

Re: witter - a python twitter client
 
Quote:

Originally Posted by cgarvie (Post 1070451)
ok im going mad. Ive not been able to get direct messages for a while
then recently twitter just started crashing

so i uninstalled.

rm -r .witter*

installed
now i cant configure oauth. keep getting oauth server returned 401 : not authorised : check uid/pwd


but im pretty sure there rigth as i can log in via web twitter


Ahhh ok i got there myself after several days.
The problem was that my clock was out by 12 hours DOH!

cant believe it was like that for a week and i never noticed.

Still can access DM's using witter though :-(

SpandexBob 2011-09-21 10:12

Re: witter - a python twitter client
 
There is a new version in extras-testing its been in for a bit but its not got any votes so far. It contains new keys so that DMs can be accessed, you will need to re-auth your account as twitter changed their keys.

mase 2011-09-22 16:33

Re: witter - a python twitter client
 
I cannot connect to Identi.ca. Auth opens the one for Twitter, not
Identi.ca.

dwould 2011-12-09 08:23

Re: witter - a python twitter client
 
for anyone that finds witter fails to start properly. do you have location settings disabled in settings?

my android is being repaird (screen died) so am briefly back using n900. i discovered that witter failed to load if the system level location settings where off.

tehowe 2012-01-10 18:57

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 1135326)
for anyone that finds witter fails to start properly. do you have location settings disabled in settings?

my android is being repaird (screen died) so am briefly back using n900. i discovered that witter failed to load if the system level location settings where off.

Have you had a chance to address that? I'd prefer system GPS was off.

I hadn't read this thread before today though I'd been hoping to try Witter out based on the good reviews you've gotten (like here) - today I finally erased those .witter* config files, reinstalled, and it works like a charm, thanks!

ziggadebo 2012-05-10 16:27

Re: witter - a python twitter client
 
Hi, since about 10 days ago, witter has failed to return my tweets, the application starts up but is in a permanent state up updating.

edit: I've unistalled, then removed all the .witt* files from home/user
I reinstalled then setup the account again, and got exactly the same error.

I'm running with CSSU testing 21.2011.38-1 Tmaemo3.1, I did update to this a while back but from memory Witter was still working though I cant be sure. Has anyone got witter working on this CSSU version?


I,ve started it from the command line and got the following, can anyone help me in poiting out why it's not working?

Code:


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
-sh: run-standalone.sh: not found
~ $ sudo gainroot
Root shell enabled


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.

/home/user # run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
tweet with location disabled
no service setting
clear search results on new search disabled
unknown option
No more users to load
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:78: 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 default theme
pixbufs loaded for default theme
running tasks: 1
running tasks: 2
getting tweets with Ziggadebo
refreshing since195755265247813632
location sharing disabled
waiting for gps thread
getting mentions
refreshing since172952308492140544
running tasks: 3
getting dms
refreshing since172952308492140544
stop location tracking
end refresh setup
setting never rotate
trigger landscape orientation
Xlib: unexpected async reply (sequence 0x24b)!
^C/home/user #


ziggadebo 2012-05-10 20:36

Re: witter - a python twitter client
 
Hurrah! sucess

I did exactly what I did the first time, uninstalled witter, deleted all the config files, re-installed and it's now working.

No idea why that didn't work the first time.

Out of interest is anyone still devolping this great program?

ziggadebo 2012-05-12 18:34

Re: witter - a python twitter client
 
Returning trends has never worked for me on Witter.

I get 'Error retrieving trends Server returned 404:'

I'd like to fix this and a search has suggested that Gettrends is now deprecated and now needs to be replaced by GET trends/:woeid

I have no programming experience, other than SQL but if I could find the files I need to look at I'm quite good at reverse engineering.

Am I correct that the Witter programs files are stored in /home/opt

if so can I just change the code in one of the files to try and fix this issue?

Th witter.py file has functions in it are these functions called from the same file or will they be located in separate files?

I'm guessing the file I will need to amend will be either

witter.py
or
twitter.py

Am I on the right lines? I don't want a solution just a pointer in the right direction, I've never been that good at learning from text books, but if someone could just confirm I'm digging about in the right area that would be enough.

In the meantime I'll keep reading...

Thanks

geneven 2012-05-13 03:28

Re: witter - a python twitter client
 
I think the developer motion moved on awhile ago, though he occasionally stops by here. This was a nice program at its peak and it would be nice to see someone pick it up again.

SpandexBob 2012-05-17 20:01

Re: witter - a python twitter client
 
Quote:

Originally Posted by ziggadebo (Post 1205796)
Returning trends has never worked for me on Witter.

I get 'Error retrieving trends Server returned 404:'

I'd like to fix this and a search has suggested that Gettrends is now deprecated and now needs to be replaced by GET trends/:woeid

I have no programming experience, other than SQL but if I could find the files I need to look at I'm quite good at reverse engineering.

Am I correct that the Witter programs files are stored in /home/opt

if so can I just change the code in one of the files to try and fix this issue?

Th witter.py file has functions in it are these functions called from the same file or will they be located in separate files?

I'm guessing the file I will need to amend will be either

witter.py
or
twitter.py

Am I on the right lines? I don't want a solution just a pointer in the right direction, I've never been that good at learning from text books, but if someone could just confirm I'm digging about in the right area that would be enough.

In the meantime I'll keep reading...

Thanks

It might be caused by an out of date copy of the python twitter library. I'll have a look at it over the weekend and try and figure out whats going wrong. I've not used the trends parts of witter so I'll have to dig into it.

Last release to testing never got approved and took a long time to get votes iirc. I'll look at trying to get some fixes in place and a new version out over the weekend. Lets see if we can get a new version up and running.

SpandexBob 2012-05-17 20:02

Re: witter - a python twitter client
 
Quote:

Originally Posted by tehowe (Post 1148515)
Have you had a chance to address that? I'd prefer system GPS was off.

I hadn't read this thread before today though I'd been hoping to try Witter out based on the good reviews you've gotten (like here) - today I finally erased those .witter* config files, reinstalled, and it works like a charm, thanks!

I'll look into trying to fix that. I'm planning on getting some work done on witter over the weekend.


All times are GMT. The time now is 08:16.

vBulletin® Version 3.8.8