PublicTransport

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

60
8.5
Description:

This is a Plasma data engine, applet and runner for public transport timetable data. The applet shows a departure/arrival board for a given stop. It can also show journeys to or from the given "home stop". It displays additional information like delays, news about journeys, routes, vehicle types (with icons). Timetable data is available for trams, buses, subway, trains, ferries and planes (using flightstats.com). You can set alarms for departures and filter departures (by type of vehicle, target/origin, delay, transport line string/number, intermediate stops). Filters can also be combined.
Timetable data gets received from provider plugins. Since version 0.11 there are two types of plugins: GTFS and script providers. Script providers need a network connection and can be used to read timetable data from any document type, eg. XML, binary or HTML. GTFS providers only need to import the GTFS feed once and can then be used offline (but a network connection can be used for GTFS-realtime).

My Blog: http://fpuelz-kde.blogspot.com/
PublicTransport on UserBase: http://userbase.kde.org/Plasma/Public_Transport
PublicTransport on KDE projects: https://projects.kde.org/projects/playground/base/publictransport
PublicTransport on ohloh.net: https://www.ohloh.net/p/publicTransport

You can donate me ;)

News
17.01.2013: Version 0.11 beta released
30.12.2012: Version 0.11 alpha 2 released
04.12.2012: Version 0.11 alpha released

Installation
To install PublicTransport download a package for your distribution. If there is no such package you can ask the appropriate packagers for your distribution to create one. Please leave a comment if a new package is created or if you use a package not mentioned in the download list here, so that I can add it.
If you want to install PublicTransport, but there are no packages available for you (yet?) or you want to try the newest version with no new package yet, you can use the installer script (install.sh) included in the Sources download.
But note that software installed with that installer script isn't managed by your package manager in any way and may produce conflicts with installed packages, eg. if PublicTransport is already installed via the package manager. The script should be quite easy to use and also lets you uninstall the software again. You need GIT to use the installer, because the sources are actually downloaded using GIT by the script (from git://anongit.kde.org/publictransport).

There's also a script for packagers, that can download tarballs for all PublicTransport components for a specific version.
You can clone the GIT repository from git://anongit.kde.org/publictransport (read only), which also clones all history. From your local clone of the repository you can checkout all tagged versions (see the HINTS_FOR_PACKAGE_MAINTAINERS file).
If you want to contribute code, you need a KDE account and you can clone the repository with SSH from this URL: [email protected]:publictransport (read + write). You can of course also send me patches via email.

Note: The Sources tarball does not contain the sources, but a script to download them from it's GIT repository and the translations from KDE's SVN. The script asks for the version to compile and install.

Adding a Service Provider Plugin
- Install TimetableMate, maybe not included in the packages, but in the source archive.
- The filenames start with the country code, followed by "_" and an abbreviation of the service provider, e.g. "ch_sbb" for switzerland, service provider "SBB".
- You can test your script and the URLs with TimetableMate. It also offers syntax completion with documentation and templates for the parser functions, that get called by the data engine.
- Also works for GTFS providers
- After installation of your plugin you can open the configuration dialog of the public transport applet and the new provider should be in there.
- You can also open/edit existing providers by simply clicking "Open in TimetableMate..." in the provider data dialog (accessible from the configuration dialog).
- Checkout the documentation of the data engine, it contains much information about the data sources of the engine and how to create new provider plugins.

You are welcome to optimize the scripts in the existing providers in the "serviceProviders" directory in the data engine source directory.

Comments are appreciated.
Last changelog:

8 years ago

17.01.2013:
(version 0.11 beta)
Many crash/bug fixes, visual polishing, see http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

30.12.2012:
(version 0.11 alpha 2)
Providers are now hosted on openDesktop.org, download via GHNS, many fixes etc. See http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

04.12.2012:
(version 0.11 alpha)
Many improvements, new features, GTFS support, etc. See http://fpuelz-kde.blogspot.de/.
Update: Improved install script, automatically select latest version for installation, show available versions sorted by date, allow switching to another version when starting the script again with the repository already cloned
Update 2: Allow selecting git HEAD for installation again (the script shows Current_Development_Version for it), HEAD contains a fix for building with GTFS support but without protocol buffers installed

18.10.2011:
(version 0.10 RC2)
Applet:
- Fix link errors
- Fix memory leaks
- Fix applet collapsing to popup icon in desktop
- Drawing performance improvements
- Use of KPixmapCache for vehicle type icons
- New monochrome icons, shown in the popup icon
- Add possibility to put the applet into the notification area
- Better layout adjustments for small sizes
- Change applet tooltip according to current departure group in popup icon
- Shorter alarm names, alarm names in notifications
- Nicer alarm background
- Fix color groups and route time display for arrivals
TimetableMate:
- Fix for missing KWebKitPart include file, it now uses KWebView directly
Library:
- Fix a crash with GraphicalTimetableLine (missing null pointer check)

9

kovariadam

10 years ago

Hi,
can you please check if the http://jizdnirady.idnes.cz/ provider for Czech republic works? It does not update data for me. I have Brno as a city and the stop name is Technologický park. It loaded them initially, but not even manual update works.

Thanks

Report

C

fpuelz

10 years ago

Hi,
I just fixed the problem. It kept old departures, because it wrongly guessed the date as tommorow. Now it always shows the departures for the next hour for cz_idnes (for more data, at least two HTML documents would need to be downloaded). I also added the time into the generated timetable-urls. With the next version you can then also show departures in eg. 2 hours using cz_idnes.
The next version has some more changes, I will release it later as version 0.10. Until then you can higher the number of maximum departures in the configuration dialog > Section "General" > Tab "Advanced". Then it shows new departures for some more time..

Report

9

kovariadam

10 years ago

Thank you very much. I will just wait for the next release.

Report

buschmann23

10 years ago

Whren building PublicTransport for openSUSE Factory, the RPMLINT checks give the following warnings:

timetablemate.i586: W: polkit-cant-acquire-privilege org.kde.timetablemate.install
Usability can be improved by allowing users to acquire privileges via
authentication. Use e.g. 'auth_admin' instead of 'no' and make sure to define
'allow_any'.

timetablemate.i586: W: dbus-policy-missing-allow /etc/dbus-1/system.d/org.kde.timetablemate.conf does not allow communication
every dbus config normally needs a line of the form <allow
send_destination="org.foo.bar"/> or similar. If that is missing the service
will not work with a dbus that uses deny as default policy

I do not know, if this is important, but I want to tell... ;-)

The warnings do not fail the build of the package.

Report

atkhan007

10 years ago

hello,

its deb for ubuntu 64bit is not working on kubuntu 10.10. its deb file gives an error something like this.

when i try to install the deb file PublicTransportx64-083.deb by gdebi, i get this

dpkg: error processing /home/user/Downloads/PublicTransportx64-083.deb (--install):
trying to overwrite '/usr/share/icons/mm.png', which is also in package mountmanager 0.2.6-0ubuntu5
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe
Errors were encountered while processing

now i don't know what that means , so please can anyone tell me what am i doing wrong or can anyone tell me how to compile from source , because i tried using the install.sh script and it crashed as well.

Thanks.

Report

C

fpuelz

10 years ago

It tries to install flag icons for very many countries (although only a few are actually used..), one country has the code "mm". So it tries to install a flag icon "mm.png", but in the same directory mountmanager has installed it's own icon with the same name "mm.png". That's what the error message says.
But I've "fixed" it, by simply removing all the mostly unused flag icons. I read a bit through the sources of KDE's systemsettings modules to find out from where it gets the flag icons in the locale settings to select a country.
Fortunately I didn't have to search long and the applet now uses the same flag icons :) In the next version, will be 0.10.

Report

9

fixu

10 years ago

hi,

the journey function is still not working for me.

should i delete some config files? actually, i couldnt find them.

cheers

felix

Report

C

fpuelz

10 years ago

I just fixed the journey parsing for SBB. It didn't work anymore, because the HTML code from SBB changed a little bit. I'll release a new version with that fix soon (0.9.1).

Report

markum

10 years ago

There is a crash related to public transport

https://bugs.kde.org/show_bug.cgi?id=258961

Report

C

fpuelz

10 years ago

Fixed in KDE's SVN trunk. I will release it in version 0.9 soon.

Report

C

fpuelz

10 years ago

..trying to fix it. Somehow it doesn't crash with my home stop. That's why I didn't notice the crash.

Report

9

thecrazyzorro

10 years ago

TT-Mate doesn't work at the moment, but the plasmoid itself is working good and looking nice. :)

Report

C

fpuelz

10 years ago

I fixed some crashes in the javascript parser when it parses bad javascript code (for timetablemate). Will be in version 0.9, to be released soon.

Report

9

fixu

10 years ago

Hi,

today i downloaded and installed the latest version of your plasmoid for archlinux. unfortunately, i get a crash when i use the journey function.

after typing in the journey, i get a list and then after some seconds it crashes.

i also have a crash report, but it seems not to be useful.

cheers

felix

Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb59a5ad0 (LWP 3339))]

Thread 3 (Thread 0xa88e2b70 (LWP 3364)):
#0 0xb6dd023b in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0xb5d4ac3c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2 0xb5d4b53a in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb5d4ba24 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4 0xb6f63ca7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5 0xb6f35859 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0xb6f35afa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7 0xb6e3eb0b in QThread::exec() () from /usr/lib/libQtCore.so.4
#8 0xb6f16ceb in ?? () from /usr/lib/libQtCore.so.4
#9 0xb6e41599 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6dcde60 in start_thread () from /lib/libpthread.so.0
#11 0xb61e220e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaa1eeb70 (LWP 3582)):
#0 0xb778f424 in __kernel_vsyscall ()
#1 0xb6dd23fc in [email protected]@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb6e41c7f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3 0xaadebff0 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#4 0xb6e41599 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb6dcde60 in start_thread () from /lib/libpthread.so.0
#6 0xb61e220e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb59a5ad0 (LWP 3339)):
[KCrash Handler]
#7 0x00000001 in ?? ()
#8 0xaadee368 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#9 0xb6f2d07c in QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#10 0xb6f2e5b0 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#11 0xaadf68b8 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#12 0xaadf4eff in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#13 0xaadfa683 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#14 0xaadb4c44 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#15 0xaadd4b91 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#16 0xaadd4e51 in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#17 0xaaddafaa in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#18 0xb6f3ccfa in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb6f47436 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#20 0xb6f4ba0f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb6b14ff4 in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb6476584 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb647b0ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb75ab85a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb6f3669b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb6f3a295 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0xb6f3a46d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#28 0xb6f63af4 in ?? () from /usr/lib/libQtCore.so.4
#29 0xb5d4af92 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb5d4b770 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb5d4ba24 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6f63c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb6526c75 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb6f35859 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6f35afa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb6f3a52f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0xb6474407 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#38 0xb33d2423 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#39 0x0804d839 in _start ()

Report

C

fpuelz

10 years ago

Thanks for your report. I'm trying to fix that bug. Unfortunately it also crashes without using the journey function for some stops. Other stops work without problems, like my home stop. That's why I didn't notice the crash.

Report

9

fixu

10 years ago

now it doesnt crash anymore, but the journey function isnt working. i dont get a journey.

my home stop is: kalkbreite, zürich

and if you try to do a journey to: buhnstrasse, zürich, it is searching and searching, but no journey shows up.

Report

C

fpuelz

10 years ago

The crash is quite random, but it's fixed in KDE's SVN trunk already. I will release it in version 0.9.
What service provider are you using? SBB? I will have a look why the journey function doesn't work.

Report

9

fixu

10 years ago

thanks for fixing the bug. yes, i am using sbb as service provider.

have a nice sunday

cheers

felix

Report

sklump

10 years ago

I get following error when running make of timetablemate on fedora 13. Does anyone have the same problem?

Linking CXX executable timetablemate
/usr/bin/ld: CMakeFiles/timetablemate.dir/timetablemate.o: undefined reference to symbol 'QWebInspector::QWebInspector(QWidget*)'
/usr/bin/ld: note: 'QWebInspector::QWebInspector(QWidget*)' is defined in DSO /usr/lib/libQtWebKit.so.4 so try adding it to the linker command line
/usr/lib/libQtWebKit.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Report

gravy

10 years ago

Hi,

I'm missing "Deutsche Bahn" as service provider. I'm using the lastest version on Arch. Is there a way to fix this?

Report

MayC23

10 years ago

Hello

I would love to use this Plasmoid. As I live in Switzerland I tried to use SBB. The Problem is now that there are always pair wise bus stops which lead in a different direction but have the same name. For Example I have two bus stops with the name MyStop. One leads to the train station the other to out of town...

As I can't select the direction in the app I have listed every bus no mather which direction it travels.

Report

C

fpuelz

10 years ago

You can use filters to only show trains in the direction you want. There're three directions from my stop and I have a filter for each. You can use the "via" filter, but I'm not sure if it works with SBB currently (it works if the next stops are shown in the departure board). You can for example create a filter that only shows departures of trains that go via a given station (eg. the first in the direction you want).

Report

Chillawowa

10 years ago

Built these myself since they did not seem to exist anywhere else...

Links to the 64 bit packages:
http://www.mediafire.com/?mgzoykkjtmj

http://www.mediafire.com/?jwtnz0zmaum

http://www.mediafire.com/file/jwtnz0zmaum/plasma-dataengine-publictransport_0.8.3-1_amd64.deb

http://www.mediafire.com/?mh4m3minmzz

They are the openstreet map, data-engine, icons, and plasma-widget respektively.

Report

9

Finswimmer

10 years ago

Gentoo Ebuild updated

Report

thomasjfedora

10 years ago

[ 58%] Building CXX object src/CMakeFiles/timetablemate.dir/timetablemateview.o
cd /home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu/src && /usr/lib64/ccache/c++ -D_BSD_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu/src -I/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src -I/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2 -I/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDBus -I/usr/include/QtAssistant -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -o CMakeFiles/timetablemate.dir/timetablemateview.o -c /home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemateview.cpp
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In constructor 'TimetableMate::TimetableMate()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:111: error: invalid static_cast from type 'KParts::ReadOnlyPart*' to type 'KWebKitPart*'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:118: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:119: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:120: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:121: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:122: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:123: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:132: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:137: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:141: error: no matching function for call to 'TimetableMate::connect(KWebKitPart*&, const char [27], TimetableMate* const, const char [31])'
/usr/include/QtCore/qobject.h:198: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:313: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:142: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:260: error: no matching function for call to 'KParts::PartManager::addPart(KWebKitPart*&, bool)'
/usr/include/kde4/KDE/KParts/../../kparts/partmanager.h:148: note: candidates are: virtual void KParts::PartManager::addPart(KParts::Part*, bool)
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::showWebTab(const QString&, RawUrl)':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:606: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::currentTabChanged(int)':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:644: error: no matching function for call to 'KParts::PartManager::setActivePart(KWebKitPart*&, KTabWidget*&)'
/usr/include/kde4/KDE/KParts/../../kparts/partmanager.h:172: note: candidates are: virtual void KParts::PartManager::setActivePart(KParts::Part*, QWidget*)
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::setupActions()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:712: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:716: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:720: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:724: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::urlBarReturn(const QString&)':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:1472: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::webLoadHomePage()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:1487: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::webLoadDepartures()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:1500: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::webLoadStopSuggestions()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:1513: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp: In member function 'void TimetableMate::webLoadJourneys()':
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.cpp:1526: error: invalid use of incomplete type 'struct KWebKitPart'
/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/src/timetablemate.h:38: error: forward declaration of 'struct KWebKitPart'
make[2]: *** [src/CMakeFiles/timetablemate.dir/timetablemate.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu'
make[1]: *** [src/CMakeFiles/timetablemate.dir/all] Error 2
make[1]: Leaving directory `/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu'
make: *** [all] Error 2
make: Leaving directory `/home/thomas/rpmbuild/BUILD/publictransport-0.8.3_timetablemate-0.2.1/timetablemate-0.2/x86_64-redhat-linux-gnu'
error: Bad exit status from /var/tmp/rpm-tmp.WibTsn (%build)

Sorry, that's a long one. Is there a bugtracker for publictransport somewhere?

Report

8 years ago

17.01.2013:
(version 0.11 beta)
Many crash/bug fixes, visual polishing, see http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

30.12.2012:
(version 0.11 alpha 2)
Providers are now hosted on openDesktop.org, download via GHNS, many fixes etc. See http://fpuelz-kde.blogspot.de/. (The install.sh script is actually unchanged, just select the new version)

04.12.2012:
(version 0.11 alpha)
Many improvements, new features, GTFS support, etc. See http://fpuelz-kde.blogspot.de/.
Update: Improved install script, automatically select latest version for installation, show available versions sorted by date, allow switching to another version when starting the script again with the repository already cloned
Update 2: Allow selecting git HEAD for installation again (the script shows Current_Development_Version for it), HEAD contains a fix for building with GTFS support but without protocol buffers installed

18.10.2011:
(version 0.10 RC2)
Applet:
- Fix link errors
- Fix memory leaks
- Fix applet collapsing to popup icon in desktop
- Drawing performance improvements
- Use of KPixmapCache for vehicle type icons
- New monochrome icons, shown in the popup icon
- Add possibility to put the applet into the notification area
- Better layout adjustments for small sizes
- Change applet tooltip according to current departure group in popup icon
- Shorter alarm names, alarm names in notifications
- Nicer alarm background
- Fix color groups and route time display for arrivals
TimetableMate:
- Fix for missing KWebKitPart include file, it now uses KWebView directly
Library:
- Fix a crash with GraphicalTimetableLine (missing null pointer check)

12345678910
141
product-maker mirkogennari Jan 15 2017 9 excellent
product-maker matafleur Apr 08 2015 9 excellent
product-maker Soru Jun 07 2014 9 excellent
product-maker MatthiasM Mar 18 2013 9 excellent
product-maker lei00 Feb 25 2013 9 excellent
product-maker meyerm Oct 12 2012 9 excellent
product-maker djselbeck Dec 30 2011 9 excellent
product-maker vortex375 Nov 12 2011 9 excellent
product-maker Rando25 Nov 10 2011 9 excellent
product-maker Eol Nov 07 2011 9 excellent
product-maker nikore90 Oct 18 2011 9 excellent
product-maker warrob Sep 15 2011 9 excellent
product-maker quippini Aug 11 2011 9 excellent
product-maker jenzuslongus Jul 29 2011 9 excellent
product-maker tobaj Jul 22 2011 9 excellent
product-maker thrawn Jul 10 2011 9 excellent
product-maker mschu Mar 30 2011 9 excellent
product-maker Vistausss Mar 27 2011 9 excellent
product-maker Genserowski Mar 26 2011 9 excellent
product-maker roadracer Mar 11 2011 9 excellent
product-maker terwarf Mar 09 2011 9 excellent
product-maker FollowByWhiteRabbit Mar 04 2011 9 excellent
product-maker FraSMOG Mar 04 2011 9 excellent
product-maker terrorbaby92 Mar 03 2011 9 excellent
product-maker vkmaheshbhat Feb 28 2011 9 excellent
product-maker misiakdurko Feb 27 2011 9 excellent
product-maker FSchulz Feb 26 2011 9 excellent
product-maker nsaibot Feb 17 2011 9 excellent
product-maker Vzlom Feb 16 2011 9 excellent
product-maker nisavid Feb 12 2011 9 excellent
product-maker flanello Feb 06 2011 9 excellent
product-maker kovariadam Feb 06 2011 9 excellent
product-maker momonster Feb 06 2011 9 excellent
product-maker Weaselweb Feb 05 2011 9 excellent
product-maker Ireyon Feb 02 2011 9 excellent
product-maker vitoubien Feb 01 2011 3 bad
product-maker Finswimmer Jan 30 2011 9 excellent
product-maker EliasP Jan 19 2011 9 excellent
product-maker fixu Dec 16 2010 9 excellent
product-maker PyroLinux Nov 08 2010 9 excellent
product-maker thecrazyzorro Oct 30 2010 9 excellent
product-maker Dieter-MZ Oct 06 2010 9 excellent
Be the first to comment
simgunz
Sep 29 2014
vortex375
Nov 12 2011
hoderlump
Nov 05 2011
tobaj
Oct 18 2011
jenzuslongus
Aug 03 2011
dyn0saur
Jun 03 2011
Naraku
Apr 16 2011
m00nraker
Mar 22 2011
terwarf
Mar 09 2011
FollowByWhiteRabbit
Mar 02 2011
nsaibot
Feb 16 2011
flanello
Feb 06 2011
rgreinhofer
Feb 04 2011
EliasP
Jan 19 2011
thecrazyzorro
Oct 30 2010
eikel
Jul 29 2010
rickdesantis
Jun 13 2010
thomasjfedora
May 24 2010
elric80
May 13 2010
sadiqhuq
Apr 06 2010
Rerghar
Mar 30 2010
balevas01
Mar 19 2010
poelzi
Feb 25 2010
lordlukas
Feb 16 2010
dtritscher
Feb 14 2010
H1bakusha
Feb 10 2010
msledziona
Feb 07 2010
Bottom-Egg
Feb 05 2010
nicodietrich
Jan 21 2010
knilch
Jan 20 2010
markum
Jan 02 2010
smihael
Dec 30 2009
Kummerpaule
Sep 29 2009
dixiecko
Aug 14 2009
weatherman
Aug 09 2009
JanMalte
Aug 09 2009
Hantilles
Aug 05 2009
kovariadam
Jul 29 2009
lokdp
Jul 28 2009
EinfachToll
Jul 28 2009
AndiBauer
Jul 26 2009
takanowaka
Jul 25 2009
poppei82
Jul 18 2009
frankbrian25
Jul 13 2009
alvanx
Jul 10 2009
Boccaccio
Jul 05 2009
Podstavsky
Jul 03 2009
painkiller101
Jun 26 2009
vejha
Jun 23 2009
buschmann23
Jun 19 2009
gravy
Jun 18 2009
pano
Jun 18 2009
k3ks
Jun 17 2009
Finswimmer
Jun 17 2009
Frank
Jun 16 2009
dejazmach
Jun 16 2009
jalpaka
Jun 15 2009
radecz3k
Jun 15 2009
Vistausss
Jun 14 2009
ZdadrDeM
Jun 13 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.11 beta
updated Jan 17 2013
added Jun 03 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6