question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filechooser doesn't work on Mac

See original GitHub issue

When trying to use plyers filechooser:

import plyer as pl
path=pl.filechooser.open_file()
I get the following error:
  File "/Users/user/Documents/GitHub/PigBrain/loader.py", line 24, in load_mat_file
    path=pl.filechooser.open_file()

  File "/Users/user/opt/anaconda3/lib/python3.8/site-packages/plyer/facades/filechooser.py", line 50, in open_file
    return self._file_selection_dialog(mode="open", *args, **kwargs)

  File "/Users/user/opt/anaconda3/lib/python3.8/site-packages/plyer/facades/filechooser.py", line 70, in _file_selection_dialog
    raise NotImplementedError()

NotImplementedError

Using macosx Python 3.8.8

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
fluekycommented, Jun 23, 2022

I fixed this error, we need to pip install pyobjus.

0reactions
NomadDemoncommented, Jun 23, 2022

Afaik, someone is working with including pyobjus on mac instalations

Read more comments on GitHub >

github_iconTop Results From Across the Web

JFileChooser on Mac doesn't return Files - Stack Overflow
I try to use JFileChooser to get a File array which can contain files of .png or .svg data type. Besides that sometimes...
Read more >
JFileChooser problem on MAC OS - Oracle Communities
In JavaFX UI on click of Browse button, I am using JFileChooser to open the file system.
Read more >
[macos 10.15] FileChooser does not work on macOS Catalina
ADDITIONAL SYSTEM INFORMATION : macOS Catalina (10.15 Beta), JDK 1.8, 9, 11. A DESCRIPTION OF THE PROBLEM : component does not work and...
Read more >
The ide.mac.file.chooser.native=true feature does not work ...
The ide.mac.file.chooser.native=true feature does not work any more. ... Though I have this setting to 'true' as was the default, iirc, I don't...
Read more >
Java JFileChooser drag n drop (dnd) does not work on the Mac
It seems that the inability to drag files out of a file-chooser isn't just Java. You may have to rethink your strategy. EDIT:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found