--- a/ExtensionProtobuf/ProjectProtocolsBrowser.py Mon Dec 12 16:55:58 2022 +0100 +++ b/ExtensionProtobuf/ProjectProtocolsBrowser.py Tue Dec 20 15:01:13 2022 +0100 @@ -16,7 +16,7 @@ from PyQt6.QtCore import QProcess, QThread, pyqtSignal from PyQt6.QtWidgets import QApplication, QDialog, QMenu -from eric7 import Globals, Preferences, Utilities +from eric7 import Preferences from eric7.EricGui import EricPixmapCache from eric7.EricWidgets import EricMessageBox from eric7.EricWidgets.EricApplication import ericApp @@ -29,6 +29,7 @@ ProjectBrowserSimpleDirectoryItem, ) from eric7.Project.ProjectBrowserRepositoryItem import ProjectBrowserRepositoryItem +from eric7.SystemUtilities import FileSystemUtilities, OSUtilities, PythonUtilities from eric7.UI.BrowserModel import ( BrowserClassAttributeItem, BrowserClassItem, @@ -600,13 +601,13 @@ env = self.__plugin.getPreferences("grpcPythonEnv") exe = ericApp().getObject("VirtualEnvManager").getVirtualenvInterpreter(env) if not exe: - exe = Globals.getPythonExecutable() + exe = PythonUtilities.getPythonExecutable() exeArgs = ["-m", "grpc_tools.protoc"] else: exe = self.__plugin.getPreferences("protoc") if exe == "": - exe = "protoc.exe" if Utilities.isWindowsPlatform() else "protoc" - if not Utilities.isinpath(exe): + exe = "protoc.exe" if OSUtilities.isWindowsPlatform() else "protoc" + if not FileSystemUtilities.isinpath(exe): exe = None return exe, exeArgs