Allgemeine Wünsche und Fragen

Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

ich kann mich nur wiederholen
jokel hat geschrieben: So 16. Jul 2023, 16:35 hotkeys raus kanalnummer links im verlauf einfügen .. wie in der kanal bzw. transponderliste
eine einheitliche darstellung darum geht es mir
hotkeys im verlauf habe ich noch nie benutzt 0..9 macht für mich keinen sinn wenn der verlauf
20 oder mehr eintragungen beinhaltet .. da bin ich mit up / down schneller am ziel
Benutzeravatar
vanhofen
Administrator
Beiträge: 2934
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 8 times
Been thanked: 16 times

Re: Allgemeine Wünsche und Fragen

Beitrag von vanhofen »

Nur weil du etwas noch nie benutzt hast, heißt das nicht, dass es schlecht ist.

Ich schaue es mir nochmal an. Gestern hatte ich andere Prios.
Benutzeravatar
vanhofen
Administrator
Beiträge: 2934
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 8 times
Been thanked: 16 times

Re: Allgemeine Wünsche und Fragen

Beitrag von vanhofen »

Janus hat geschrieben: Mo 17. Jul 2023, 08:54 Ich biite dabei zu bedenken, dass Anwender mit umfangreichen Empfangsmöglichkeiten mehrfache Sender mit gleichem Namen aber unterschiedlichen Quellen - insbesondere Motorpositionen - haben.
Gutes Argument.
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

vanhofen hat geschrieben: Mo 17. Jul 2023, 10:52 Nur weil du etwas noch nie benutzt hast, heißt das nicht, dass es schlecht ist.

Ich schaue es mir nochmal an. Gestern hatte ich andere Prios.
ich habe nicht geschrieben das die hotkeys schlecht sind .. sondern das sie das erscheinungsbild stören
und anstelle lieber die kanalnummer stehen sollte siehe kanalliste, transponderliste .. die haben auch keine hotkeys
das mit den hotkeys habe ich gestern getestet .. mein zifferblock ist oben .. abends bei dunkelheit muss
ich licht anmachen u. eine daumen akrobatik vollziehen damit ich die richtige taste ansteuern konnte
mit up / down navi brauche ich kein licht u. akrobatik zap.. zap .. meist nutze ich den verlauf als info
und switche meist mit der taste "0"
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

thema .. audio .. frage
es gibt sender die sind laut u. andere sind leiste .. wenn ich die lautstärke mittels der grünen taste
abhebe also von 100% auf 120% und dann umschalte und wieder zurück ist die lautstärke wieder bei 100%
kann es sein das vor einiger zeit was geändert wurde .. den ich bin der meinung das ich jeden sender in der
lautstärke anpassen konnte und der wert beibehalten wurde.
so weit so gut ..
anders verhält es sich wenn ich eine aufnahme abspiele .. den wenn ich den audiowert abhebe von 100% auf 120%
den film stoppe und später wieder starte .. oder eine andere aufnahme abspielen möchte .. habe ich keinen ton
ich muss dann erst die audio anhebung wieder auf 100% stellen um was zu hören

und jetzt die frage .. ist das so gewollt .. oder ist da der wurm drin ?
Benutzeravatar
Janus
NI - VIP
Beiträge: 1147
Registriert: Di 12. Apr 2016, 19:41
Box: HD1, Zee, Neo, Tank, HD51, Duo4K
Been thanked: 1 time

Re: Allgemeine Wünsche und Fragen

Beitrag von Janus »

Das Audio-Handling ist ein Glücksspiel.

Analoge Audio-Feeds haben - beim gleiche Sender - häufig eine andere Basis-Lautstärke als die digitalen Feeds.
Das gilt aber nicht für jedes gesendete Ausgangmaterial. Beim Ausgangsmaterial selbst gibt es darüberhinaus aber noch auch Unterschiede von Sendung zu Sendung.

Das Einzge was einigermaßen "ausgleichend" funktioniert, ist die Abstimmung zwischen analog und digital im Hauptmenü > Einstellungen > Audio > Lautstärkeanpassung pro Kanal. Angefangen habe ich da mit 82% für AC3 und 100% für PCM. Irgendwann hat es wohl mal technische Änderung bei den PlayOuts der Sender gegeben. Jetzt habe ich Beides auf 100 %. Trotzdem muss ich ab und zu manuell lauter oder leiser stellen.

Die senderabhängige Speicherung von Audiofeed und Lautstärke läuft über audio.conf im Zapit-Verzeichnis.
Das ist aber keine "Basis"-Einstellung sondern der Zustand beim Verlassen des Senders. (Zumindestens soweit ich das "höre")
Das arbeitet aber irgendwie´wieder gegen das vorherige Feature.

Über eine "Basis"-Einstellung ist schonmal diskutiert worden. (Bevorzugte Audio-PID und Volume in ubouquets.xml abspeichern)
Aber das ist nicht weiterentwickelt worden. Aber auch danit wäre nicht die eierlegende VolPidSau geschaffen.

In frühen Versionen des CST-NeutrinoHD gab es sogar mal eine interne Soft, die Alles auf die gleiche Lautstärke trimmen sollte.
Das wäre eigentlich die Lösung gewesen. Hat aber nicht funktioniert und ist wieder rausgeflogen.

Scheint, dass wir warten müssen, bis ein Mikro eingebaut ist und die Verbindung zu einem KI-gesteuerten Server (Google, Amazon oÄ) selbständig aufgebaut wird. Die könnten dann natürlich auch viel besser auf Kundenwünsche eingehen...
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

janus .. du meinst sicherlich avl (auto volume leveller) .. ja das wäre klasse
gerade bei werbung nervt es mich das der ton lauter mitunter doppelt so laut ist wie der film selbst
ich habe aber jetzt gesehen das mein tv sowas hat mal sehen .. ob das was bringt.
Benutzeravatar
Janus
NI - VIP
Beiträge: 1147
Registriert: Di 12. Apr 2016, 19:41
Box: HD1, Zee, Neo, Tank, HD51, Duo4K
Been thanked: 1 time

Re: Allgemeine Wünsche und Fragen

Beitrag von Janus »

bei werbung nervt es
Solche Sender sind aus meinen Bouquets weitgehend entfernt. Mein Wunsch für eine Skip-Option in den Bouquets (á la Humax 5400) wurde mir nie erfüllt.
Auf Grund altersbedingtem Hörverlust ist die Basis-Lautstärke hier schon ziemlich kräftig.
Bei dieser Art Werbung würden da die Scheiben rausfliegen. (Alternativ mit Hörgeräten würden die Trommelfelle platzen)

Sollte da tatsächlich mal was Sehenswertes ohne Fremdschäm-Pflicht kommen, wird das nächtens - mit weniger Werbung - aufgenommen und bei der Wiedergabe kommt die "Dreierkette" (3 .. 6 .. 9) zur Anwendung. Upscaling von SD überlasse ich dann meiner Box und dem TV.
War noch nie ein Fan von käuflicher Werbung...
Benutzeravatar
Gorcon
NI - VIP
Beiträge: 2759
Registriert: Mi 13. Apr 2016, 10:55
Box: E2HD, VU+ Uno4kSE, VU+ Ultimate4k
Has thanked: 20 times
Been thanked: 5 times

Re: Allgemeine Wünsche und Fragen

Beitrag von Gorcon »

jokel hat geschrieben: Mo 7. Aug 2023, 12:13 janus .. du meinst sicherlich avl (auto volume leveller) .. ja das wäre klasse
Der hatte damals nie richtig funktioniert. Ich halte davon überhaupt nichts da damit auch die Dynamik im Film geschrottet wird.

Ich habe auch das Gefühl das bei den ÖR die Dynamik bei AC-3 stark eingeschränkt wurde, daher auch der gleiche Pegel wie bei Mp2. (Normal ginge das so nämlich nicht)
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

vanhofen .. da du ja python3 im ni-image eingebaut hast ..
könntest du bitte noch ..

Code: Alles auswählen

python3-lxml
mit aufnehmen .. damit ich die pluto.py im ni-image zum laufen bekomme
Benutzeravatar
vanhofen
Administrator
Beiträge: 2934
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 8 times
Been thanked: 16 times

Re: Allgemeine Wünsche und Fragen

Beitrag von vanhofen »

Geht nicht.

Ich erhalte einen Compile-Fehler:

Code: Alles auswählen

building 'lxml.etree' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
creating build/temp.linux-x86_64-cpython-311/src/lxml
arm-cortex-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/home/vanhofen/ni/buildsystem/host/include -pipe -O2 -g -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -I/home/vanhofen/ni/buildsystem/root/usr/include -pipe -O2 -g -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -I/home/vanhofen/ni/buildsystem/root/usr/include -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/home/vanhofen/ni/buildsystem/root/usr/include/libxml2 -I/home/vanhofen/ni/buildsystem/root/usr/include -Isrc -Isrc/lxml/includes -I/home/vanhofen/ni/buildsystem/host/include/python3.11 -c src/lxml/etree.c -o build/temp.linux-x86_64-cpython-311/src/lxml/etree.o -w
In file included from /home/vanhofen/ni/buildsystem/host/include/python3.11/Python.h:38,
                 from src/lxml/etree.c:96:
/home/vanhofen/ni/buildsystem/host/include/python3.11/pyport.h:601:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  601 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
      |  ^~~~~
src/lxml/etree.c:383:12: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
  383 |     enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
Compile failed: command '/home/vanhofen/ni/buildsystem/host/bin/arm-cortex-linux-gnueabihf-gcc' failed with exit code 1
Den hatte ich schon, als ich versucht hab, python-brotli statt brotli zu benutzen. Ich weiß auch nicht, wie ich den wegbekomme.

Falls du bissel basteln willst, hier mein derzeitiges Target für python-lxml:

Code: Alles auswählen

################################################################################
#
# python-lxml
#
################################################################################

PYTHON_LXML_VERSION = 4.9.3
PYTHON_LXML_DIR = lxml-$(PYTHON_LXML_VERSION)
PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz
PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/30/39/7305428d1c4f28282a4f5bdbef24e0f905d351f34cf351ceb131f5cddf78

PYTHON_LXML_SETUP_TYPE = setuptools

PYTHON_LXML_DEPENDENCIES = libxml2 libxslt zlib

# python-lxml needs these scripts in order to properly detect libxml2 and
# libxslt compiler and linker flags
PYTHON_LXML_BUILD_OPTS = \
	--xslt-config=$(HOST_DIR)/bin/xslt-config \
	--xml2-config=$(HOST_DIR)/bin/xml2-config

python-lxml: $(TARGET_DIR)
	$(call python-package)
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

ich habe nur das gefunden ..
https://lore.kernel.org/buildroot/20240 ... ail.com/T/
https://lxml.de/files/

Code: Alles auswählen

https://files.pythonhosted.org/packages/source/l/lxml/lxml-5.1.0.tar.gz
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

die neuen lxml machen immer beim install über pip probleme .. certificate :open_mouth:
aber wenn ich eine ältere version installieren will auf der box .. sucht es nur nach einem compiler sieht aber gut aus
hier mal ein log mit der version lxml-3.4.4
[+] Spoiler

(venv) [jokel ~]# pip install lxml==3.4.4
Collecting lxml==3.4.4
Using cached lxml-3.4.4.tar.gz (3.5 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [82 lines of output]
Building lxml version 3.4.4.
/tmp/pip-install-aff_k2os/lxml_67135630b7e24f608a487ade9d3b4fc2/setup.py:57: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Building without Cython.
ERROR: b'/bin/sh: xslt-config: not found\n'
** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt
/var/root/venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-311
creating build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/__init__.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/sax.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/cssselect.py -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/builder.py -> build/lib.linux-armv7l-cpython-311/lxml
creating build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-cpython-311/lxml/includes
creating build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-armv7l-cpython-311/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-cpython-311/lxml/html
creating build/lib.linux-armv7l-cpython-311/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-cpython-311/lxml
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-cpython-311/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-cpython-311/lxml/includes
creating build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources
creating build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/rng
creating build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl
creating build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-armv7l-cpython-311
creating build/temp.linux-armv7l-cpython-311/src
creating build/temp.linux-armv7l-cpython-311/src/lxml
arm-cortex-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -pipe -O2 -g -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -I/home/neutrino-images/ni-buildsystem/root/usr/include -fPIC -I/tmp/pip-install-aff_k2os/lxml_67135630b7e24f608a487ade9d3b4fc2/src/lxml/includes -I/var/root/venv/include -I/usr/include/python3.11 -c src/lxml/lxml.etree.c -o build/temp.linux-armv7l-cpython-311/src/lxml/lxml.etree.o -w
error: command 'arm-cortex-linux-gnueabihf-gcc' failed: No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lxml
Running setup.py clean for lxml
Failed to build lxml
ERROR: Could not build wheels for lxml, which is required to install pyproject.toml-based projects
(venv) [jokel ~]#
probier mal bitte mit der version lxml-3.4.4.tar.gz zu bauen ..
Benutzeravatar
vanhofen
Administrator
Beiträge: 2934
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 8 times
Been thanked: 16 times

Re: Allgemeine Wünsche und Fragen

Beitrag von vanhofen »

Gleicher Fehler. Wie oben zu erkennen ist, liegt der Fehler auch nicht an python-lxml, sondern an meinem host-python.
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

das habe ich auch versucht ..

Code: Alles auswählen

STATIC_DEPS=true pip install lxml
gibt aber ein .. CERTIFICATE_VERIFY_FAILED fehler
[+] Spoiler

(venv) [jokel ~]# STATIC_DEPS=true pip install lxml
Looking in indexes: https://pypi.org/simple/
Collecting lxml
Using cached lxml-5.1.0.tar.gz (3.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [86 lines of output]
<string>:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 5.1.0.
https://zlib.net/
Traceback (most recent call last):
File "/usr/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.11/http/client.py", line 1286, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1332, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1041, in _send_output
self.send(msg)
File "/usr/lib/python3.11/http/client.py", line 979, in send
self.connect()
File "/usr/lib/python3.11/http/client.py", line 1458, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 1108, in _create
self.do_handshake()
File "/usr/lib/python3.11/ssl.py", line 1379, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/root/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/var/root/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/root/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qjjvhhze/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qjjvhhze/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-qjjvhhze/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-qjjvhhze/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 272, in <module>
File "<string>", line 165, in setup_extra_options
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/setupinfo.py", line 72, in ext_modules
XML2_CONFIG, XSLT_CONFIG = build_libxml2xslt(
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/buildlibxml.py", line 448, in build_libxml2xslt
zlib_dir = unpack_tarball(download_zlib(download_dir, zlib_version), build_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/buildlibxml.py", line 309, in download_zlib
return download_library(dest_dir, ZLIB_LOCATION, 'zlib',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/buildlibxml.py", line 340, in download_library
fns = http_listfiles(location, '(%s)' % filename.replace('%s', '(?:[0-9.]+[0-9])'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/buildlibxml.py", line 229, in http_listfiles
data, _ = read_url(url)
^^^^^^^^^^^^^
File "/tmp/pip-install-lxb_cp04/lxml_28489d022dbc438dbe7efe350be431d2/buildlibxml.py", line 188, in read_url
with closing(urlopen(request)) as res:
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(venv) [jokel ~]#
darauf habe ich in der console mal das eingegeben ..

Code: Alles auswählen

openssl s_client -connect pypi.org:443
ausgabe ist
[+] Spoiler

[jokel ~]# openssl s_client -connect pypi.org:443
CONNECTED(00000003)
depth=1 C = BE, O = GlobalSign nv-sa, CN = GlobalSign Atlas R3 DV TLS CA 2023 Q2
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = pypi.org
verify return:1
---
Certificate chain
0 s:CN = pypi.org
i:C = BE, O = GlobalSign nv-sa, CN = GlobalSign Atlas R3 DV TLS CA 2023 Q2
1 s:C = BE, O = GlobalSign nv-sa, CN = GlobalSign Atlas R3 DV TLS CA 2023 Q2
i:OU = GlobalSign Root CA - R3, O = GlobalSign, CN = GlobalSign
---
Server certificate
und das obwohl ich in der pip.conf das eingetragen hatte ..

Code: Alles auswählen

[global]
trusted-host = pypi.python.org
               pypi.org
               files.pythonhosted.org
kommt trotzdem ein fehler
zu kot... die pluto.py generiert echt eine bessern epg .. wenn sie laufen würde :disappointed_relieved:
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

ich habe mal lxml unter e2 installiert .. keine problem :nerd:
dann habe ich das mal rüber kopiert .. ist ja eine venv .. pluto.py gestartet
kam der fehler

Code: Alles auswählen

ImportError: /var/root/venv/lib/python3.11/site-packages/lxml/etree.cpython-311-arm-linux-gnueabihf.so: undefined symbol: xmlSchematronFree, version LIBXML2_2.6.21
musste ja scheitern weil im ni-images 2.11.5 installiert ist ..
https://github.com/neutrino-images/ni-b ... libxml2.mk
Benutzeravatar
max_10
NI - VIP
Beiträge: 162
Registriert: Di 12. Apr 2016, 13:06

Re: Allgemeine Wünsche und Fragen

Beitrag von max_10 »

An der XML Version liegt es nicht, hier baut es durch, es ist schon so wie vanhofen sagt liegt an Python.
kenne den Fehler auch noch von E2 unter sh4, weiß nur noch ungefähr das in pyport.h eine Zeile mit LONG_BIT entfernt werden.

Code: Alles auswählen

max@max:~/0_buildsystem-max-test$ make python-lxml
>>> hd51 python-lxml 4.9.3 Start-up build
>>> hd51 python-lxml 4.9.3 Extracting
>>> hd51 python-lxml 4.9.3 Building
Building lxml version 4.9.3.
/home/max/0_buildsystem-max-test/build_tmp/lxml-4.9.3/./setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Building without Cython.
Building against libxml2 2.11.5 and libxslt 1.1.38
Building against libxml2/libxslt in the following directory: /home/max/0_buildsystem-max-test/build_host/bin/../../root/usr/lib
>>> hd51 python-lxml 4.9.3 Installing
Building lxml version 4.9.3.
/home/max/0_buildsystem-max-test/build_tmp/lxml-4.9.3/./setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Building without Cython.
Building against libxml2 2.11.5 and libxslt 1.1.38
Building against libxml2/libxslt in the following directory: /home/max/0_buildsystem-max-test/build_host/bin/../../root/usr/lib
/home/max/0_buildsystem-max-test/root/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/tmp/tmp1n_u26wp.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.util import byte_compile
>>> hd51 python-lxml 4.9.3 Follow-up build
>>> hd51 python-lxml 4.9.3 Clean-up
>>> hd51 python-lxml 4.9.3 Building completed

max@max:~/0_buildsystem-max-test$ 
Benutzeravatar
vanhofen
Administrator
Beiträge: 2934
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 8 times
Been thanked: 16 times

Re: Allgemeine Wünsche und Fragen

Beitrag von vanhofen »

Kannst du mal bitte mit V=1 bauen und das Log posten, max?

Ich hatte noch das Problem, dass CC=$(TARGET_CC) nicht korrekt ausgewertet wurde.
Benutzeravatar
max_10
NI - VIP
Beiträge: 162
Registriert: Di 12. Apr 2016, 13:06

Re: Allgemeine Wünsche und Fragen

Beitrag von max_10 »

bitte schön
python-lxm.log
(30.62 KiB) 18-mal heruntergeladen
Benutzeravatar
jokel
Beiträge: 2423
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 11 times
Been thanked: 9 times

Re: Allgemeine Wünsche und Fragen

Beitrag von jokel »

max_10 .. kannst du mir bitte mal python-lxml zukommen lassen damit ich sehen kann
das damit die pluto.py löppt auf der h7

ich hatte mich schon gewunder das beim installieren über pip die ausgabe so aussah ..
[+] Spoiler

arm-cortex-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -pipe -O2 -g -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -I/home/neutrino-images/ni-buildsystem/root/usr/include -fPIC -I/tmp/pip-install-aff_k2os/lxml_67135630b7e24f608a487ade9d3b4fc2/src/lxml/includes -I/var/root/venv/include -I/usr/include/python3.11 -c src/lxml/lxml.etree.c -o build/temp.linux-armv7l-cpython-311/src/lxml/lxml.etree.o -w
error: command 'arm-cortex-linux-gnueabihf-gcc' failed: No such file or directory
Antworten

Zurück zu „Neutrino allgemein“