Skip to main content
Question

Background Maps fail to open

  • May 6, 2019
  • 5 replies
  • 117 views

ev_robin
Contributor
Forum|alt.badge.img+12

I could use some help figuring out how to get MapQuest maps loaded in FME. I get a python exception when I try to load any background maps other than a WMS in the preview window and Data Inspector.

 

Python Exception <ImportError>: bad magic number in 'requests.packages': b'\x03\xf3\r\n'
Could not create Python Reader `MAPQUEST_WMTS'
A fatal error has occurred. Check the logfile above for details
Failed to open the dataset ''
DATASET INFO:
    DATASET: 
    NUMBER OF PARAMETERS: 2
        RETRIEVE_ALL_TABLE_NAMES = Yes
        _API_ACCESS_TOKEN = 3LjBtfAjxV6mr8nczRSuENeEtSk83gv7

 

I have an API key for MapQuest that was working in FME 2018, and I signed up for a new one in MapBox and found that I got the same error in FME 2019. I'm sure there is someone here a lot smarter than me who can figure this out, so thank you.

 

edit: I realize the problem is only using 64bit FME. I have a 32 bit version and a 64 bit version installed.

I had an error during the installation that said it couldn't shut down all the programs using a shared library (probably a python library, given the error).

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+61

Is the API key you used in FME 2018 still working?

And please forgive me for asking the obvious here... but you say you signed up for a new API key in MapBox, did you mean to write MapQuest?


ev_robin
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • May 7, 2019

Is the API key you used in FME 2018 still working?

And please forgive me for asking the obvious here... but you say you signed up for a new API key in MapBox, did you mean to write MapQuest?

Hi, thanks for the reply. The API key still works on other computers with FME 2019. I don't have 2018 still installed on my computer to test, because I installed 2019 in place of 2018. I did actually get a MapBox API key as well. Just now I realized the issue is only with the 64 bit version. The 32 bit version works fine, but I mostly use 64 bit FME.


chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • May 7, 2019

Hi, thanks for the reply. The API key still works on other computers with FME 2019. I don't have 2018 still installed on my computer to test, because I installed 2019 in place of 2018. I did actually get a MapBox API key as well. Just now I realized the issue is only with the 64 bit version. The 32 bit version works fine, but I mostly use 64 bit FME.

Hi @bruttino,

Did installing 64-bit FME 2019.0 resolve the issue or are you still unable to load the background map in FME 2019.0? I just tested the MapQuest background map on my machine using 64-ibt FME 2019.0 and I wasn't able to get the same error.

If you are still experiencing issues, I would recommend contacting our support team by Submitting a Case and including the FME report by running the system_information.bat from the General Troubleshooting | Gathering System Information article.


ev_robin
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • May 7, 2019

Hi @bruttino,

Did installing 64-bit FME 2019.0 resolve the issue or are you still unable to load the background map in FME 2019.0? I just tested the MapQuest background map on my machine using 64-ibt FME 2019.0 and I wasn't able to get the same error.

If you are still experiencing issues, I would recommend contacting our support team by Submitting a Case and including the FME report by running the system_information.bat from the General Troubleshooting | Gathering System Information article.

Hi, I reinstalled FME 2019 and it worked! I should have tried that before. Anyways, thank you for your help! I remember getting a warning during installation of the 64 bit FME that it couldn't shut down all the programs the first time I installed.


chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • May 7, 2019

Hi, I reinstalled FME 2019 and it worked! I should have tried that before. Anyways, thank you for your help! I remember getting a warning during installation of the 64 bit FME that it couldn't shut down all the programs the first time I installed.

Glad to hear! Thank you for following up @bruttino!