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

App can't open now (was working before) #1341

Open
LouveK opened this issue Nov 20, 2024 · 3 comments
Open

App can't open now (was working before) #1341

LouveK opened this issue Nov 20, 2024 · 3 comments

Comments

@LouveK
Copy link

LouveK commented Nov 20, 2024

Hey, using Mac OS here. I had install manuskript six months ago, everything was fine. Today I try to open the app and it's just not possible anymore. The icon is like jumping 10 time on my desktop and then close. Telling me I need an update but I have the latest version of manuskript and the latest OS. Ofc I already try to restart my computer. I don't know what to do and I am a bit scared because I have no backup of what I wrote in the app..

@TheJackiMonster
Copy link
Collaborator

Nothing should have changed.

I assume we would need logs to be sure what's going on. Unfortunately I'm not quite sure where these are stored on macOS. Maybe some other user with that system can help. Since it's possible to open the folder with log files from the main menu in Manuskript under "Help".

Another option would be starting Manuskript from terminal to have potential error output printed out to it.

@nibblersghost
Copy link

nibblersghost commented Nov 24, 2024

So, I run Manuskript from source since the compiled one doesn't have spell check. I've found that when I update macOS, the developer tools--command line tools, get updated too. You have a choice if you want to update those or not.

When I update those, I get all kinds of errors the first few times I launch Manuskript. Then I just update Homebrew, remove the clutter, as it were--auto clean, then I run Manuskript again. Then it runs with no errors. But every once and a while, an error would pop up. But then I just relaunch, and no problems.

I don't know if it's related to your problem, but do you have the X-Code developer tools installed? Do you have Homebrew installed? Maybe update those, then remove the Manuskript files from Library->Application Support after you've uninstalled Manuskript, then install it again and see what happens. Your files won't disappear, they'll be fine, just back them up first.

I'm not too good with code and stuff, but I can test things if someone needs me to--I'd love to get spell check working for the compiled one. But someone will have to guide me. I'd really like to get involved with this, since I don't want Manuskript to go anywhere--every eyeball helps. I have a little bit of time every few days or so.

I'm on an M1 Mac Mini running Sequoia 15.1.1. I run Manuskript from source like I said, but I have the compiled one installed too. I know more or less where the directories are, and how to use the terminal.

Another option would be starting Manuskript from terminal to have potential error output printed out to it.

I can do that the next time I have an issue, but this is the one from this morning:

Fatal Python error: Segmentation fault

Current thread 0x00000001e67ef840 (most recent call first):
  File "/Users/jack/Library/Python/3.13/lib/python/site-packages/enchant/__init__.py", line 283 in _request_dict_data
  File "/Users/jack/Library/Python/3.13/lib/python/site-packages/enchant/__init__.py", line 549 in _init_this
  File "/Users/jack/Library/Python/3.13/lib/python/site-packages/enchant/__init__.py", line 144 in __init__
  File "/Users/jack/Library/Python/3.13/lib/python/site-packages/enchant/__init__.py", line 542 in __init__
  File "/Users/jack/Library/Python/3.13/lib/python/site-packages/enchant/__init__.py", line 781 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/functions/spellchecker.py", line 287 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/functions/spellchecker.py", line 123 in getDictionary
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/ui/views/textEditView.py", line 87 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/ui/views/MDEditView.py", line 30 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/ui/views/MDEditCompleter.py", line 17 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/ui/mainWindow.py", line 174 in setupUi
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/mainWindow.py", line 66 in __init__
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/main.py", line 179 in prepare
  File "/Users/jack/Apps/Manuskript/manuskript/bin/../manuskript/main.py", line 308 in run
  File "/Users/jack/Apps/Manuskript/manuskript/bin/manuskript", line 13 in <module>

Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, PyQt5.QtNetwork, PyQt5.QtXmlPatterns, PyQt5.QtXml, PyQt5.QtWebSockets, PyQt5.QtWebChannel, PyQt5.QtTextToSpeech, PyQt5.QtTest, PyQt5.QtSvg, PyQt5.QtSql, PyQt5.QtSerialPort, PyQt5.QtSensors, PyQt5.QtRemoteObjects, PyQt5.QtQml, PyQt5.QtQuick, PyQt5.QtQuickWidgets, PyQt5.QtQuick3D, PyQt5.QtPrintSupport, PyQt5.QtPositioning, PyQt5.QtLocation, PyQt5.QtOpenGL, PyQt5.QtNfc, PyQt5.QtMultimedia, PyQt5.QtMultimediaWidgets, PyQt5.QtMacExtras, PyQt5.QtHelp, PyQt5.QtDesigner, PyQt5.QtDBus, PyQt5.QtBluetooth, lxml._elementpath, lxml.etree (total: 33)
zsh: segmentation fault  /Users/jack/Apps/Manuskript/manuskript/bin/manuskript

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...      20 completed.

[Process completed]

@TheJackiMonster
Copy link
Collaborator

@nibblersghost The stacktrace you posted suggests an issue in the enchant Python package rather than inside Manuskript. So that is likely an issue that updating via homebrew might solve eventually.

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

3 participants