Open dhmartinj23 opened 3 years ago
Kivy's file chooser is working fine for me.
Assuming it comes from the failing import shown at the beginning of your traceback:
ImportError: DLL load failed: The specified procedure could not be found.
Looks like the win32api package is not properly installed in your python environment.
More help you get here by providing infos on your system/versions and a minimal running example demonstrating your problem
Am Mi., 20. Jan. 2021 um 11:26 Uhr schrieb dhmartinj23 < notifications@github.com>:
While executing filechooser action in KIVY app. It got closed with "NotImplementedError".
Logs Traceback (most recent call last): File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\utils.py", line 93, in ensure_obj mod = import(module, fromlist='.') File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\platforms\win\filechooser.py", line 7, in from win32com.shell.shell import ( File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\win32com_init.py", line 5, in import win32api, sys, os ImportError: DLL load failed: The specified procedure could not be found. [INFO ] [Base ] Leaving application in progress... Traceback (most recent call last): File "main.py", line 88, in MainApp().run() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\app.py", line 855, in run runTouchApp() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 504, in runTouchApp EventLoop.window.mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 747, in mainloop self._mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 479, in _mainloop EventLoop.idle() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 339, in idle Clock.tick() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\clock.py", line 591, in tick self._process_events() File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick File "E:\Python\PythonModules\GUI\KivyApps\KivyMD-Project-Creator-main\libs\uix\baseclass\get_details_screen.py", line 238, in _open_file_chooser filechooser.choose_dir(on_selection=self.on_path_selection) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 65, in choose_dir return self._file_selection_dialog(mode="dir", *args, **kwargs) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 70, in _file_selection_dialog raise NotImplementedError() NotImplementedError
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kivy/plyer/issues/602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4U63TDGWV4ECCMCZYIHKDS224VPANCNFSM4WKQZFYA .
Kivy's file chooser is working fine for me. Assuming it comes from the failing import shown at the beginning of your traceback: ImportError: DLL load failed: The specified procedure could not be found. Looks like the win32api package is not properly installed in your python environment. More help you get here by providing infos on your system/versions and a minimal running example demonstrating your problem Am Mi., 20. Jan. 2021 um 11:26 Uhr schrieb dhmartinj23 < notifications@github.com>: … While executing filechooser action in KIVY app. It got closed with "NotImplementedError". Logs Traceback (most recent call last): File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\utils.py", line 93, in ensure_obj mod = import(module, fromlist='.') File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\platforms\win\filechooser.py", line 7, in from win32com.shell.shell import ( File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\win32com_init.py", line 5, in import win32api, sys, os ImportError: DLL load failed: The specified procedure could not be found. [INFO ] [Base ] Leaving application in progress... Traceback (most recent call last): File "main.py", line 88, in MainApp().run() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\app.py", line 855, in run runTouchApp() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 504, in runTouchApp EventLoop.window.mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 747, in mainloop self._mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 479, in _mainloop EventLoop.idle() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 339, in idle Clock.tick() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\clock.py", line 591, in tick self._process_events() File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick File "E:\Python\PythonModules\GUI\KivyApps\KivyMD-Project-Creator-main\libs\uix\baseclass\get_details_screen.py", line 238, in _open_file_chooser filechooser.choose_dir(on_selection=self.on_path_selection) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 65, in choose_dir return self._file_selection_dialog(mode="dir", *args, **kwargs) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 70, in _file_selection_dialog raise NotImplementedError() NotImplementedError — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#602>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4U63TDGWV4ECCMCZYIHKDS224VPANCNFSM4WKQZFYA .
Thanks,
i reinstalled the win32api. but issue still persists.
Win 10 Python 3.7 win32api 300
I am facing the same issue... It is working fine in Windows but not on Mac
Consider install the pywin32 and pypiwin32 to solve conflicts with Windows.
While executing filechooser action in KIVY app. It got closed with "NotImplementedError".
Logs Traceback (most recent call last): File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\utils.py", line 93, in ensure_obj mod = import(module, fromlist='.') File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\platforms\win\filechooser.py", line 7, in from win32com.shell.shell import ( File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\win32com_init.py", line 5, in import win32api, sys, os ImportError: DLL load failed: The specified procedure could not be found. [INFO ] [Base ] Leaving application in progress... Traceback (most recent call last): File "main.py", line 88, in MainApp().run() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\app.py", line 855, in run runTouchApp() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 504, in runTouchApp EventLoop.window.mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 747, in mainloop self._mainloop() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 479, in _mainloop EventLoop.idle() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\base.py", line 339, in idle Clock.tick() File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\kivy\clock.py", line 591, in tick self._process_events() File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick File "E:\Python\PythonModules\GUI\KivyApps\KivyMD-Project-Creator-main\libs\uix\baseclass\get_details_screen.py", line 238, in _open_file_chooser filechooser.choose_dir(on_selection=self.on_path_selection) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 65, in choose_dir return self._file_selection_dialog(mode="dir", *args, **kwargs) File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\plyer\facades\filechooser.py", line 70, in _file_selection_dialog raise NotImplementedError() NotImplementedError