Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No results when searching for directions, search bar, or adding home/work #525

Closed
colinner opened this issue Sep 16, 2018 · 18 comments
Closed
Labels
bug 🐞 A functional defect or unexpected behavior. needs info ℹ️ More information needed,

Comments

@colinner
Copy link

colinner commented Sep 16, 2018

Describe the bug
I've been unable to get the app to provide any search results when searching for places or route results with directions.

To Reproduce

  1. Open app and zoom to transit-covered area.
  2. Type in search bar for places, but no place results appear. Animated loader circle icon appears for 1 second then goes away.
  3. Next, (since I cant get search results) I Fill in the To and From fields by tapping "From here" and pasting a place name to be sure that the places are valid.
  4. Tap "Next" on keyboard. (nothing happens)
  5. Close keyboard. (nothing happens; no buttons or anything to start the search for directions)

Expected behavior
Either a button to search for routes/places or routes/places appearing when tapping "Next" on the keyboard.

Screenshots
screenshot_2018-09-15-22-21-58

Versions (please complete the following information):

  • **Transportr Version: 2.0.2
  • **Device: Nexus 4
  • **Android Version: 4.4.3
@grote
Copy link
Owner

grote commented Sep 17, 2018

Thanks for the report. It sounds like the problem is due to pasting a place name. Could you try typing the name instead and selecting one from the list?

@grote grote added bug 🐞 A functional defect or unexpected behavior. needs info ℹ️ More information needed, labels Sep 17, 2018
@colinner
Copy link
Author

Yes, I've done that. But that is part of the problem- no results for place searches appear NOR results for directions. I've updated the report to emphasize this more. I'll try again to be sure.

@grote
Copy link
Owner

grote commented Sep 17, 2018

Sounds like an API issue. If you use british columbia, you'd need to talk to Navitia about this.

@grote
Copy link
Owner

grote commented Sep 17, 2018

Are you using the British Columbia coverage? If so, if I type "Olym" I get some results of stations and places!?

@colinner
Copy link
Author

Yes, I've tried many queries. I tried "olym" too for completeness. Not sure what more info I can provide.

@grote
Copy link
Owner

grote commented Sep 18, 2018

Sure you are not blocking transportr's internet access with some firewall or something? Can you try DB in Europe and type test to see if this brings any results? If not, does it work if you put a space at the end?

@colinner
Copy link
Author

No I don't have any internet blocking apps. I can load and browse the map just fine. Appending spaces doesnt make a difference. I tried the Deutsche Bahn in Europe- and yes! I get some search results!

@colinner
Copy link
Author

I've tried the other networks in Canada but they also have no search results.

@grote
Copy link
Owner

grote commented Sep 19, 2018

Very strange! Can you try Paris? It uses the same API as Canada.

@colinner
Copy link
Author

Hmmm, yes Paris behaves the same way as the Canadian networks. No search results.

@grote
Copy link
Owner

grote commented Sep 19, 2018

Aha! We are getting closer. Can you open https://api.navitia.io in a browser on the same device? If not, you need to report this to Navitia.

@colinner
Copy link
Author

At that link all I see is a JSON string all on one line.

@colinner
Copy link
Author

Is there any chance the API requires Google play services?

@grote
Copy link
Owner

grote commented Sep 19, 2018

If you see

{"versions":[{"status":"current","links":[{"href":"https:\/\/api.navitia.io\/v1\/","type":"api","rel":"api","templated":false}],"description":"Current version of navitia API","value":"v1"}]}

your browser can at least connect, but Transportr can not for some reason.

Can you get a logcat log from your phone while trying entering a name in the search form?

@colinner
Copy link
Author

logcat_transportr_searchingAndRouting_BC.txt
Hopefully this is helpful.

@grote
Copy link
Owner

grote commented Sep 19, 2018

Unfortunately not. There's nothing related to Transportr in there.

@colinner
Copy link
Author

Is there any special setting required in logcat?

@ialokim
Copy link
Collaborator

ialokim commented Nov 12, 2023

We had to remove BritishColombia with #884 since data for it is no longer available.

@ialokim ialokim closed this as completed Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 A functional defect or unexpected behavior. needs info ℹ️ More information needed,
Projects
None yet
Development

No branches or pull requests

3 participants