RSSCrawler 4.01

Status
Für weitere Antworten geschlossen.
Jetzt läuft es bei mir!
Einfach über docker mit dem erstellten Ordner!
 
Sehr gut! :)
 
Hallo hat jemand eine Idee? Ich habe den Docker-Container so erstellt:


docker pull rix1337/docker-rsscrawler
docker create --name='RSScrawler' --restart='always' -v /etc/localtime:/etc/localtime:ro -p '8183:9090' -v '/volume1/docker/rsscrawler':'/config':'rw' -e 'PARAMETER'='--jd-user=mail@mail.de --jd-pass=pass --jd-device=nameinmyjdownloaderorg' -e 'LOGLEVEL'='INFO' 'rix1337/docker-rsscrawler'

anschließend docker start RSScrawler
Es kommt kein fehler aber mit docker ps sehe ich, dass der Container nur am initialisieren ist. Hat noch jemand eine Idee was eventuell nicht passt? Init und Up stehen beide gleich seit 10 Minuten
 
Warum Kommandozeile ?
Machs doch über die Docker GUI im DSM, dann gehts out of the Box!
 
Werde ich heute Abend mal ausführen.
 
Lt. RiX aktualisiert sich der RSScrawler im Docker Container nur bei einem Restart des Containers

Der Befehl
Rich (BBCode):
docker restart container NAME_DES_CONTAINERS
führt aber zu einer Meldung im DSM "Container wurde unerwartet beendet"



Habe es aber gelöst und per Aufgabenplaner folgenden Aufruf eingebaut:

Rich (BBCode):
/usr/syno/bin/synowebapi --exec api=SYNO.Docker.Container method=restart version=1 name="NAME_DES_CONTAINERS"
 
mal wieder durch ein python update Probleme... nun mal was neues...

Rich (BBCode):
Traceback (most recent call last):
  File "/opt/local/bin/rsscrawler", line 7, in <module>
    from rsscrawler.RSScrawler import main
  File "/opt/local/lib/python3.7/site-packages/rsscrawler/RSScrawler.py", line 46, in <module>
    from rsscrawler import common
  File "/opt/local/lib/python3.7/site-packages/rsscrawler/common.py", line 16, in <module>
    from rsscrawler import myjdapi
  File "/opt/local/lib/python3.7/site-packages/rsscrawler/myjdapi.py", line 42, in <module>
    from Crypto.Cipher import AES
  File "/opt/local/lib/python3.7/site-packages/Crypto/Cipher/__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "/opt/local/lib/python3.7/site-packages/Crypto/Cipher/_mode_ecb.py", line 47, in <module>
    """
  File "/opt/local/lib/python3.7/site-packages/Crypto/Util/_raw_api.py", line 299, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cpython-37m.so': /opt/local/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.cpython-37m.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.abi3.so': /opt/local/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.abi3.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.so': /opt/local/lib/python3.7/site-packages/Crypto/Util/../Cipher/_raw_ecb.so: cannot open shared object file: No such file or directory

Rich (BBCode):
Package         Version
--------------- ----------
altgraph        0.16.1
beautifulsoup4  4.6.3
bs4             0.0.1
certifi         2018.11.29
cfscrape        1.9.5
chardet         3.0.4
Click           7.0
docopt          0.6.2
feedparser      5.2.1
Flask           1.0.2
future          0.17.1
fuzzywuzzy      0.17.0
gevent          1.3.7
greenlet        0.4.15
idna            2.7
itsdangerous    1.1.0
Jinja2          2.10
lxml            4.2.5
macholib        1.11
MarkupSafe      1.1.0
pefile          2018.8.8
pip             18.1
pycryptodome    3.7.2
PyInstaller     3.4
PySocks         1.6.8
python-dateutil 2.7.5
requests        2.20.1
rsscrawler      5.3.3
setuptools      40.6.2
six             1.11.0
urllib3         1.24.1
Werkzeug        0.14.1
wheel           0.32.3

Jemand eine Idee?
 
Hi

Ich hab auch einen Ordner angelegt. Wenn ich bei anlegen des Container in Mounting nun den Ordner auswähle dann den Wert /config setze sagt er mir unzulässiger wert.

Hast du nee Idee
 
Warum Kommandozeile ?
Machs doch über die Docker GUI im DSM, dann gehts out of the Box!

wo gibst du dort dann den Parameter für den MY JD Account an?

via Terminal

docker run -d --name='RSScrawler' -p '9090:9090' -v '/volume1/docker/':'/config':'rw' -e 'PARAMETER'='--jd-user=231@gmail.com --jd-pass=32131123 --jd-device=JDownloader@root' 'rix1337/docker-rsscrawler'

kriege ich im Terminal EOFError: EOF when reading a line als Ergebnis
 
hey ich hab probleme beim installieren vom Paket pycryptodome bzw. pycryptodomex

pip install pycryptodome
pip install pycryptodomex

fängt an aber dann ein haufen errors weiß jemand was es da hat?

Collecting pycryptodome
Using cached https://files.pythonhosted.org/pack...2e49d4073daae952247/pycryptodome-3.8.1.tar.gz
Building wheels for collected packages: pycryptodome
Building wheel for pycryptodome (setup.py) ... error
ERROR: Complete output from command /bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-VhcOhA/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-cRjjCK --python-tag cp27:
ERROR: Testing support for clang
Target does not support clang
Testing support for gcc
Target does not support gcc
Testing support for stdint.h header
Target does not support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for posix_memalign
Target does not support posix_memalign
Testing support for memalign
Target does not support memalign
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
running bdist_wheel
running build
running build_py
creating build/lib.linux-aarch64-2.7
creating build/lib.linux-aarch64-2.7/Crypto
copying lib/Crypto/__init__.py -> build/lib.linux-aarch64-2.7/Crypto
creating build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/_mode_openpgp.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/_mode_eax.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/_mode_cbc.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/_mode_ofb.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/_mode_cfb.py -> build/lib.linux-aarch64-2.7/Crypto/Cipher
running build_ext
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/src
/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc -fno-strict-aliasing -DSYNOPLAT_F_ARMV8 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSYNO_RUNNING_DSM_BUILD_SYSTEM -g -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -DOPENSSL_NO_SSL3 -I/usr/local/aarch64-unknown-linux-gnueabi/aarch64-unknown-linux-gnueabi/sysroot//usr/lib/libffi-3.2.1/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-aarch64-2.7/src/MD2.o
unable to execute '/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc': No such file or directory
error: command '/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pycryptodome
Running setup.py clean for pycryptodome
Failed to build pycryptodome
Installing collected packages: pycryptodome
Running setup.py install for pycryptodome ... error
ERROR: Complete output from command /bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-VhcOhA/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-M2nqdB/install-record.txt --single-version-externally-managed --compile:
ERROR: Testing support for clang
Target does not support clang
Testing support for gcc
Target does not support gcc
Testing support for stdint.h header
Target does not support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for posix_memalign
Target does not support posix_memalign
Testing support for memalign
Target does not support memalign
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
running install
running build
running build_py
creating build/lib.linux-aarch64-2.7
creating build/lib.linux-aarch64-2.7/Crypto
copying lib/Crypto/__init__.py -> build/lib.linux-aarch64-2.7/Crypto
copying lib/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_public.pem -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/PublicKey/test_vectors/ECC
copying lib/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p521_private.pem -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/PublicKey/test_vectors/ECC
copying lib/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_private_p8_clear.der -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/PublicKey/test_vectors/ECC
copying lib/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p384_private.pem -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/PublicKey/test_vectors/ECC
copying lib/Crypto/SelfTest/PublicKey/test_vectors/ECC/ecc_p256_public_compressed.pem -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/PublicKey/test_vectors/ECC

copying lib/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_2048_sha512_test.json -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/Signature/test_vectors/wycheproof
copying lib/Crypto/SelfTest/Signature/test_vectors/wycheproof/rsa_signature_3072_sha512_test.json -> build/lib.linux-aarch64-2.7/Crypto/SelfTest/Signature/test_vectors/wycheproof
running build_ext
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/src
/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc -fno-strict-aliasing -DSYNOPLAT_F_ARMV8 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSYNO_RUNNING_DSM_BUILD_SYSTEM -g -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -DOPENSSL_NO_SSL3 -I/usr/local/aarch64-unknown-linux-gnueabi/aarch64-unknown-linux-gnueabi/sysroot//usr/lib/libffi-3.2.1/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-aarch64-2.7/src/MD2.o
unable to execute '/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc': No such file or directory
error: command '/usr/local/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-VhcOhA/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-M2nqdB/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-VhcOhA/pycryptodome/
 
wo gibst du dort dann den Parameter für den MY JD Account an?

SORRY...erst jetzt gelesen :-P

Einfach deine vorhandene Konfig & db wegsichern und in den Ordner legen den du mit dem Container verlinkst!

17-05-2019 11-03-28.jpg

17-05-2019 11-05-37.jpg
 
hey nochmal,

hab jetzt alles versucht

pip install pycryptodome
pip install pycryptodomex

lässt sich nicht installieren siehe 2 posts oben .. nur rote fehlermeldungen usw...

ich brauche die aber für RSSCralwer >v4

viell. weiß jemand was es da hat versuche es auf nem synology hinzubekommen DS118
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat