Skip to content
New issue

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

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

Already on GitHub? # to your account

Lightroom 6.14 : Map not working #21

Closed
sebsebseb1982 opened this issue Aug 26, 2019 · 19 comments
Closed

Lightroom 6.14 : Map not working #21

sebsebseb1982 opened this issue Aug 26, 2019 · 19 comments

Comments

@sebsebseb1982
Copy link

Hi !

I've modified my Location.lrmodule as explained here, but it is still not working :-(

files
lightroomError
patchLUA

Do you know where I can find logs that could help me ?

Thank you,
Sébastien

@astuder
Copy link
Owner

astuder commented Aug 26, 2019

Hi Sebastien,

I don't know if Lightroom writes any logs. You should see traffic in your Google Cloud account. If there is no activity on then most likely the API key is wrong.

Also make sure to enable the necessary APIs on your Google Cloud account as described in section 2.

Best Regards,
Adrian

@sebsebseb1982
Copy link
Author

Hi, thank you for your answer !
I don't see any traffic in my Google Cloud Account.

Can you confirm me that the key to use is this one :

key

I've got theses API activated :

apis

If you can confirm that everything seems OK, I'll will try to regenerate my key and patch again the module.

@astuder
Copy link
Owner

astuder commented Aug 26, 2019

Yes, that's the key. Double check that you included the API key without extra characters (for example don't add the { } brackets).

APIs look ok.

Make sure to exit Lightroom before updating the files. To be sure that you update the correct location, you can rename the file and see if Lightroom complains. If it doesn't you may be modifying the wrong file.

@sebsebseb1982
Copy link
Author

sebsebseb1982 commented Aug 26, 2019

I've regenerate my key which now does nto contains hyphen (the first one was). Still not working.
My key contains only alphanumerical chars now.
Lightroom was closed during process.
I've tried to rename Location.lrmodule --> Location.lrmodule.bak. Map module is still bugged and this is the same error (it does not ask for Location.lrmodule.bak explicitly).
I'm modifying C:\Program Files\Adobe\Adobe Lightroom\Location.lrmodule

@sebsebseb1982
Copy link
Author

sebsebseb1982 commented Aug 27, 2019

I've checked hexa content and replacement seems to be done :-\

@astuder
Copy link
Owner

astuder commented Aug 27, 2019

I just checked, and I get the error you see when I rename my Location.lrmodule.

When you replace your module with the original (I hope you have a backup), what error do you get?

@sebsebseb1982
Copy link
Author

With original or without any Location.lrmodule, I've got the same error as the one in my first comment. I' ve not find any log or debug mode/console ...
Could I sent you my modified module ?

@timbothegreat3
Copy link

timbothegreat3 commented Aug 28, 2019 via email

@sebsebseb1982
Copy link
Author

My Google API seems to be OK. I'll try to find someone who can test my module

@Sventheviking
Copy link

Hello,
I performed all the steps, including changing the URL but unfortunately it still does not work.
Using a very simple test page I was able to validate my api key so that's not the issue.

Is there a way to turn on the location debug panel or otherwise see which calls ligthroom makes ?

@sebsebseb1982
Copy link
Author

I've got exactly the same problem. If you find solution I'm interested !

@astuder
Copy link
Owner

astuder commented Oct 19, 2019

Sorry, but I really can't reproduce those issues. Are any of you using non-english versions of LR?

Unfortunately, I haven't figured out how to enable the debug console that the error message mentions. I suspect it's a standard message from the embedded browser that displays the map.

@sebsebseb1982
Copy link
Author

Hi Astruder,

I don't know if it is a specific version, but mine is translated in french.

image

If you want, I can send you my Location.lrmodule to test (I will invalidate my API key later).

@Sventheviking
Copy link

I'm using it in French as well but doubt Adobe made language specific versions.
Anyway I switched to English in Preferences and the error is still there.

Do you know how to trace all the http calls and responses ? I'll do some research on my side, just wondering if you alredy did it.

@sebsebseb1982
Copy link
Author

Nope. I haven't time to do it now but maybe Fiddler (if it's still compatible with Windows 10) could bring answers.

@Sventheviking
Copy link

Something really weird happened that I absolutely cannot explain...

  • Installed Fiddler and took a trace with the modified location.lrmodule
  • No errors, it loaded a bunch of map elements from the last location I visited and then the circled exclamation mark. At no time I saw any of the queries modified.
  • Put the original location.lrmodule in place to get a comparison
  • Everything just worked perfectly, fully functional map module and I clearly saw it using my API key in all queries

I went back to resource hacker to check location.lrmodule and it definitely is the original... I have absolutely no clue which file LR is using but the fact is that it somehow switched to my API key.
Maybe it cached data from the modified file somewhere and just decided to use it.

@astuder
Copy link
Owner

astuder commented Oct 27, 2019

Someone just posted this on the thread in DPreview:

IMPORTANT NOTE: Windows 10, I had a lot of trouble and tried 3 times, despite having Google API experience. The problem was, I didn't remove the backup file from the original directory (and it still had the same .lrmodule extension). Even though it had an obviously different filename, it was still getting picked up by LR instead of my patched file. Either change the extension of the backup file, or move it. I hope this helps someone else!

Please let me know if this solves the mystery for any of you.

@sebsebseb1982
Copy link
Author

sebsebseb1982 commented Oct 27, 2019

Yes ! that's it !
Thank you very much everybody !

@Sventheviking
Copy link

Same for me ! Changing the extension did it.

Thanks a lot.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants