I am not able to select directories with my DirectoryEditor when opening the file exploring portal by clicking the folder symbol in the simple style. To be precise, my <traitsui.qt4.directory_editor.SimpleEditor object at 0x7fcec91d5470> has a dlg of <PySide2.QtWidgets.QFileDialog(0x560ebf36fa20) at 0x7fcec9170eb0> that I think is being used to explore files.
Another issue that I am having (potentially related) is that when I select files with this or the FileEditor, the paths that get saved to the text field are in user/run/.../fileSelectedName rather than their original directories. I include this here in case it provides insight.
context: I am upgrading an old project from python 2 to python 3
The highlight reel for my env is that I have pyside2 version 5.15.2, traits 6.2, traitsui 7.2, pyface 7.3 installed
And at the top of my scripts I do the following:
if Py3:
os.environ['QT_API'] = 'pyside2'
ETSConfig.toolkit = 'qt'
I am not able to select directories with my DirectoryEditor when opening the file exploring portal by clicking the folder symbol in the simple style. To be precise, my <traitsui.qt4.directory_editor.SimpleEditor object at 0x7fcec91d5470> has a dlg of <PySide2.QtWidgets.QFileDialog(0x560ebf36fa20) at 0x7fcec9170eb0> that I think is being used to explore files.
Another issue that I am having (potentially related) is that when I select files with this or the FileEditor, the paths that get saved to the text field are in user/run/.../fileSelectedName rather than their original directories. I include this here in case it provides insight.
context: I am upgrading an old project from python 2 to python 3
The highlight reel for my env is that I have pyside2 version 5.15.2, traits 6.2, traitsui 7.2, pyface 7.3 installed
And at the top of my scripts I do the following:
My conda list provides the following env: