laptop and a wrench

Bug

Python add-in button launching webbrowser.open_new_tab crashes ArcMap.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM086337
SubmittedNovember 7, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.1
Operating SystemWindows OS
Operating System Version7
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

-Create a python script which will have a method to call the web browser.-Attached herewith is the script called <a href="http://openbrowser.py" target="_blank">openbrowser.py</a>-In the python addin python script(under the install folder), type in the logic that will call the above script using subprocess.-Attached herewith is the script called "Saurabh_web_<a href="http://addin.py" target="_blank">addin.py</a>"-This script needs to be copied in the script present under the install folder.-Install the addin and add the toolbar.-After clicking the button a web browser is opened however ArcGIS does not crash.

Steps to Reproduce

Bug ID: NIM086337

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options