Locus Map - forum

Support => Troubles & Questions => Topic started by: UKlocusfan on May 19, 2013, 00:21:47

Title: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 00:21:47
Have been using Locus Pro for years on my Android phone but have now put it on my Android tablet (ICS) but am having a big problem.

The tablet is only a cheap MID non-branded tablet without GPS or bluetooth but it works perfectly and I don't have any problems with it.

For some reason though Locus wont look up addresses.

When I long press on a road it does the address search (because I enabled that option) but it says no address found.
The same thing happens when I try to do a simple search for an address or location - it instantly tells me it cant find the address.

The online maps work etc etc so its seeing the internet.

I have no idea why this is happening as Google maps looks up addresses ok and so do other apps - its just Locus Pro that wont do anything when it comes to searching for or long pressing on a location to find its address.

Any ideas please?
Thanks.
Title: Re: Cannot search or find address
Post by: gynta on May 19, 2013, 10:06:33
Try to reboot your device and tell us the result.
This is not the bug fixing but if this help, Menion can see the problem.
Title: Re: AW: Cannot search or find address
Post by: jusc on May 19, 2013, 10:11:44
Do have the problem after you restart the tablet too?
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 11:07:00
Thanks gynta and jusc - but restarting the tablet does not help  :-(
Title: Re: Cannot search or find address
Post by: Menion on May 19, 2013, 11:09:41
it's good, at least we should find a problem :)

do you have your device rooted? Because I'll need a log and best logs are from LogCat program. If you don't have a rooted device, please try to enable logging in Locus (config.cfg file in Locus root directory, set parameter "record_debug_logs=1", and logs should be after you stop Locus in Locus/logs directory). Hope there will be any clue
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 11:23:58
Thanks menion.

My device isn't rooted.

LogCat works on non-rooted devices though doesn't it?

Anyway, I've enabled the record_debug...will start Locus, do a search, close Locus and attach a log on here.

Cheers menion

UPDATE:
There is a new log in the folder... but its blank. (?)
Title: Re: Cannot search or find address
Post by: Menion on May 19, 2013, 11:32:46
hmm catLog worked on non-rooted devices just till android 4.1. From 4.1 you need to have root. Unfortunately due to some Google changes ...

empty log. This is my curse. It sometimes happen and I don't know why. Please try to kill locus in application manager on your device and try it once more, then it should work. Just after you close Locus with back button, wait a while ...
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 11:40:41
Thanks Menion.

No luck.  :-(  The new log file is still completely empty.  I've checked and the '1' is enabled ok.

:-(
Title: Re: Cannot search or find address
Post by: gynta on May 19, 2013, 11:42:04
Quote from: "UKlocusfan"There is a new log in the folder... but its blank. (?)
What version of Locus?
It works with test 2.11.1.5 -> viewtopic.php?f=25&t=3030#p20362 (http://forum.locusmap.eu/viewtopic.php?f=25&t=3030#p20362)
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 11:45:49
Version 2.11.1 currently the latest on the android Play store.
Title: Re: Cannot search or find address
Post by: gynta on May 19, 2013, 11:49:22
That's why I post the link..  ;)
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 19, 2013, 11:52:17
CatLog only needs root for Jellybean... I'm on Ice Cream Sandwich  :-)

i'm installing it now.:-)

What do you need from it menion?

Thanks.

UPDATE:- heres a CatLog.  Opened Locus Pro, long pressed address (didn't work) then did a search for a street (didn't work), closed Locus Pro, uploaded CatLog
Title: Re: Cannot search or find address
Post by: Menion on May 20, 2013, 21:46:03
so in logcat is ... nothing

please install this test version viewtopic.php?f=25&t=3030#p20362 (http://forum.locusmap.eu/viewtopic.php?f=25&t=3030#p20362) and try to search for some address by search > address tool. After that just close locus and save log. Thanks
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 21, 2013, 11:38:25
Thanks menion.

I've installed the latest test version and it does the exact same thing.  Cannot search, cannot hold down for an address and every log generated is empty.  :-(

To just check things work ok and its not a fault with the tablet I have installed ozmand and that works fine for searching for an address.  I'm having to use ozmand to search for an address then share that address with Locus Pro;. :-(
Title: Re: Cannot search or find address
Post by: Menion on May 21, 2013, 11:43:51
CatLog please, CatLog ;)
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 21, 2013, 12:41:06
Here you go Menion.
Thanks.
Title: Re: Cannot search or find address
Post by: Menion on May 21, 2013, 17:22:25
perfect ... very weird

another try? viewtopic.php?f=25&t=3030&p=20362#p20362 (http://forum.locusmap.eu/viewtopic.php?f=25&t=3030&p=20362#p20362) ... Google internal search is soo buggy ...
Title: Re: Cannot search or find address
Post by: tommi on May 21, 2013, 21:00:25
For me the fix you made in one of the last LocusPro Releases made the search much much better, now it works almost any time I use it, before about every try made a reboot necessary.
Title: Re: Cannot search or find address
Post by: Menion on May 21, 2013, 21:33:44
:) ... I'll try to explain it a little. In Android is already predefined service, that allow simply call "get me address at X, Y coordinates", but this service do not work correctly on all device and seems that on A4.0+ it's even worst then before

- sometimes it works correctly
- sometimes it returns empty array of results
- sometimes it return "null", so empty object
- sometimes it throws weird exception

and all these possibilities may happen for same search text ...

so I created own backend service that is activate when any problem with internal service happen. Seems that one option was not catched correctly, case of UKlocusfan, but in new test version, it should also works ... just short explanation
Title: Re: Cannot search or find address
Post by: tommi on May 21, 2013, 21:38:55
thanks, very interesting to have a look behind the curtain of Locus dev :-)
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 21, 2013, 23:20:30
Good work menion!
The address search now works - but the long hold lookup still doesn't.

You've fixed the thing I was most interested in though and so I thank you very much,  I can now get rid of that awful osmand app.

Thanks again!
Title: Re: Cannot search or find address
Post by: Menion on May 22, 2013, 07:47:26
perfect, problem now fixed also for long click on map ...
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 22, 2013, 09:29:46
Excellent!  Cant wait for the Pro release.
Thanks again!:-)

UPDATE:
Problem: Google Play wont let me update to the latest Pro version from yesterday :-(
Title: Re: Cannot search or find address
Post by: gynta on May 22, 2013, 10:17:16
QuoteProblem: Google Play wont let me update to the latest Pro version from yesterday :-(
:shock:  :?:  
What are you talking about? :mrgreen:
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 22, 2013, 10:26:12
Exactly what I said gynta.

Google Play wont let me update to the latest Pro version from yesterday.

There is a new version yesterday of Locus Pro on the Google Play store... Google Play wont let me update to this new version for some bizarre reason.

Simples. ;-)

Disappointing :-(
Title: Re: Cannot search or find address
Post by: Menion on May 22, 2013, 10:40:30
sorry, there is no new version on Google Play. Last version is from end of April, version 2.11.1
Title: Re: Cannot search or find address
Post by: UKlocusfan on May 22, 2013, 11:09:03
Oh, sorry - my confusion.
The release date on Play store for the latest version was yesterday and so I presumed it was a new one after the bug fixes.

About This App
Rating: (7,572)
Updated:21 May 2013
Current Version:2.11.1
Requires Android:2.1 and up
Category:Travel & Local
Installs:50,000 - 100,000
Size:9.0M
Price:£5.99
Content Rating:Low Maturity


Its not letting me update as I obviously have the latest version.
Sorry for the misunderstanding and I look forward to the next version with the address search fixes.

Thanks!
Title: Re: Cannot search or find address
Post by: Menion on May 22, 2013, 11:13:33
yesterday? hmm weird system. I just yesterday changed one image on Google Play page and it now display as update time ... :/

good to know ...

release is anyway planned on start of next week. I need some more time on testing ...