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

example does not work out of the box #35

Open
demarco88 opened this issue Jun 30, 2023 · 5 comments
Open

example does not work out of the box #35

demarco88 opened this issue Jun 30, 2023 · 5 comments
Assignees

Comments

@demarco88
Copy link

Hallo.
Leider funktioniert das Beispielsprogramm bei mir nicht "out of the box":
Reproduktion:

File "C:\Users\___________\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\app_transport_framework_library\models\bundle_content.py", line 4, in <module>
    from service_identifier import ServiceIdentifier
ModuleNotFoundError: No module named 'service_identifier'

mistake by me?
thx

@SvenSommer
Copy link
Contributor

Hallo @demarco88 ,
kannst du bitte probieren die requirements.txt unter dem poc-ordner mit

pip install -r requirements.txt

zu installieren?

@SvenSommer
Copy link
Contributor

SvenSommer commented Jun 30, 2023

Moment, Korrektur: Der Hinweis bezog sich auf den POC zu https://github.com/gematik/spec-E-Rezept-ServiceRequest/tree/feature/poc/poc einem Projekt das das app-transport-framework einbindet.

Das Beispiel des app-transport-framework sollte local (ohne installation des packages über pip) funktionieren. Ich schaue es mir heute Abend an und melde mich.

@demarco88
Copy link
Author

Super thx! Ist aber wirklich nicht dringend....bin mich gerade erst am Einarbeiten. Evtl. könnte ich auch noch einige Verbesserungsvorschläge/Bedenken an der Spezifikation des ATFs haben ;-)

@SvenSommer
Copy link
Contributor

SvenSommer commented Jun 30, 2023

könnte ich auch noch einige Verbesserungsvorschläge/Bedenken an der Spezifikation des ATFs haben

Sehr gerne. Diese können gerne in Form von Issues oder auch Pull-Requests hier in Github gegeben werden.

Bzgl. der Lauffähigkeit des Examples bitte nochmal die letzte Version von main pullen und erneut mit
`python example.py' starten.
Erwartete Ausgabe:

Sending Test-Message with message_id '9afc26f4-3635-4dbe-82ec-9ab869361cb8'
nachricht versendet
'client1@gematik.kim.de' received Empfangsbestaetigung for '9afc26f4-3635-4dbe-82ec-9ab869361cb8' from 'client2@gematik.kim.de'
{
    "code": "informational",
    "diagnostics": "Anfrage erfolgreich entgegengenommen",
    "severity": "information"
}
Processing Bundle with focus on 'Selbsttest;Lieferung'
Bundle contains 1 entries
Communication holds payload 'Selbsttest abschliessen. Bitte klaren Sie die Testergebnisse ab.'

@demarco88
Copy link
Author

Leider immer noch "ModuleNotFoundError: No module named 'service_identifier'"
Folgende Vorgehensweise:

  • Repo komplett neu geclont
  • Aufruf example.py --> ModuleNotFoundError: No module named 'service_identifier'
  • pip uninstall app-transport-framework-library
  • Aufruf example.py: ModuleNotFoundError --> ModuleNotFoundError: No module named 'app_transport_framework_library'
  • pip install -r requirements.txt
  • Aufruf example.py: ModuleNotFoundError --> No module named 'service_identifier'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants