Annonce

Réduire
Aucune annonce.

Ortho4 XP 1.30 sur mac osx?

Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • #1
    Envoyé par Ypsos Voir le message
    supprimer Python 3,12

    re-installé Python 3.10 avec la procédure a Jojo plus la commande : filename_fix_macOs.py

    message d'erreur dans le terminal


    from pyproj._network import ( # noqa: F401 pylint: disable=unused-import

    ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
    ​

    question

    ceux qui ont un Mac M2 ou M1 Sonoma

    Ils utilisent qu'elle version de Python ( sans passer par rosetta)

    filename_fix_macOs.py n'est pas une commande, c'est un fichier en code python

    il faut faire appel à l'exécutable python pour lancer le fichier, d'où :

    python3 filename_fix_macOs.py
    Mac Flight1 : X-Plane 12.4.4-b1 - macOS Sequoia 15.8
    iMac 27" - i9-9900K - 32 Go - SSD 1 To
    AMD Radeon Pro Vega 48 8 Go

    SSD externe 4 To (Orthophotos)
    8BitDo SN30 Pro v2 - Winwing FCU+EFIS-L
    Mac Flight2 : X-Plane 12.4.4-b1 - macOS Golden Gate 27.0
    MBP 16" - M3 Max 16/40 - 48 Go - SSD 512 Go
    8BitDo SN30 Pro v2

    Hangar LFFA : A20N-A321-A339-A346-A359
    B748-B767-B777-EPIC-EVOT

    Commentaire


    • #1
      si j'utilise la commande

      python3 filename_fix_macOs.py​

      j'ai ceci comme résultat dans le terminal

      Ypsos:~ rl$ cd /Volumes/SSD/Jeux-12/Outil\ scenes/Ortho4XP-master

      Ypsos:Ortho4XP-master rl$ python3 filename_fix_macOs.py

      Traceback (most recent call last):

      File "/Volumes/SSD/Jeux-12/Outil scenes/Ortho4XP-master/filename_fix_macOs.py", line 26, in <module>

      os.rename("./Utils/moulinette.app","./Utils/moulinette")

      FileNotFoundError: [Errno 2] No such file or directory: './Utils/moulinette.app' -> './Utils/moulinette'

      ​

      dans Ortho le dossier Utils je n'ai que

      moulinetteLin
      moulinette.exe

      pas de

      moulinette.app


      j'ai rechargé et reinstallé Ortho. Toujours pas de moulinette.app

      Zut mon para foudre attire Bug fonctionne à fond. Il n'y a que moi qui déterre les trucs qui ne sont pas signalé chez les autres GRRRR

      Bon Morty tu as un fichier moulinette.app dans Ortho/Utils?
      Multijoueur :xPlane Pilote Controle
      Mac Studio M2 Max 96 Go SSD 2To
      1 SSD externe 4To,
      2 Serveurs 2DD x 4 To Archivage
      1 Serveur 2DD x 8 To téléchargement
      1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
      Tahoe
      x-Plane12
      Ipad
      Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
      -Le post accompagnement sur xPlane.fr
      -Le site dédié aux débutants
      -Les vidéos
      - Zone téléchargement

      Commentaire


      • #1
        J'avance

        Par glisser filename_fix_macOs.py​-déposer dans le terminal j'ai un message d'erreur différent.

        Comme Morty explique il manque l'ordre d'aller chercher python3

        J'ouvre filename_fix_macOs.py​ dans un éditeur de texte et colle en première ligne la recommandation de Jojo .. Pour mémoire ajouter la commande #!/usr/bin/env python3

        Cet ordre manquait ce qui explique que j'avais un résultat différent entre les deux procédures expliquées ci-dessus.

        maintenant avec cette ligne ajoutée dans le fichier filename_fix_macOs.py​​, j'ai le mêmeerésultat par glisser/déposer qu'avec la commande
        python3 filename_fix_macOs.py​

        pour le fichier moulinette
        ou le terminal demande

        os.rename("./Utils/moulinette.app","./Utils/moulinette")

        FileNotFoundError: [Errno 2] No such file or directory: './Utils/moulinette.app' -> './Utils/moulinette'

        ​​

        effectivement le dossier Ortho master.zip il manque moulinette.app

        je l'ai téléchargé par ici
        A scenery generator for the X-Plane flight simulator - File not found · oscarpilote/Ortho4XP



        j'ai relancé filename_fix_macOs.py​​​ et il y avait d'autres fichiers qui manquaient dans l'archive zip d'ortho4XP

        nvcompress.app
        DSFTool.app
        Triangle.app

        j'ai téléchargé, installé et modifié leur nom à la main.

        je ne peux toujours pas lancer ORTHO4XP pour les raisons suivantes:



        ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
        ​

        Il existe pour ces erreurs, une solution pour architecture M1 et M2 arm64?

        On verra demain après tout ce ménage
        Multijoueur :xPlane Pilote Controle
        Mac Studio M2 Max 96 Go SSD 2To
        1 SSD externe 4To,
        2 Serveurs 2DD x 4 To Archivage
        1 Serveur 2DD x 8 To téléchargement
        1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
        Tahoe
        x-Plane12
        Ipad
        Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
        -Le post accompagnement sur xPlane.fr
        -Le site dédié aux débutants
        -Les vidéos
        - Zone téléchargement

        Commentaire


        • #1
          Envoyé par Ypsos Voir le message
          .../...
          Bon Morty tu as un fichier moulinette.app dans Ortho/Utils?
          .../...
          Oui j'ai de la "moulinette" chez moi, dans le sous-dossier /Utils :

          Cliquez sur l'image pour la voir en taille réelle 

Nom : 		Capture d’écran 2023-12-21 à 00.57.45.jpg 
Affichages :	162 
Taille :		115,1 Ko 
ID : 			529411


          Fichiers attachés
          Mac Flight1 : X-Plane 12.4.4-b1 - macOS Sequoia 15.8
          iMac 27" - i9-9900K - 32 Go - SSD 1 To
          AMD Radeon Pro Vega 48 8 Go

          SSD externe 4 To (Orthophotos)
          8BitDo SN30 Pro v2 - Winwing FCU+EFIS-L
          Mac Flight2 : X-Plane 12.4.4-b1 - macOS Golden Gate 27.0
          MBP 16" - M3 Max 16/40 - 48 Go - SSD 512 Go
          8BitDo SN30 Pro v2

          Hangar LFFA : A20N-A321-A339-A346-A359
          B748-B767-B777-EPIC-EVOT

          Commentaire


          • #1
            merci Morty

            J'ai re-téléchargé l'archive ORTHO

            moulinette .app
            nvcompress.app
            DSFTool.app
            Triangle.app​

            Ils y sont bien présents.

            Pourquoi alors chez moi ils étaient absents?

            Mauvais décompactage?

            Ou alors un truc dans les ordres (ligne) dans le fichier filename_fix_macOs.py​?

            Je continue à ouvrir le champs d'analyse.
            Comme le montre la copie d'écran, pour les 4 fichiers, il n'y a pas .app après le nom( copie d'écran d'une nouvelle version ORTHO re-téléchargée et re-décompreseée pour vérifier.)

            Ceci est normal puisque j'ai désactivé l'option "afficher extension".


            Cliquez sur l'image pour la voir en taille réelle   Nom : 		Capture dâécran.png  Affichages :	0  Taille :		23,5 Ko  ID : 			529413​

            Or, en utilisant "lire les informations" l'extension est bien en .app

            Je me dis que le fichier filename_fix_macOs.py​​ cherche les fichiers qui se termine dans leur nom avec .app . ( dixit les fichiers pour linux et windows)

            J'en déduits que ce fichier filename_fix_macOs.py​​​ ne sait pas lire les extension et les identifier d'ou ses messages d'erreurs et il réalise un travail imparfait pour
            moulinette
            nvcompress
            DSFTool​
            Triangle
            ​​
            Je teste en ajoutant.app après le nom des fichiers ce qui donne:
            moulinette .app
            nvcompress.app
            DSFTool.app
            Triangle.app​
            ​
            Bingo ce coup le travail de filename_fix_macOs.py​​​​ est plus propre

            il me reste à trouver une solution au problème ci-dessous en attendant le prochain. ( il me semble que je fais le ménage tout azimut actuellement)

            mportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyproj/_network.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
            ​
            ​
            Multijoueur :xPlane Pilote Controle
            Mac Studio M2 Max 96 Go SSD 2To
            1 SSD externe 4To,
            2 Serveurs 2DD x 4 To Archivage
            1 Serveur 2DD x 8 To téléchargement
            1 Ecran LG 37,5 pouces HDR WQHD+2 écrans Samsung
            Tahoe
            x-Plane12
            Ipad
            Hotas Warthog, Palonnier T.Flight, Touch MIni, TCA quadrant Airbus Edition
            -Le post accompagnement sur xPlane.fr
            -Le site dédié aux débutants
            -Les vidéos
            - Zone téléchargement

            Commentaire

            Chargement...
            X