Notices


Reply
Thread Tools
Posts: 32 | Thanked: 34 times | Joined on Mar 2010 @ London
#11
I just enabled the devel repos and found this app. I'd think its a great little app. I definitely think its worth working some more on it.

I happen to have looked at the source and was happy to see that its a python app . I'm a python developer and would be happy to help out with anymore development on it. I was thinking about an app pretty much the same as what you've got. Oh and I happen to reside in london as well.
 

The Following User Says Thank You to SpandexBob For This Useful Post:
Posts: 189 | Thanked: 20 times | Joined on Mar 2010
#12
i got this app working once randomly. now its back to not working? When i try it open it screen goes black and then back to the desktop. Can anyone advise on this?

Thanks
 
Posts: 14 | Thanked: 4 times | Joined on Oct 2009
#13
Seems to be working fine for me. Not sure what to suggest for it to start working for you though I'm afraid!

Very useful app. It would be great if you could develop this further. Perhaps including an option for looking up live departures from specific stations?

http://www.tfl.gov.uk/tfl/livetravel...partureboards/

Thanks for what you've done already.
 
mwerle's Avatar
Posts: 47 | Thanked: 28 times | Joined on Dec 2009 @ London, UK
#14
Hi airjaff, I'm afraid I have no idea what could be causing your problems.

One thing you could try is launching it from the console instead of from the GUI - it should print some error messages that way.

I currently don't have an N900 (mine broke in Australia a month ago and the replacement I finally got on Friday has a bad touchscreen - so until I get a working N900 again I'm a bit stuck.

Cheers,
- Micha.
__________________
My apps: mwTube
 
Posts: 189 | Thanked: 20 times | Joined on Mar 2010
#15
Originally Posted by mwerle View Post
Hi airjaff, I'm afraid I have no idea what could be causing your problems.

One thing you could try is launching it from the console instead of from the GUI - it should print some error messages that way.

I currently don't have an N900 (mine broke in Australia a month ago and the replacement I finally got on Friday has a bad touchscreen - so until I get a working N900 again I'm a bit stuck.

Cheers,
- Micha.
Hello Micha

How do i load from the console? Im getting this problem with a few apps!
 
mwerle's Avatar
Posts: 47 | Thanked: 28 times | Joined on Dec 2009 @ London, UK
#16
Start the console, then at the prompt, just type in 'mwtube' and hit enter. In this case, 'mwtube' is a little helper script installed in /usr/bin which launches the actual app.

For the other programs you'll have to find out what the startup command is - usually just the name of the program.

You can find out what a particular package installed by using:
Code:
   dpkg --list-files <package name>
eg:
Code:
   dpkg --listfiles mwtube
That can help you track down what the command is to start an application from the console.


Cheers,
- Micha. "Crossing fingers he'll finally get his N900 back today or tomorrow.."
__________________
My apps: mwTube
 
mwerle's Avatar
Posts: 47 | Thanked: 28 times | Joined on Dec 2009 @ London, UK
#17
Just a quick heads up.

I've mostly rewritten in QT now with custom cellrendering. Still have to package it (and wait for PR1.2) but I prefer this to Python. I had some custom cellrendering going in Python but it was getting unwieldy.

Will see about working on a desktop widget version next.

Here's a POC screenshot:
Attached Images
 
__________________
My apps: mwTube
 
mwerle's Avatar
Posts: 47 | Thanked: 28 times | Joined on Dec 2009 @ London, UK
#18
Originally Posted by Stealth131 View Post
Very useful app. It would be great if you could develop this further. Perhaps including an option for looking up live departures from specific stations?

http://www.tfl.gov.uk/tfl/livetravel...partureboards/
Hmm - wasn't even aware that this info was available!! Doesn't look like there's a way to access it without screenscraping the TFL website though. If you have to download the whole page anyway and then screen-scrape it to display the info you might as well just access it from the browser - so no benefits from a data transfer perspective.

It would be trivial to make a client app to enter your query and then display the result page. At least save some bandwidth.
__________________
My apps: mwTube
 
Posts: 57 | Thanked: 4 times | Joined on May 2010
#19
hmm, mine was working and then it suddenly stopped working.

I launched from the command line and it said something about keyboad shortcut.

When i ssh from my desktop and run mwtube from there, it works on the n900 weird. EDIT - and then it didn't work. seems to be intermittent.

EDIT - here's what i see on the cmd line:

Code:
Nokia-N900-02-8:~# mwtube 
Traceback (most recent call last):
  File "/usr/lib/mwtube/mwtube.py", line 409, in <module>
    ts = TubeStatus()
  File "/usr/lib/mwtube/mwtube.py", line 379, in __init__
    self.updateTubeStatus()
  File "/usr/lib/mwtube/mwtube.py", line 223, in updateTubeStatus
    self.addTubeStatus(line)
  File "/usr/lib/mwtube/mwtube.py", line 167, in addTubeStatus
    eb1.modify_bg(gtk.STATE_NORMAL, self.line_colours[tubeStatus['id']][0] )
KeyError: 'overground'

Last edited by gurpal2000; 2010-05-30 at 15:24.
 
mwerle's Avatar
Posts: 47 | Thanked: 28 times | Joined on Dec 2009 @ London, UK
#20
Originally Posted by gurpal2000 View Post
EDIT - here's what i see on the cmd line:
Thanks for this - a new 'tube line' was added and obviously this version of mwTube doesn't handle that gracefully. I'm working on a revised version which should be available soon.

EDIT: V0.0.5 is now live which fixes this.
Changelist
* Changes since 0.0.4
* ~/.mwtube is now directory not file
* logging to file now not stdout
* stability improvements
* gracefully handle new tube lines
__________________
My apps: mwTube

Last edited by mwerle; 2010-05-31 at 18:14.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:45.