Closed julienrenaudleca closed 8 years ago
Julien,
Thank you for the report. It looks like a character encoding issue, I'm guessing your locale is set to one that includes non-ASCII characters, and the code didn't anticipate that. I'm looking into the issue now.
I got an error running the install R bindings script and was able to solve this by running ArcMap as Administrator.
@mhogeweg the current release (2 days ago) should notify you immediately if you need to install as admin, unfortunately for 10.3.1 it needs to write to the users' Program Files directory which is protected.
Same for me. So I added Full Control privileges in the security settings for the R folder. But my problem with import rtools persists: 'module' object has no attribute 'install_package'
After running “Install R Bindings”:
Executing: InstallBindings false Start Time: Mon Dec 21 07:45:27 2015 Running script InstallBindings...
Traceback (most recent call last):
File "
Failed to execute (InstallBindings). Failed at Mon Dec 21 07:45:27 2015 (Elapsed Time: 0.00 seconds)
After running “Update R Bindings”:
Executing: UpdateBindings Start Time: Mon Dec 21 07:48:37 2015 Running script UpdateBindings...
Traceback (most recent call last):
File "
Failed to execute (UpdateBindings). Failed at Mon Dec 21 07:48:37 2015 (Elapsed Time: 0.00 seconds)
After running “Print R Version”
Executing: RVersion Start Time: Mon Dec 21 07:51:05 2015 Running script RVersion...
Traceback (most recent call last):
File "
Failed to execute (RVersion). Failed at Mon Dec 21 07:51:05 2015 (Elapsed Time: 0.00 seconds)
It seems that rtools isn’t importing fully into “R integration.pyt” The debugging recommendation suggests checking these folders. I don’t have this and so what should I do from here?
C:\Users
when I ran the install 'as Administrator' it worked for me.
@julienrenaudleca Sorry for the long delay getting back to you. I think this issue has been solved, let us know if you have any further issues using the installation.
**I received the folllowing information when I install R bindings.Hope you can help me!!
Executing: InstallBindings true Start Time: Wed Apr 27 16:28:29 2016 Running script InstallBindings... Saving URL to 'c:\users\duaen\appdata\local\temp\tmpmvkipw\arcgisbinding_1.0.0.118.zip'
Traceback (most recent call last):
File "
Failed to execute (InstallBindings). Failed at Wed Apr 27 16:51:57 2016 (Elapsed Time: 23 minutes 27 seconds)
Hello @CodeQL, I've made a new release of the ArcGIS binding package which supports offline installation (see instructions). This should also serve to solve the problem you described, it looks like in your case the call to download the bridge library itself from Python is failing. This is likely to do a proxy or firewall which may restrict access to resources via Python. If you follow those instructions, and with your browser place the downloaded arcgisbinding_1.0.0.118.zip file into the same directory as the "R integration" python toolbox, the installation should proceed without needing to use Python to download the file.
Cheers, Shaun
Hello, using Arcgis 10.3.1 R 3.2.2
I'm having trouble running the 'Install R bindings script'. Here comes the message I get. Any help appreciated. Julien
Traceback (most recent call last): File "", line 177, in execute
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\install_package.py", line 62, in install_package
download_url = release_info()[0]
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\github_release.py", line 67, in release_info
json_r = parse_json_url(latest_url)
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Toolboxes\r-bridge-install-master\rtools\github_release.py", line 44, in parse_json_url
url, e))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 58: ordinal not in range(128)
Failed to execute (InstallBindings).