Aller au contenu

ch_porchet

Membre
  • Compteur de contenus

    1 576
  • Inscription

  • Dernière visite

Tout ce qui a été posté par ch_porchet

  1. hello je veux juste crée une station complète et autonome avec ces deux programmes sur une de mes cartes pour moi et mon observatoire qui soit aussi accessible après pour tous ... Mais j'ai toujours un truc qui bloc 😒
  2. Re bonjour Du coup aucun linuxien ne peux m'aider sur ce coup ?
  3. Bonjour, alors je rouvre un sujet sur mon problème mais de manière générale cette fois car je pense que ça vas etre plus simple, enfin je pense,,,,,,,, Donc voici ce que je veux faire et que je n'y arrive pas , en effet malgré que je trouve linux incroyable dans le fond, je trouve quand même compliquer à mettre en place certaine chose quand on est pas doué dans la création de code , comme moi,,, du coup je tâtonne un max et je n'y arrive pas. Donc pour revenir a mon problème je veux crée sur une carte Rpi4 ou tinkerboard (j'ai les deux) qui tournerais 24/24 avec dessus indi-allsky et weatherradio avec leur pages Web et un lien entre les deux. Mais voila , moi j'y arrive pas , il y a toujours qqch qui cloche et qui me bloque !! J'ai bien Jérome qui m'as aider le première fois, mais suite a une avarie (rempli d'eau) de ma première station je veux repartir a zéro de façon a mettre au point la bonne méthode pour y parvenir Donc idéalement je voudrais que on m'aide a le faire juste depuis le début, ensuite je mettrais la méthode pour y arrivé pour qqun comme qui ne connais rien puisse suivre pas a pas l'installation , ou si c'est possible créé une image du système complet et fonctionnel a partager . Je précise que sur tinker j'ai nafabox et sur la Rpi4 astroberry , maintenant si je dois mettre autre chose pas de problème! Du coup qui peux m'aider a réaliser cette combine! Un Grand Merci à vous !!! PS: dite moi si il faute déplacer le sujet ailleurs
  4. Hello, alors je crois 64 bits mais pas sur ,,,,, le truc c'est que sur ma tinker avec nafabox je vais surtout l'utiliser pour la météo de mon poste. avec dessus weatherradio et indi-allsky en permanence. mais j'ai plusieurs problème de stabilité ,et la j'avais enfin indi-allsky qui fonctionnais pas trop mal et tous d'un coup plus de camera ! et weatherradio fonctionne bien avec kstars , mais la page Web ne fonctionne plus ! du coup je commence avec le problème de caméra et après je verrais , mais le jour que tous fonctionne je fais une copie sytème cette fois !!!
  5. hello alors je suis sur la nafabox qui est installer sur une tinkerboard. je suis entrain de régler 2 autres problème mais avant je dois retrouver les driver pour mon asi qui vas me servir de camera allsky
  6. alors visiblement j'ai un problème avec tous les drivers indi ! comment je fais pour les réinstaller ? Merci.
  7. je précise que j'arrive a rien , j'ai meme réinstaller kstars et meme erreur
  8. Bonjour j'ai un soucis sur kstars et ma camera voici le message Le pilote INDI indi_asi_ccd a planté. Le re-démarrer? qui a une idée? merci
  9. Hello Astrojh Tu crois que cela vaut la peine d'essayé les commandes que j'ai mis , ou cela mettre du bordel ? a+
  10. résultat identique , regarde nafa@NAFABox:/usr/share/weatherradio$ sudo apt-get install python-rrdtool [sudo] Mot de passe de nafa : Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait python-rrdtool est déjà la version la plus récente (1.7.0-1build1). Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires : indi-aagcloudwatcher indi-nexstarevo Veuillez utiliser « sudo apt autoremove » pour les supprimer. 0 mis à jour, 0 nouvellement installés, 0 à enlever et 16 non mis à jour. nafa@NAFABox:/usr/share/weatherradio$ ./bin/wr_rrd_create.py Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_weatherradio_bin_wr_rrd_create.py.1000.crash' Original exception was: Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' nafa@NAFABox:/usr/share/weatherradio$
  11. ok alors ça passe ,du coup j'ai essayé de repasser les commande mais j'ai toujours une erreur regarde se que j'ai fais nafa@NAFABox:~$ sudo apt-get install librrd-dev [sudo] Mot de passe de nafa : Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires : indi-aagcloudwatcher indi-nexstarevo Veuillez utiliser « sudo apt autoremove » pour les supprimer. Les NOUVEAUX paquets suivants seront installés : librrd-dev 0 mis à jour, 1 nouvellement installés, 0 à enlever et 16 non mis à jour. Il est nécessaire de prendre 160 ko dans les archives. Après cette opération, 492 ko d'espace disque supplémentaires seront utilisés. Réception de :1 http://ports.ubuntu.com bionic/main armhf librrd-dev armhf 1.7.0-1build1 [160 kB] 160 ko réceptionnés en 1s (206 ko/s) Sélection du paquet librrd-dev:armhf précédemment désélectionné. (Lecture de la base de données... 143339 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../librrd-dev_1.7.0-1build1_armhf.deb ... Dépaquetage de librrd-dev:armhf (1.7.0-1build1) ... Paramétrage de librrd-dev:armhf (1.7.0-1build1) ... nafa@NAFABox:~$ cd /usr/share/weatherradio nafa@NAFABox:/usr/share/weatherradio$ ./bin/wr_rrd_create.py Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_weatherradio_bin_wr_rrd_create.py.1000.crash' Original exception was: Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' nafa@NAFABox:/usr/share/weatherradio$ Est-ce que je dois faire ça ou c'est une connerie sudo apt-get update sudo apt-get install rrdtool
  12. Salut ça me donne cela Collecting rrdtool-dev Could not find a version that satisfies the requirement rrdtool-dev (from versions: ) No matching distribution found for rrdtool-dev nafa@NAFABox:~$ a+
  13. Salut, Est-ce que j'aurai pas du faire cette commande "pip3 install rrdtool"? D'ailleurs qu'elle différence entre "pip" et "pip3", c'est la version de python ? A+
  14. alors voila ce que cela donne nafa@NAFABox:~$ pip install rrdtool Collecting rrdtool Downloading https://files.pythonhosted.org/packages/f9/86/2f87c8725effdc0f4abdc77af85fd764b04fe833fe3cd882c5fae1d7635d/rrdtool-0.1.15.tar.gz Complete output from command python setup.py egg_info: /tmp/tmp_python_rrdtoolN8gMSP/test_rrdtool.c:2:10: fatal error: rrd.h: Aucun fichier ou dossier de ce type #include <rrd.h> ^~~~~~~ compilation terminated. Error: Unable to compile the binary module. Do you have the rrdtool header and libraries installed? ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sjy8BO/rrdtool/ nafa@NAFABox:~$
  15. hello alors voila se que ça me donne nafa@NAFABox:/usr/share/weatherradio$ cd nafa@NAFABox:~$ ls -l /usr/local/share total 24 drwxrwxrwx 2 root root 4096 juin 23 2019 ca-certificates drwxrwsrwx 3 root staff 4096 juin 23 2019 emacs drwxrwsrwx 2 root staff 4096 juin 23 2019 fonts drwxrwxrwx 2 root root 4096 juin 23 2019 man drwxrwsr-x 7 root staff 4096 déc. 20 2019 sgml lrwxrwxrwx 1 root root 23 avril 10 21:52 weatherradio -> /usr/share/weatherradio drwxrwsr-x 6 root staff 4096 déc. 20 2019 xml nafa@NAFABox:~$ cd /usr/share/weatherradio nafa@NAFABox:/usr/share/weatherradio$ ./bin/wr_rrd_create.py Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_weatherradio_bin_wr_rrd_create.py.1000.crash' Original exception was: Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' nafa@NAFABox:/usr/share/weatherradio$ Comme tu peux voir il y encore des erreurs , de quoi cela viens d'après toi a bientot Christophe
  16. Salut Astojh, alors j'ai essayé ,mais rien, je pense que j'ai pas compris. Peux-tu me dire depuis ou je dois reprendre, et qu'est-ce que je dois faire . Merci encore pour temps que tu prend pour moi. A bientôt Christophe
  17. Donc si je comprend , fais ce lien une fois et tous le reste vas se faire automatiquement ?
  18. Bonnj'avance celon leur méthode ,mais je suis ,il me semble bloqué la nafa@NAFABox:~$ cd /home/nafa/Projects/indi-3rdparty/indi-duino nafa@NAFABox:~/Projects/indi-3rdparty/indi-duino$ sudo cp add-on/weatherradio/weatherradio.conf /etc/apache2/conf-available nafa@NAFABox:~/Projects/indi-3rdparty/indi-duino$ sudo a2enconf weatherradio Conf weatherradio already enabled nafa@NAFABox:~/Projects/indi-3rdparty/indi-duino$ sudo systemctl reload apache2 nafa@NAFABox:~/Projects/indi-3rdparty/indi-duino$ mkdir /usr/share/weatherradio/html/data nafa@NAFABox:~/Projects/indi-3rdparty/indi-duino$ cd nafa@NAFABox:~$ cd /usr/share/weatherradio nafa@NAFABox:/usr/share/weatherradio$ ./bin/wr_rrd_create.py Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_weatherradio_bin_wr_rrd_create.py.1000.crash' Original exception was: Traceback (most recent call last): File "./bin/wr_rrd_create.py", line 20, in <module> import rrdtool ModuleNotFoundError: No module named 'rrdtool' nafa@NAFABox:/usr/share/weatherradio$ et il y a cela que j'ai pas bien compris ,enfin surtout j'ai pas la meme chose voila se qu'il dise (traduit en français mais moi dans le fichier j'ai cela #!/usr/bin/python3 # -*- coding: latin-1 -*- #----------------------------------------------------------------------- # Configuration of Weather Radio. # # Copyright (C) 2021 Wolfgang Reissenberger <sterne-jaeger@openfuture.de> # # This application is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # #----------------------------------------------------------------------- from configparser import ConfigParser from os import path class WeatherRadioConfig: config = None def __init__(self): # setup configuration self.config = ConfigParser(interpolation=None) self.config.optionxform = str # default values self.config.add_section('WeatherRadio') # web server configuration self.config.set('WeatherRadio', 'INDISERVER', '0.0.0.0') self.config.set('WeatherRadio', 'INDIPORT', '8624') # RRD storage holding time series data self.config.set('WeatherRadio', 'RRDFILE', '/usr/local/share/weatherradio/weather.rrd') # RRD storage holding time series for raw sensor data self.config.set('WeatherRadio', 'RRDSENSORSFILE', '/usr/local/share/weatherradio/sensors.rrd') # path to the JSON files holding the data self.config.set('WeatherRadio', 'DATAPATH', '/usr/local/share/weatherradio/html/data') # path to the directory holding web cam images and videos self.config.set('WeatherRadio', 'MEDIADIR', '/usr/local/share/weatherradio/html/media') ######### INDI Weather vector and element names self.config.set('WeatherRadio', 'WEATHER', 'WEATHER_PARAMETERS') self.config.set('WeatherRadio', 'WEATHER_TEMPERATURE', 'WEATHER_TEMPERATURE') self.config.set('WeatherRadio', 'WEATHER_PRESSURE', 'WEATHER_PRESSURE') self.config.set('WeatherRadio', 'WEATHER_HUMIDITY', 'WEATHER_HUMIDITY') self.config.set('WeatherRadio', 'WEATHER_CLOUD_COVER', 'WEATHER_CLOUD_COVER') self.config.set('WeatherRadio', 'WEATHER_SQM', 'WEATHER_SQM') self.config.set('WeatherRadio', 'WEATHER_DEWPOINT', 'WEATHER_DEWPOINT') self.config.set('WeatherRadio', 'WEATHER_SKY_TEMPERATURE', 'WEATHER_SKY_TEMPERATURE') self.config.set('WeatherRadio', 'WEATHER_WIND_GUST', 'WEATHER_WIND_GUST') self.config.set('WeatherRadio', 'WEATHER_WIND_SPEED', 'WEATHER_WIND_SPEED') self.config.set('WeatherRadio', 'WEATHER_WIND_DIRECTION', 'WEATHER_WIND_DIRECTION') self.config.set('WeatherRadio', 'WEATHER_RAIN_DROPS', 'WEATHER_RAIN_DROPS') self.config.set('WeatherRadio', 'WEATHER_RAIN_VOLUME', 'WEATHER_RAIN_VOLUME') self.config.set('WeatherRadio', 'WEATHER_WETNESS', 'WEATHER_WETNESS') # read config files for file in ['/etc/weatherradio.ini', '/usr/local/share/weatherradio/weatherradio.ini']: self.config.read(file) def getDevices(self): """Delivers the section names of devices""" return [x for x in self.config.sections() if x.startswith('Device')] tu en passe quoi de tous ça A+
  19. Yess , sa passé , maintenant je dosi faire quoi , en sachent que le fichier /usr/share/weatherradio et déjà installer ? en sachant que cette commande et pas bonne .. nafa@NAFABox:~$ cp -a add-on/weatherradio/html add-on/weatherradio/bin /usr/share/weatherradio
  20. slaut astrojh Alors voila ,j'ai toujours des ligne qui s’affiche en rouge ,dommage que quand le met le code il y a pas la couleur nafa@NAFABox:~$ pip3 install simplejson utidylib pathlib ffmpeg-python Collecting simplejson Using cached https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7/simplejson-3.17.6.tar.gz Collecting utidylib Downloading https://files.pythonhosted.org/packages/8e/24/adf05607f7dcb3fd8a5dd9162e3cad0e37a5deb76458bd7cc8882bbed15a/uTidylib-0.8-py3-none-any.whl Collecting pathlib Using cached https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz Collecting ffmpeg-python Downloading https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl Collecting future (from ffmpeg-python) Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB) 100% |████████████████████████████████| 829kB 540kB/s Building wheels for collected packages: simplejson, pathlib, future Running setup.py bdist_wheel for simplejson ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-01n8yf0v/simplejson/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/tmpvhi_h9hfpip-wheel- --python-tag cp36: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for simplejson Running setup.py clean for simplejson Running setup.py bdist_wheel for pathlib ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-01n8yf0v/pathlib/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/tmp9zg4zbvrpip-wheel- --python-tag cp36: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for pathlib Running setup.py clean for pathlib Running setup.py bdist_wheel for future ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-01n8yf0v/future/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/tmp77rwl48jpip-wheel- --python-tag cp36: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for future Running setup.py clean for future Failed to build simplejson pathlib future Installing collected packages: simplejson, utidylib, pathlib, future, ffmpeg-python Running setup.py install for simplejson ... done Running setup.py install for pathlib ... done Running setup.py install for future ... done Successfully installed ffmpeg-python-0.2.0 future-0.18.2 pathlib-1.0.1 simplejson-3.17.6 utidylib-0.8 C'est bon pour la couleur 😉 Mais il y a toujours des commande invalide
  21. Hello alors avec pip3 sa donne cela ,juste après le mot de passe , le texte et en rouge nafa@NAFABox:~$ sudo pip3 install simplejson utidylib pathlib ffmpeg-python [sudo] Mot de passe de nafa : The directory '/home/nafa/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/nafa/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting simplejson Downloading https://files.pythonhosted.org/packages/7a/47/c7cc3d4ed15f09917838a2fb4e1759eafb6d2f37ebf7043af984d8b36cf7/simplejson-3.17.6.tar.gz (83kB) 100% |████████████████████████████████| 92kB 961kB/s j'ai pas mis le suite ,mais pour la commande suivante cela me donne la meme chose ,faut juste que je change le chemin des dossier ou il faut régler en premier ce texte rouge? nafa@NAFABox:~$ cp -a add-on/weatherradio/html add-on/weatherradio/bin /usr/share/weatherradio cp: impossible d'évaluer 'add-on/weatherradio/html': Aucun fichier ou dossier de ce type cp: impossible d'évaluer 'add-on/weatherradio/bin': Aucun fichier ou dossier de ce type a bientot Christophe
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.