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)

geneven 2010-11-12 13:48

Re: witter - a python twitter client
 
It needs saved searches, and either I'm using it wrong or the new start where you have to choose between tweeting or searching is awfully clunky.

SpandexBob 2010-11-15 13:56

Re: witter - a python twitter client
 
I don't really use searches so I'm not to sure what the UI is like but I'd like to just make sure that witter doesn't whither away a died as I've prefered it over any of the other clients for maemo.

dwould 2010-11-15 15:01

Re: witter - a python twitter client
 
have DM'd SpandexBob, happy for others to take up the reins, will also be happy to answer questions about my terrible coding.

dwould 2010-11-15 15:06

Re: witter - a python twitter client
 
Quote:

Originally Posted by geneven (Post 871505)
It needs saved searches, and either I'm using it wrong or the new start where you have to choose between tweeting or searching is awfully clunky.

The idea I had been heading towards was that this page would ulitmately show all of you're configured accounts and be the jumping point into which ever one you wanted to check. it wouldn't of gotten any less clunky, but for those with multiple account would have provided an alternative to switching the 'active' account in account panel.
that had been the theory, didn't get that far.

ofels 2010-11-16 10:03

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 874115)
The idea I had been heading towards was that this page would ulitmately show all of you're configured accounts and be the jumping point into which ever one you wanted to check. it wouldn't of gotten any less clunky, but for those with multiple account would have provided an alternative to switching the 'active' account in account panel.
that had been the theory, didn't get that far.

That would be a great improvement. It always looked somehow inconsistent and unfinished to me but thought that way things make sense.

SpandexBob 2010-11-18 00:10

Re: witter - a python twitter client
 
I've DM'd dwould so hopefully we can sort out me taking over.

First off I've got to get my head around the code. Once I've achieved that I'll have a look at the bugs in the tracker, look at the statuses and if they are still applicable. I'll look to clear as many of them up as possible.

I'd like to start compiling a wish list of features that people would like to see in witter. Maybe start a wiki page or something where they can be listed. Then I can see where people want witter to go, I can then use that as a jumping off point for further development.

Cheers for offers to help as well, people testing, requesting features, offering to help with the code are all really useful and much appreciated.

geneven 2010-11-18 00:17

Re: witter - a python twitter client
 
Saved searches! Twitter has them. In my opinion, if you aren't searching you aren't experiencing Twitter to its best advantage.

richwhite 2010-11-18 00:31

Re: witter - a python twitter client
 
saved searches would be nice. Also i think the UI needs a bit of tweaking, so each 'tab' has the @, DM etc bar as well as 'top' at the bottom because scrolling often ends up with unwittingly opening a random tweet.

SpandexBob 2010-11-18 00:46

Re: witter - a python twitter client
 
Wow that was quick, replies already.

Ok so I've started taking notes on what people want to see from witter.

I've put up a quick blog post http://spandexbob.posterous.com/taking-over-a-projec

I'll look to getting a wiki page or something up over the weekend. Also a witter blog will be on its way.

richwhite 2010-11-22 15:04

Re: witter - a python twitter client
 
The other thing it needs if possible is the option to see who has retweeted you

Russianhaxor 2010-12-08 10:09

Re: witter - a python twitter client
 
I cant get witter to work after 1.3 :(

wreckgar23 2010-12-08 11:27

Re: witter - a python twitter client
 
Looking at dwould's signature

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

Just got my N900 back from repair so will try tonight, but I have had witter working on PR1.3

wreckgar23 2010-12-08 20:50

Re: witter - a python twitter client
 
Installed and runs on PR1.3, although admittedly it took some persistence to get it started.

Of all the twitter clients on N900 I did find it the best when I was looking for one a few months ago, so hopefully it can be kept alive.

Kotz 2010-12-12 21:46

Re: witter - a python twitter client
 
My witter is crashing all the time.
I open it and loads for a little bit then it crashes. Or when i`m using it.
It was happening, then I reseted the phone to factory settings, then uninstalled it and installed it again but still the same problem

xiaopaul 2010-12-24 13:03

Re: witter - a python twitter client
 
hi, Daniel,

Witter cannot work on my N900. Once run, I just can see the interface for several seconds, it will crash & quit. Pls kindly help. Thank you.


Nokia-N900:~# run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
tweet with location enabled
no service setting
clear search results on new search disabled
unknown option
No more users to load
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1263, in <module>
app = Witter()
File "/opt/witter/witter.py", line 173, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
AttributeError: Witter instance has no attribute 'activeAccount'

cgarvie 2010-12-29 17:12

Re: witter - a python twitter client
 
some how i managed to have 2 witter runing today. since then its not worked. i uninstalled ar reinstalled. it just kept crashing .

so i uninstalled
deleted .witter*
reinstalled and now just sitting trying to load timeline


so run as instructed and got

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
No config file, prompt for uid / pwd
Failed to establish api for Twitter
Failed to establish api for Twitter
failed to read timeline file
failed to read timeline file
failed to read timeline file
/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

please help :-) craig

cgarvie 2010-12-29 17:28

Re: witter - a python twitter client
 
Ok never mind, despite trying several times in normal mode. Nothing. Starting in manually twice seemed to fix it.
The first time nothing, the 2nd time its back up and running

rajil.s 2011-01-02 22:16

Re: witter - a python twitter client
 
I too cant get witter from extras to run under PR 1.3.
Code:

user@MaemoBox:~$ run-standalone.sh python2.5 /opt/witter/witer.py
No config file, prompt for uid / pwd
Failed to establish api for Twitter
Failed to establish api for Twitter
failed to read timeline file
failed to read timeline file
failed to read timeline file
/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
end refresh setup
Traceback (most recent call last):
  File "/opt/witter/witter.py", line 1166, in <module>
    app = Witter()
  File "/opt/witter/witter.py", line 190, in __init__
    FremantleRotation("Witter", self.ui.window)
  File "/opt/witter/portrait.py", line 76, in __init__
    self._osso_context = osso.Context(app_id, version, False)
  File "context.pyx", line 8, in osso.context.Context.__cinit__ (osso/context.c:531)
osso.exceptions.OssoException: Cannot initialize context.
Failed to establish api for Twitter
running tasks: 0
running tasks: 1
Failed to establish api for Twitter
running tasks: 0
running tasks: 1
Failed to establish api for Twitter
running tasks: 0


vdx29 2011-01-03 04:01

Re: witter - a python twitter client
 
I think Daniel has moved on from the N900. I wouldn't expect a lot more support for witter.

That said, I want to thank Daniel for an excellent program and a great twitter experience while it lasted.

SpandexBob 2011-01-06 20:15

Re: witter - a python twitter client
 
I'm attempting to take over Witter at the moment.

I've been lax since getting access to the code and I was away over the holiday period, hence the lack of comments here, but I'm back now. Sorry for the recent silence.

I've noticed that there are a few new bugs cropping up. I'm just getting back into the swing of things here and will be looking into the issue asap.

SpandexBob 2011-01-06 20:18

Re: witter - a python twitter client
 
Quote:

Originally Posted by cgarvie (Post 906817)
some how i managed to have 2 witter runing today. since then its not worked. i uninstalled ar reinstalled. it just kept crashing .

so i uninstalled
deleted .witter*
reinstalled and now just sitting trying to load timeline


so run as instructed and got

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
No config file, prompt for uid / pwd
Failed to establish api for Twitter
Failed to establish api for Twitter
failed to read timeline file
failed to read timeline file
failed to read timeline file
/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

please help :-) craig

craig,

it looks like it was having a problem with establishing a connection to twitter. It could access the API. I've noticed this on mine a few times, I'm going to look at putting in some sort of feedback to the user, some sort of timeout for connecting. Otherwise as you have seen it just sits there loading and you have no idea what is going on.

SpandexBob 2011-01-31 23:14

Re: witter - a python twitter client
 
I've been looking into some of the random crashes that seem to happen in witter. I believe that they are being caused by 3rd party libraries. I'm working on updating the twitter library that is used. Also I'm going to take a look at the dependencies that come from the maemo repos see if they are all up to date, things like httplib2 and oauth.

lanser 2011-03-19 16:53

Re: witter - a python twitter client
 
When I start Witter I get the title bar and timer then it dies and when run from terminal get this
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 more users to load
Traceback (most recent call last):
  File "/opt/witter/witter.py", line 1263, in <module>
    app = Witter()
  File "/opt/witter/witter.py", line 173, in __init__
    self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
AttributeError: Witter instance has no attribute 'activeAccount'

I have uninstalled and reinstalled with same rsult

EmmaGx 2011-03-24 14:47

Re: witter - a python twitter client
 
... having serious Witter issues after my phone came back from repair ... am using PR1.3 and reinstalled most of the stuff I've been using previously, Witter worked a couple of times and now crashes every time I try to open it ... when I try and run from xterminal I get ...

/usr/bin/run-standalone.sh: line 11: python2.5/opt/witter/witter.py: not found

... any ideas? ... thanks!

wreckgar23 2011-03-24 14:53

Re: witter - a python twitter client
 
Quote:

Originally Posted by EmmaGx (Post 974731)
... having serious Witter issues after my phone came back from repair ... am using PR1.3 and reinstalled most of the stuff I've been using previously, Witter worked a couple of times and now crashes every time I try to open it ... when I try and run from xterminal I get ...

/usr/bin/run-standalone.sh: line 11: python2.5/opt/witter/witter.py: not found

... any ideas? ... thanks!

umm.... do you have a space between the python2.5 and the /opt/witter/witter.py ?

EmmaGx 2011-03-24 15:10

Re: witter - a python twitter client
 
Quote:

Originally Posted by wreckgar23 (Post 974736)
umm.... do you have a space between the python2.5 and the /opt/witter/witter.py ?

... quite possibly not! ... and I tried it three times, with the same result each time ... will try again!

EmmaGx 2011-03-24 15:15

Re: witter - a python twitter client
 
Ok ... this looks more like the results everyone else is getting ... hanks!

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1166, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
AttributeError: Witter instance has no attribute 'activeAccount'

wreckgar23 2011-03-27 16:25

Re: witter - a python twitter client
 
ok so elsewhere in the thread (not that I've read all 79 pages) there's a few mentions of ways of resetting witter. try
Quote:

rm /home/user/.witter*
Another issue is inputting the authorisation pin number from twitter. When configuring the account, it seems important to not hit 'OK' when configuring Oauth, instead letting the web browser gain focus.

Once you've got the pin from twitter, then you can task back to witter and press ok. I had a few situations yesterday when I couldn't actually input the pin number once I'd authorised through the web browser and I think it was because of that.

EmmaGx 2011-03-28 00:26

Re: witter - a python twitter client
 
Thanks ... that appears to have sorted the major problem I was having with witter ... I'm still finding the extras version pretty unstable though, so will probably be using khweeteur as a main twitter client (now that I've figured out the double click it's really grown on me!) ... witter does have some advantages though, so nice to have both! ... thanks again! x

wreckgar23 2011-03-28 13:46

Re: witter - a python twitter client
 
Could you let me know if running it as root prevents the crashes (not that you should do this generally)?

Is the problem you see now that the N900 menu displays "timeline", you get notifications of new tweets, but that the timeline UI itself doesn't get populated and the app is apparently locked up?

Would be good to know as I was seeing this yesterday, and would help to resolve the problem.

jgbreezer 2011-03-28 14:04

Re: witter - a python twitter client
 
Another bug I've noticed is that after the first witter oauth via the twitter website, when you've typed the number code in and pressed ok; any further attempts to add other accounts or re-auth the same account will end in that dialog box where you type the number not appearing properly. Its still drawn and the button is there, but only pops up half-way, so half the number you're trying to write is invisible, and its really hard/impossible to click on the ok button.

The only way to get it back again is to exit the app and restart it.

EmmaGx 2011-03-28 15:33

Re: witter - a python twitter client
 
Quote:

Originally Posted by wreckgar23 (Post 977132)
Could you let me know if running it as root prevents the crashes (not that you should do this generally)?

Is the problem you see now that the N900 menu displays "timeline", you get notifications of new tweets, but that the timeline UI itself doesn't get populated and the app is apparently locked up?

Would be good to know as I was seeing this yesterday, and would help to resolve the problem.

... yup I get that problem a lot ... I also get some crashes before that point where none of the buttons appear, and the app just hangs ...

wreckgar23 2011-03-29 11:00

Re: witter - a python twitter client
 
The main startup problem is with a file called portrait.py, which handles switching between portrait and landscape mode, I think. The code is basically taken from gpodder, but hasn't got the latest fixes to that code.

The version in extras-testing does. And it looks like it has sufficient karma to be promoted to extras.

http://maemo.org/packages/package_in...itter/0.3.7-2/

I can see SpandexBob has a pending request to be the maintainter. I've just put one in too just now.

Looking at bugzilla though I think there are other developers waiting to be made maintainers of their own packages so it might not be so straightforward unfortunately

dwould 2011-03-29 11:11

Re: witter - a python twitter client
 
FYI I just approved maintainer requests for 2 people. I guess that means work is going on to improve witter. I feel a little guilty to have just dropped it, but I am insanely busy with work and trying to move, so I haven't had time to even try any android development, let alone keep up with developing for a phone I don't use anymore.

I will try to respond to any direct questions about the code from anyone looking to carry on development.

wreckgar23 2011-03-29 12:03

Re: witter - a python twitter client
 
No worries - thanks for writing it in the first place! I'm between a jobs myself so can spare a bit of time over the next few weeks.

The version in extras-testing has a lot more changes than I was expecting tbh. Looks completely different! We might have some issues with the GPS positioning, for example.

Thanks for approving the maintainer requests and the offer of info on the code. That should give us what we need to update the version in extras.

SpandexBob 2011-03-29 13:22

Re: witter - a python twitter client
 
I've promoted the newest version that was unlocked from testing.

This has been my fault for saying that I'd pick up witter and then not being able to work on it. I've now started working with wreckgar23 to give witter some more momentum. I now have more time to work on witter as well.

EmmaGx 2011-03-31 02:16

Re: witter - a python twitter client
 
Thanks for putting so much time into this guys ... it really is appreciated ... I've always wanted an easy but comprehensive twitter app on the n900 ...

... however ... the new version promoted from testing not only has all the same old issues I was having ... and despite trying to authorise it about 15 times I am getting nowhere ... it also has a number of new issues ...

... firstly, why oh why does it try activating my GPS on start-up? ... I like my battery to last & I like my privacy and hitting the checkbox to switch off location just causes a crash and frequently results in the GPS being left on even once I've managed to close an unresponsive witter ...

... also ... is there an option in the new UI to swiitch to full screen mode? ... so far as I can see (without actually having been able to activate my account) the new UI leaves about 1 inch of screen to view tweets, as the new array of buttons is taking up about 3x as much space as it really needs ... and the least of my problems is that the new version is definitely lacking in beauty!

... I'm afraid I have no programming skills so can't help with any of the real issues but I do have graphic design skills, so if you'd like UI asthetic type help please feel free to ask I will be all too hapy to contribute where I'm able!

Hopefully witter will relent & let me authorise my account soon, I'm definitely missing the way things were! x

geneven 2011-03-31 02:58

Re: witter - a python twitter client
 
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.

wreckgar23 2011-03-31 08:35

Re: witter - a python twitter client
 
Quote:

Originally Posted by EmmaGx (Post 978880)
... firstly, why oh why does it try activating my GPS on start-up? ...

It's the default setting, unfortunately. SpandexBob has updated the code to at least make the default 'off'. I found it easy to lock the handset up toggling this setting and so am looking at this issue. I think it's safest to disable it from the status bar

Quote:

Originally Posted by EmmaGx (Post 978880)
... is there an option in the new UI to switch to full screen mode?

I've not see one, and miss it too

Quote:

Originally Posted by EmmaGx (Post 978880)
... I'm afraid I have no programming skills so can't help with any of the real issues but I do have graphic design skills, so if you'd like UI asthetic type help please feel free to ask I will be all too hapy to contribute where I'm able!

Thanks! Posting on this thread or raising bugs in bugzilla is appreciated too.

Quote:

Originally Posted by EmmaGx (Post 978880)
Hopefully witter will relent & let me authorise my account soon, I'm definitely missing the way things were! x

I think some users of Tweego are reporting similar problems (it's pure speculation to say that the Tweego and witter setup issues are related) but I'm afraid to say that account setup has worked fine for me :) I think the flow of the user experience on first use could definitely be improved, but would be best with the limited time we have to focus on stability.

wreckgar23 2011-03-31 08:41

Re: witter - a python twitter client
 
Quote:

Originally Posted by wreckgar23 (Post 978989)
I think some users of Tweego are reporting similar problems

one issue that might affect witter as well has a workaround described here

(basically, you're better off typing in the PIN than pasting it)


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

vBulletin® Version 3.8.8