-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cura 2.5 wont start on OSX 10.8.5 #1767
Comments
This is usually because of firewalls / virus scanners blocking local connections. |
Thank you for your suggestion. I didn't install a Firewall and as far as I know, there is no one out of the box in OSX 10.8.5. Toby |
Perhaps it isn't finding the back-end properly, even? You can set the location of the back-end by modifying your configuration file for Cura under /Library/Application Support/cura/cura.cfg. You'll want to add something like this:
This shouldn't do anything normally, but perhaps it helps if the engine can't be found. |
Hi Ghostkeeper I tried to use the configuration setting. No effect. To make sure that the file was read and used I started cura with dtruss (similar to truss/strace/..). AFAIK you have to be root to use dtruss. I found out that after the first start of Cura $HOME/Library/Application Support/cura/cura.cfg is created and read. So I added the configuration setting as well to the cfg in ~/Library/... read(0x6, ".....[backend]\nlocation = /Applications/Cura.app/Contents/MacOS/CuraEngine\n\n[gcoderead", 0x2000) = 269 0 Could you briefly describe in which order is
From my findings so far I would expect that Cura
I think the error is indeed related to the bind. In the dtruss log are several sockets created and used. When Cura is stuck in the infinite loop, I see 3 consecutive lines: socket(0x2, 0x1, 0x0) = 20 0 Please don't get confused, the resulting file descriptor is in decimal, for the bind it's in hex. #0 0x00007fff8d90f9dc in bind () I think I have to search somewhere in the python part. I will continue digging, if you have an idea where to start, please let me know. Toby |
Hi again Toby |
Tada, I got it working. I could slice a model and write a gcode file.
there an is iteration through the list of selected files:
This throws an error because fileUrls is empty regardless if I select one or multiple files. I would be very grateful if someone could give me advise how to get the selected file list. I tried to use pprint of python to inspect/dump the dialog instance. Qt doesn't like the import statement. Or is the problem in the parent class Dialog.qml? Toby |
In the
somewhere. Then open Cura from the command line and see if that shows up anywhere, and if there is anything in the original fileUrls gotten from Qt. Perhaps do the same but with |
Thank you for reading.
and got: qml: ======================= fileUrls So both are empty. Toby |
Well, that I'm at a bit of a loss. One thing that could be tried is to switch the type of dialogue. Qt offers a bunch of variants: Modal, not modal, multi-file, single-file, folder based, etc. The way they work is unfortunately very platform-dependent. I don't know how to start debugging that however. Iteration speed is very slow if we have to go via you every time. |
Hello, |
Is there anything in your log file? |
Due to non-reproducibility and needing info for more than a year, this deserves to be closed. |
Hi
I downloaded and tried to start version 2.5 - nothing happens
I started /Applications/Cura.app/Contents/MacOS/cura from command line.
This starts and I get a lot of debug. In the end the GUI appears but in the terminal I see an infinite loop:
2017-05-01 12:29:55,441 - DEBUG - UM.Backend.Backend._onSocketError [194]: Socket was unable to bind to port, increasing port number to 50811
2017-05-01 12:29:55,545 - DEBUG - UM.Backend.Backend._createSocket [209]: Previous socket existed. Closing that first.
2017-05-01 12:29:55,550 - DEBUG - CuraEngineBackend.CuraEngineBackend._terminate [223]: Attempting to kill the engine process
2017-05-01 12:29:55,554 - DEBUG - UM.Backend.Backend._createSocket [209]: Previous socket existed. Closing that first.
2017-05-01 12:29:55,565 - DEBUG - UM.Backend.Backend._onSocketError [194]: Socket was unable to bind to port, increasing port number to 50812
You see the port number increasing on every iteration.
I can start the CuraEngine from command line:
/Applications/Cura.app/Contents/MacOS/CuraEngine slice -j /Applications/Cura.app/Contents/Resources/resources/definitions/ultimaker2.def.json -l test.stl
Any ideas why Cura can't start or connect the engine?
Thanks,
Toby
The text was updated successfully, but these errors were encountered: