-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

NS Commute Tracker

   1.4  

Plasmoid Script

Score 50%
NS Commute Tracker
zoom


Depends on  KDE 4.x
Downloads:  54
Submitted:  Feb 13 2012
Updated:  Jan 3 2013

Description:

Small plasmoid to keep you informed about the departure time of your NS train (Dutch railways). The number of global disruptions on the track is also shown. Any feedback, including improvements on the code, is appreciated.

Note: the NS api allows us a total 50.000 parses a day. Please leave the update setting to 60 seconds or more, otherwise we will get blocked.

On the todo list are:
* Upgrade the layout of the text
* Include translation(s)




Changelog:

Version 1.4:
- Fixed bug in connection code

Version 1.3:
- Fixed bug in parsing code w.r.t. time

Version 1.2.1:
- Fixed bug in layout of label position
- Fixed bug in exception handling causing "Script Initialization Failed" messages

Version 1.2:
- Added button that opens travel advice and disruptions (if any).

Version 1.1:
- Added code for NS API with fallback on HTML parsing code
- Implemented patch of rbos




LicenseGPL
other
Send to a friend
Subscribe
Other  Apps  from VincentVandalon
Report inappropriate content



goto page: prev   1  2 

-
.

 Why!! Why!!

 
 by oOSplashOo on: Feb 14 2012
 
Score 50%

Tsscht why isn't it also for french transports...
Ha this is quiet simple and quick to use!


Reply to this

-

 script initialisatie mislukt

 
 by rbos on: Feb 25 2012
 
Score 50%

Since yesterday (24 feb) I get: "object can't made be due to the following reason": script initialisatie mislukt. Is this a general problem, or a problem on my site?


Reply to this

-

 Re: script initialisatie mislukt

 
 by VincentVandalon on: Feb 25 2012
 
Score 50%

The plasmoid runs fine on my 3 computers. I just deleted and reinstalled the kde-apps version and it still works. Unfortunately, this makes it harder to diagnose the problem. Since you have tried the script before, I assume that you still have a "python-kde4" package installed? What changed between when the plasmoid worked and now?


Reply to this

-

 Re: script initialisatie mislukt

 
 by rbos on: Feb 25 2012
 
Score 50%

nothing changed. Wednesday it worked, next day it stopped working. Is there a way to run the script from the command line?


Reply to this

-

 Re: Re: script initialisatie mislukt

 
 by VincentVandalon on: Feb 26 2012
 
Score 50%

You can run this (www.nijf.nl/getNSInfo_API.py) and see if it produces output. If it does yield a string with information, then it is likely an issue or bug in the GUI code. If the aforementioned script fails, then the parsing code is faulty.


Reply to this

-

 Re: script initialisatie mislukt

 
 by rbos on: Feb 26 2012
 
Score 50%

The output I get is:
/var/tmp> python ./getNSInfo_API.py
('Journey from Eindhoven ==> Vleuten\nDeparture: 16:02, arrival: 17:13, with 1 transfer.', [])

Which looks fine to me.


Reply to this

-

 Re: Re: Re: script initialisatie mislukt

 
 by VincentVandalon on: Mar 1 2012
 
Score 50%

I found the bug and I will upload the new version later today. The exception handling routine I wrote was missing an exception class...


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.