Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   macOS Monterey 12.31, PAServer und Python (https://www.delphipraxis.net/210527-macos-monterey-12-31-paserver-und-python.html)

Harry Stahl 6. Mai 2022 15:19

macOS Monterey 12.31, PAServer und Python
 
Seit macOS 12.3.1 muss wohl irgendwas an der python installation geändert werden.
Im Zusammenhang mit dem letzten Patch für Delphi 11 kann man in der Anleitung lesen:

1. Download Python 2.7 from the link below and install it

https://www.python.org/ftp/python/2....macosx10.9.pkg

2. Update the PAServer Python to use the Python 2.7 installed in step 1
- cd /Applications/PAServer-22.0.app/Contents/MacOS/lldb-x86_64/lib/python2.7
- sudo mv Python Python.orig
- sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/Python Python

Beim 2. Spiegelstrich kriege ich die Fehlermeldung "No such file or directory"

Wenn ich danach (auch Ausführung des 3. Spiegelstrichs) den PAServer neu starte erhalte ich:

EIdCouldNotBindSocket: Socket konnte nicht gebunden werden.
logout

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Prozess beendet]

und nichts geht mehr...

Hat das jemand von Euch erfolgreich hinbekommen?

MEissing 6. Mai 2022 15:25

AW: macOS Monterey 12.31, PAServer und Python
 
Zitat:

Zitat von Harry Stahl (Beitrag 1505534)
Hat das jemand von Euch erfolgreich hinbekommen?

Ja.

Welche Version vom PAServer ist denn installiert?
Es muss
Code:
Platform Assistant Server Version 13.1.11.0
sein

Code:
meissing@MacBookProTB MacOS % pwd
/Applications/PAServer-22.0.app/Contents/MacOS
meissing@MacBookProTB MacOS % ls -l paserver
-rwxr-xr-x 1 root wheel 26053552 12 Apr 02:31 paserver
meissing@MacBookProTB MacOS %

Fritzew 6. Mai 2022 15:32

AW: macOS Monterey 12.31, PAServer und Python
 
Hat bei mir anhand der Anleitung für den Patch problemlos funktioniert.
Der Debuger funktioniert jetzt.

Harry Stahl 6. Mai 2022 15:39

AW: macOS Monterey 12.31, PAServer und Python
 
OK, da ist noch die alte PAServer-Version (13.1.10.9) drauf, werde ich also gleich mit der neuen versuchen.

Funktioniert diese neue PAServer-Version auch auf einem Mac mit Monterey 12.01 (habe immer zur Sicherheit auf einem anderen MAC noch ältere OS installiert)?

Harry Stahl 6. Mai 2022 15:56

AW: macOS Monterey 12.31, PAServer und Python
 
OK, jetzt funktioniert es.


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:22 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz