Code Monkey home page Code Monkey logo

interfacecerema's People

Contributors

denisjouin avatar jouin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

interfacecerema's Issues

fermeture instantanée de tapioca

Je découvre juste l'interface cerema pour micmac et j'ai voulu lancer quelques jeux de donnée de test.
Dès la première étape je rencontre ce problème sur tous mes tests: une fermeture instantanée de tapioca a son lancement.
Il marche sans problème en ligne de commande et les étapes suivantes ont l'air de fonctionner aussi

Dans le commit a8d519b de la Version 5.31 du 8 mars 2019 vous avez modifié le filtre pour la trace synthèse de tapioca en ajoutant ces deux lignes au début de la méthode filtreTapioca(self,ligne)
try: self.exe.terminate()
except Exception as e : print("erreur self.exe.terminate=",str(e))

Ors cette méthode est appelée pour chaque ligne de la sortie pendant l'exécution de tapioca.
son appel des la première ligne ferme instantanément tapioca et fait apparaître une erreur dans l'interface

Si je commente ces deux lignes l'exécution s'effectue sans problème

mon système: laptop sous linux mint 19.3 (Tricia)

Please stop putting the "Release.msi" file in the repository

And more generally, any binary file not necessary for compiling, especially if that one often changes.

It makes the repository annoyingly huge for no good reason. Instead, please consider tagging a commit and using a release page to put the file there. There are probably many good resources on how to best use them. Oh, and feel free to copy the release notes there as well.

I am on an ADSL connection, in French countryside. The clone is now 220 MB and counting, this has been going on for a solid 20 minutes. And yes, I could have done a shallow clone, but I'll just wait this one out :)

Edit: 634.19 MiB. One fourth of the whole Linux Kernel repository :)

Interface can't select exiftool/convert/mashlab on MacOS

Hi, after installing micmac successfully and managed to run one of the tutorial examples via command line, I wanted to try the CEREMA GUI. After getting it to work, I started it and tried to define the path to the executables of micmac/exiftool/convert/mashlab. Setting the path for micmac worked fine, but for the others it didn't worked at all. The dialog opened for file selection wasn't reading the contents of any directory, therefor the "ok" button was greyed out.

After looking a bit the code, I found that the functions repExiftool, repConvert, repMeslab and repFfmpeg all were opening the dialogs as tkinter.filedialog.askopenfilename. After some searching, I found one answer in StackOverflow (https://stackoverflow.com/questions/19264922/using-askopenfilename-in-python-on-mac) saying that since MacOS doesn't have a "file type" drop menu, you need to remove that from the function call, so in order for it to work fine on macs, there would need to be a checking for system type (like in the repMicmac function), and calling tkinter.filedialog.askopenfilename with the appropriate parameters.

Should I make the changes and submit a PR?

Association à ffmpeg

Bonjour,
J'utilise actuellement MicMac et l'interface Cerema pour un stage. Mes données sont des vidéos, que j'aimerai séquencer pour mes modèles. Ainsi, j'ai installé et associé "ffmpeg" à l'interface et semble bien fonctionner. Néanmoins, lorsque je change la valeur dans l'onglet "Découper la vidéo en images" celui-ci n'est pas pris en compte. De même, qu'il est indiqué que la valeur doit être 0,1 et 12 : j'ai testé des chiffres supérieur à 12 et ne bloque pas la fonction. Cela montre finalement, que peut importe la valeur inscrite, l'algorithme ne la prend pas en compte. Cela m'embête car les vidéos que je traite sont longues, et j'ai ainsi trop d'images à traiter à la main par la suite, environ 10 000 (suppression des images en trop), avant la modélisation. Il y a t-il une solution à mon problème ?
L'interface reste très agréable à utiliser !
Merci d'avance,
Amélie

Apero DeDenis does not start

Hello,
after installation of the release 5.58 and/or 5.59, the program doesn't start. If I click on the program, also like 'administrator', nothing happens.
This is tested in Win7 and Win 10.
Release 5.57 works well in both windows environments.
Thanks for your work.
Antonio Belli

Impossible d'associer les outils externes sous mac (exiftool)

Bonjour,

J'ai installé micmac et l'interface CEREMA sur un mac aujourd'hui. Je ne pouvais cependant pas associer les outils externes (type exiftool) via le menu paramétrage car le panneau de sélection me permettait uniquement de visualiser les fichiers cachés mais pas de les sélectionner (ceux-ci apparaissaient en grisé).

Après quelques recherches, j'ai trouvé cette solution sur un forum.

J'ai donc simplement commenté la ligne correspondante dans la fonction d'association (lignes 3370-3374) et cela fonctionne.

Peut-être qu'il y a un petit correctif à proposer pour gérer cela sur mac ?

source=tkinter.filedialog.askopenfilename(initialdir=os.path.dirname(self.exiftool),                                                 
                                          #filetypes=[("exiftool","exiftool*"),(_("Tous"),"*")],
                                          multiple=False,
                                          title = _("Recherche exiftool"))

InterfaceCEREMA not working on Archlinux

When trying to lunch AperoDeDenis.py with :

python3 AperoDeDenis.py

Traceback (most recent call last):
File "AperoDeDenis.py", line 296, in
from tkinter import * # gestion des fenêtre, des boutons ,des menus
File "/usr/lib/python3.8/tkinter/init.py", line 36, in
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.6.so: cannot open shared object file: No such file or directory

Exception in Tkinter callback

I always got this error on build 5.21 build (using the win64 .msi from GitHub)
launching one of these commands :
Tools > Nom et Focale de l’appareil photo, dimension des photos

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\denis.jouin\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1699, in __call__
  File "AperoDeDenis.py", line 6614, in OutilAppareilPhoto
  File "AperoDeDenis.py", line 6690, in tagExif
TypeError: list indices must be integers or slices, not tuple

Tools > Mettre à jour DicoCamera.xml

Traceback (most recent call last):
  File "C:\Users\denis.jouin\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1699, in __call__
  File "AperoDeDenis.py", line 6766, in miseAJourDicoCamera
  File "AperoDeDenis.py", line 9527, in nombreDeExifTagDifferents
  File "AperoDeDenis.py", line 9527, in <listcomp>
  File "AperoDeDenis.py", line 6690, in tagExif
TypeError: list indices must be integers or slices, not tuple

MicMac > lancer micmac

le 7/2/2019 à 11:15:34 Launching AperoDeDenis V 5.21.
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\denis.jouin\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1699, in __call__
  File "AperoDeDenis.py", line 5276, in lanceMicMac
  File "AperoDeDenis.py", line 9527, in nombreDeExifTagDifferents
  File "AperoDeDenis.py", line 9527, in <listcomp>
  File "AperoDeDenis.py", line 6690, in tagExif
TypeError: list indices must be integers or slices, not tuple

Micmac fails with no other warning

Tools > toutes les focales et les noms d'appareils photos
seems be Ok

Everything fails silenciously.
It seems the command is looking for your profile directory, but is it the real problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.