Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X issue : saving a file doesn't work #581

Open
linshankh opened this issue Dec 31, 2018 · 3 comments
Open

Mac OS X issue : saving a file doesn't work #581

linshankh opened this issue Dec 31, 2018 · 3 comments

Comments

@linshankh
Copy link

linshankh commented Dec 31, 2018

I use pyzo for school projects but there is a big issue. I can save no file since I installed Python 3.7. I have no idea if it has anything to do with this problem. However opening files works.
I think I will use IDLE.
My teacher advises me to use Pyzo but what is the added value of Pyzo compared to IDLE?

@almarklein
Copy link
Member

What do you mean with "doesn't work"? It's hard for me to see what's wrong without any further information. Could you open the logger tool (via the tools menu) and try saving the file? Any error messages should appear there and could help determine what's wrong.

A first guess could be that you're trying to save a file that you do not have permission to edit.

@linshankh
Copy link
Author

I was surprised that Pyzo didn't display anything because usually error messages are displayed automatically. Here is the error message:

Python 3.4.6 on darwin - This is the Pyzo logger shell.

Uncaught Python exception: stat: can't specify None for path argument
File "/Applications/pyzo.app/Contents/MacOS/source/pyzo/core/menu.py", line 293, in
a.triggered.connect(lambda b=None, v=value: callback(v))
File "/Applications/pyzo.app/Contents/MacOS/source/pyzo/core/menu.py", line 1318, in _fileAction
getattr(pyzo.editors, action)(item.editor)
File "/Applications/pyzo.app/Contents/MacOS/source/pyzo/core/editorTabs.py", line 1330, in saveFileAs
if not os.path.isdir(startdir):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/genericpath.py", line 42, in isdir

@almarklein
Copy link
Member

almarklein commented Jan 7, 2019

This looks a lot like #578. To work around this, you can either:

  • First safe/open a file normally
  • Open the file browser tool
  • Open the project manager tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants