State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:12.2v5|BugID:460118|
Problem summary
The Crash Reporter is shown when exiting Nuke after adding a class to a menu.
Customer reported version
nuke.12.2v3
Customer reported platform
ubuntu
Steps to reproduce
1) From the desktop, add the following snippet to a Python file inside your .nuke folder (in this case, named menuCreator.py):
import os
import nuke
def build_menus():
nuke_menu_bar = nuke.menu('Nuke')
nuke_menu_bar.addMenu('Links')
links = MenuCreator()
nuke_menu_bar.addCommand('Links/Shot Page', links.openShotPage)
class MenuCreator(object):
def __init__(self):
"""
Configuration for MenuCreator:
"""
self.shotsub_url = "http://www.google.com"
def _open_web_page(self, url):
import webbrowser
webbrowser.open(url)
def openShotPage(self):
url = self.shotsub_url.format()
self._open_web_page(url)
2) Then add the following snippet to your menu.py
import menuCreator
menuCreator.build_menus()
3) Launch Nuke.
4) Click "Links/Shots page" - this will open a web browser tab.
5) Exit Nuke and observe for a Crash Reporter dialog prompt.
Expected behavior
The software should exit without displaying the Crash Reporter prompt.
Actual behavior
The Crash Reporter dialog is given after exiting Nuke.
Workaround
There is no available workaround at this time.
Reproduced by Support in:
Nuke 12.2v3 - Windows 10, CentOS 7
Nuke 12.2v1 - Windows 10
Nuke 12.1v1 - Windows 10
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10, CentOS 7
Unable to reproduce bug in:
Nuke 10.5v8 - Windows 10, CentOS 7
Earliest version tested
Nuke 10.5v8 - This issue doesn't appear in this version and has regressed
We're sorry to hear that
Please tell us why