-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Spyder fails to launch on MacOS with case-sensitive root volume #23415
Comments
@iamaiy, I'm looking into your issue right now.
|
I confirm that I install it for all users (I have tried it as "only for me", no difference). If I run the suggested command line it still crashes. If I launch with the shortcut it crashes at "Loading Find" I run it like this in a terminal from my home directory: |
It really is the path to QTWebengine. If I rename Spyder starts as it should. Best regards, |
@iamaiy, perhaps I've misunderstood, but did you format your drive partition to be case-_in_sensitive? All macOS partitions are case-sensitive by default. Your resources directory should be I really don't know what could be causing this issue for Qt WebEngine.
|
I tested on my M1 iMac as well and was unable to reproduce the problem. |
@iamaiy, do you have a |
@mrclary, I don't think I have a environment variable set, unless that gets done by the installer? In my OSX disk utility, the APFS volume is stated to be case-sensitive, encrypted (encryption should not matter), like this screenshot: The screenshot is from this forum thread: so it seems even the big boys (Adobe in this case) aren't immune to this issue Best regards, |
@iamaiy, okay, I see. I must not understand "case-sensitive" then. My computer only shows "Encrypted", not "Case-sensitive, Encrypted". Unfortunately, I don't have a convenient way to test this use case. This appears to be an issue that only https://github.com/qt or https://github.com/qt/qtwebengine can resolve. Fortunately, for now, it seems that you have a work-around by changing the |
@mrclary, what if we add to the installer (in the post install script) a symlink from
to
? I think that should solve the problem. |
@ccordoba12, this may work. @iamaiy, could you test this?
Alternatively, we could just rename the directory to |
Yeah, I tried symlinking, it works.. buuuut.. |
This is why I suggested the alternative to rename the directory to
Symlinking does not cause any issues, either (I did test this). But still recommend just changing the name of the directory. I tested this on my system and there appears to be no side effects. I think this makes sense since the case-insensitive file system is, well, case-insensitive 😄. |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Spyder crashes on launch with a Mac that has a case-sensitive root volume (APFS)
QT Webengine linkage incorrect
What steps reproduce the problem?
What is the expected output? What do you see instead?
The QT webengine resources are installed at
/Library/spyder-6/envs/spyder-runtime/resources
but the linkage points to
/Library/spyder-6/envs/spyder-runtime/Resources
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: