schildbach / public-transport-enabler

Unleash public transport data in your Java project.
https://groups.google.com/forum/#!forum/public-transport-enabler-discuss
GNU General Public License v3.0
381 stars 132 forks source link

PLNAVITIA: java.lang.IllegalArgumentException: Unhandled error id: no_origin_nor_destination #299

Closed Baarten closed 1 week ago

Baarten commented 4 years ago

Query

Error

java.lang.IllegalArgumentException: Unhandled error id: no_origin_nor_destination
de.schildbach.pte.AbstractNavitiaProvider.queryTrips(AbstractNavitiaProvider.java:1060)
de.schildbach.pte.AbstractNetworkProvider.queryTrips(AbstractNetworkProvider.java:92)
de.grobox.transportr.trips.search.TripsRepository.queryTrips(TripsRepository.kt:109)

Additional information

UI language: Dutch Public transit: Municipal Transports of Poland Device: Xiaomi Mi 8 (dipper) OS: LineageOS 16.0-20191231-microG-dipper Transportr version: 2.0.8

schildbach commented 4 years ago

This is an error returned by the Navitia.io API. We need to check with their API why this error occurs. Yes, we don't have location IDs for POIs or Addresses. Could we, perhaps?

ialokim commented 4 years ago

This is likely to be the same issue as https://github.com/grote/Transportr/issues/424 and also duplicates of #310, #322, #318, #317 and #307.

mimi89999 commented 2 years ago

Hello What have you entered in from and to fields in Transportr?

If I enter the coordinates in Navitia playground, I get Public transport is not reachable from origin nor destination. That's expected since there is no data in Navitia for public transport in the city of Zakopane.

Baarten commented 2 years ago

Hello What have you entered in from and to fields in Transportr?

Hi, I think I entered from “Dzianisz” to “Zakopane”, but I don't know why it says “Jardin” in my report. If I try to search that with “zakopane” in Transportr, I get a list of gardens in Zakopane. Verifying with the coordinates, the coordinates do point to a garden, but I don't remember entering that.

schildbach commented 1 week ago

Thanks a lot for your report. Unfortunately, due to the current bad shape of Navitia support in public-transport enabler, time constraints on our side and due to the centralized nature of navitia.io I have decided to drop support for Navitia. Thus, I'm going to close this report. Sorry for the inconvenience and thanks again.