Active Topics

 



Notices


Reply
Thread Tools
Posts: 203 | Thanked: 445 times | Joined on Mar 2010
#331
Done, 0.0.31 is on its way to extras-devel.
 

The Following 6 Users Say Thank You to foobar For This Useful Post:
Posts: 4 | Thanked: 26 times | Joined on Jan 2013
#332
Again it looks like DB has changed there web-interface. At least I always get an error "No results found" or in German "Keine Ergebnisse gefunden".

Can anybody confirm this? Is anybody still using fahrplan and N900? Is anybody working on this problem?
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#333
Originally Posted by dehapama View Post
Again it looks like DB has changed there web-interface. At least I always get an error "No results found" or in German "Keine Ergebnisse gefunden".

Can anybody confirm this? Is anybody still using fahrplan and N900? Is anybody working on this problem?
A pity, not using it much but rely on it. Will try if it fails for me too [edit] confirmed Started failing during last ~3 weeks
/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2015-07-14 at 17:03.
 
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#334
"Keine Ergebnisse gefunden" for me, too
 
Jordi's Avatar
Posts: 400 | Thanked: 708 times | Joined on Jun 2011 @ Geneva - CH
#335
You could try other backends (if there are some to try...), for example sbb.ch.
 
Posts: 4 | Thanked: 26 times | Joined on Jan 2013
#336
I patched fahrplan again. I found two problems. The first is, that the mobile website from DB produces broken html code. There is one closing ul element without corresponding opening ul. This causes the parser to abort with an error. The second problem is, that there is one more div level to the data. I tried to fix those two problems. I didn't do intensive tests. That's up to you . In particular I don't know if train delays are detected. If you encounter any problems, try to start fahrplan from the commandline fahrplan >logfile 2>&1. The logfile will be somehow helpful.

You find my patched version here.

If you want to compile yourself or have the permission to integrate it into the repository, here is the patch.

Installation:
  1. Donwload. fahrplan to you N900
  2. chmod +x fahrplan
  3. sudo mv fahrplan /usr/bin
 

The Following 7 Users Say Thank You to dehapama For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#337
-rwxr-xr-x 1 root root 677442 2014-03-27 19:39 /usr/bin/fahrplan

needs optification, consider http://maemo.org/packages/view/maemo-optify/, http://maemo.org/packages/view/maemo-optify-runonce/, resp /usr/sbin/maemo-optify-auto-opt.sh
Code:
echo /usr/bin/fahrplan >>/etc/maemo-optify-auto-opt.conf
IroN900:~# ll `which fahrplan`
-rwxr-xr-x 1 root root 677442 2014-03-27 19:39 /usr/bin/fahrplan
IroN900:~# echo /usr/bin/fahrplan >>/etc/maemo-optify-auto-opt.conf
IroN900:~# maemo-optify-auto-opt.sh ;# not needed, should get called during next boot
IroN900:~# ll `which fahrplan`
lrwxrwxrwx 1 root root 21 2015-07-16 14:33 /usr/bin/fahrplan -> /opt/usr/bin/fahrplan

dehapama: many thanks! :-)

[edit] works incl optification
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2015-07-16 at 13:53.
 

The Following 4 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 16 | Thanked: 14 times | Joined on May 2012
#338
Joerg,
I didn't get the patched version working.
Is it possible for you to load the patched version including optification to the repos, that we are able to update fahrlpan via repos?
Your help is highly appreciated.
Thanks in advance.
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#339
I honestly completely forgot how to package stuff. I could provide a tarball and instructions eventually, e.g. here in tmo

Or, if somebody more fluent in maemo packaging would be willing to take over maintenance resp just upload a patched version to autobuilder, I'm pretty sure we can manage this going to extras-devel http://maemo.org/packages/view/fahrplan/. I'll contact the relevant people to facilitate and make this happen as soon as somebody provides the package. In case you do that, please not only provide to extras-devel but already immediately promote to extras-testing. Then everybody interested in Fahrplan please install the extras-testing version and accordingly thumb up/down the karma after checking it. So eventually it promotes into genuine maemo-extras repo
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2015-08-22 at 02:14.
 

The Following User Says Thank You to joerg_rw For This Useful Post:
Posts: 16 | Thanked: 14 times | Joined on May 2012
#340
Joerg,
thanks a lot for quick response.
I followed the instructions above, but for me again only "Keine Ergebnisse gefunden".
Waiting for the patched version in maemo-extras repo.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:56.