Communauté Edissyum
    • Catégories
    • Non lus
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Admin
    • S'inscrire
    • Se connecter

    Upload pdf via interface web HS

    Planifier Épinglé Verrouillé Déplacé Installation & architecture *(Open-Capture)*
    21 Messages 3 Publieurs 128 Vues
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • V Hors-ligne
      vinz
      dernière édition par

      VM debian 10.6 avec 8 Go de RAM, 4 cores, HDD de 32Go

      Comment puis-je lancer kuyruk à la main ?

      ocapture@vs-ocapture-001:/opt/OpenCaptureForInvoices/bin$ /usr/local/bin/kuyruk -h
      usage: kuyruk [-h] [-v] -a APP {worker,manager} …

      positional arguments:
      {worker,manager} sub-command name
      worker run a worker
      manager see and manage kuyruk workers

      optional arguments:
      -h, --help show this help message and exit
      -v, --version show program’s version number and exit
      -a APP, --app APP path to the Kuyruk object

      1 réponse Dernière réponse Répondre Citer 0
      • V Hors-ligne
        vinz
        dernière édition par

        "Cela viens peux être de là ?

        ocapture@vs-ocapture-001:~$ /usr/local/bin/kuyruk --app bin.src.main.OCforInvoices_worker worker --queue invoices
        Traceback (most recent call last):
        File “”/usr/local/bin/kuyruk"“, line 8, in
        sys.exit(main())
        File “”/usr/local/lib/python3.7/dist-packages/kuyruk/main.py”“, line 68, in main
        app = importer.import_object_str(args.app)
        File “”/usr/local/lib/python3.7/dist-packages/kuyruk/importer.py”“, line 37, in import_object_str
        return import_object(module, obj)
        File “”/usr/local/lib/python3.7/dist-packages/kuyruk/importer.py”“, line 28, in import_object
        module = import_module(module_name)
        File “”/usr/local/lib/python3.7/dist-packages/kuyruk/importer.py”“, line 24, in import_module
        return importlib.import_module(name)
        File “”/usr/lib/python3.7/importlib/init.py”“, line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
        File “””“, line 1006, in _gcd_import
        File “””“, line 983, in _find_and_load
        File “””“, line 953, in _find_and_load_unlocked
        File “””“, line 219, in _call_with_frames_removed
        File “””“, line 1006, in _gcd_import
        File “””“, line 983, in _find_and_load
        File “””“, line 953, in _find_and_load_unlocked
        File “””“, line 219, in _call_with_frames_removed
        File “””“, line 1006, in _gcd_import
        File “””“, line 983, in _find_and_load
        File “””“, line 965, in _find_and_load_unlocked
        ModuleNotFoundError: No module named ‘bin’”

        1 réponse Dernière réponse Répondre Citer 0
        • N Hors-ligne
          nch01
          dernière édition par

          C’est bien la dernière commande qu’il faut lancer. Mais lancez là depuis la racine d’OC : /opt/OpenCaptureForInvoices/

          1 réponse Dernière réponse Répondre Citer 0
          • V Hors-ligne
            vinz
            dernière édition par

            /usr/local/bin/kuyruk –app bin.src.main.OCforInvoices_worker worker –queue invoices

            J’obtiens :

            ocapture@vs-ocapture-001:/opt/OpenCaptureForInvoices$ /usr/local/bin/kuyruk --app bin.src.main.OCforInvoices_worker worker --queue invoices
            Instruction non permise

            1 réponse Dernière réponse Répondre Citer 0
            • N Hors-ligne
              nch01
              dernière édition par

              Vous avez bien suivi le README pour l’install ?

              Je viens de tester l’install sur une 10.6 à l’instant, et aucune erreur 😕

              1 réponse Dernière réponse Répondre Citer 0
              • V Hors-ligne
                vinz
                dernière édition par

                "Avec strace j’obtiens :

                ocapture@vs-ocapture-001:/opt/OpenCaptureForInvoices$ strace /usr/local/bin/kuyruk --app bin.src.main.OCforInvoices_worker worker --queue invoices

                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64/x86_64/libtensorflow_framework.so.2"“, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(”“/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64/x86_64"”, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64/libtensorflow_framework.so.2"“, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(”“/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64"”, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64/libtensorflow_framework.so.2"“, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(”“/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/x86_64"”, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls/libtensorflow_framework.so.2"“, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(”“/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/tls”“, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64/x86_64/libtensorflow_framework.so.2"”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(“”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64/x86_64"“, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64/libtensorflow_framework.so.2"”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(“”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64"“, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64/libtensorflow_framework.so.2"”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                stat(“”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/x86_64"“, 0x7ffeb5f490b0) = -1 ENOENT (Aucun fichier ou dossier de ce type)
                openat(AT_FDCWD, “”/usr/local/lib/python3.7/dist-packages/tensorflow/python/…/…/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow/libtensorflow_framework.so.2"”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (Aucun fichier ou dossier de ce type)"

                1 réponse Dernière réponse Répondre Citer 0
                • N Hors-ligne
                  nch01
                  dernière édition par

                  sudo pip3 install tensorflow vous retourne quoi ?

                  1 réponse Dernière réponse Répondre Citer 0
                  • V Hors-ligne
                    vinz
                    dernière édition par

                    "Requirement already satisfied pour tensorflow et ses dépendance

                    Oui j’ai suivi le readme avec un utilisateur local ““ocapture”” jusqu’à Supplier’s referencial, sans ajouter l’API SIREN/SIRET et sans ajouter de locale a Tesseract.

                    Merci pour votre aide"

                    1 réponse Dernière réponse Répondre Citer 0
                    • V Hors-ligne
                      vinz
                      dernière édition par

                      Je refais une installation et vous posterai les détails

                      1 réponse Dernière réponse Répondre Citer 0
                      • A Hors-ligne
                        alexandre_philis_ebi43_f
                        dernière édition par

                        Bonjour,

                        J’ai la même erreur sur Ubuntu 20.04.

                        Avez vous trouvé la solution?

                        1 réponse Dernière réponse Répondre Citer 0
                        • Premier message
                          Dernier message
                        Ce forum club utilisateur est en cours de construction.