Page 1 sur 1

Lancement Captvty

Posté : mar. 3 mars 2026 08:01
par Bernardgeorges
Bonjour,
J'ai installé mono et je lance captvty par la commande "mono Captvty
.exe"
Je suis sous "Ubuntu 24.04.4 LTS"
Voilà le message que j'obtiens et je ne sais pas comment m'en sortir
Merci d'avance pour votre aide et vos conseils

Code : Tout sélectionner

mono Captvty.exe
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at _M8A._YO (Newtonsoft.Json.Linq.JToken , System.Boolean , System.String , System.Boolean , System.Collections.Generic.ISet`1[T] , _xj , System.Boolean , _GIA& ) [0x006d4] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0 
  at _M8A._UP (_bXA , Newtonsoft.Json.Linq.JToken , System.String , System.Boolean , System.Collections.Generic.ISet`1[T] , _xj , System.Boolean ) [0x0144c] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0 
  at _M8A._bMA () [0x01208] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Eto.GtkSharp.Forms.GtkSynchronizationContext+<>c__DisplayClass0_0.<Post>b__0 () [0x00000] in <4cf0479f207743939a93aea704a7b91e>:0 
  at GLib.Idle+IdleProxy.Handler () [0x00000] in <1d3ff9d4e56e46f4a248da8025203382>:0 
  at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <1d3ff9d4e56e46f4a248da8025203382>:0 
  at GLib.Idle+IdleProxy.Handler () [0x00000] in <1d3ff9d4e56e46f4a248da8025203382>:0 
  at System.Object.wrapper_native_0x7cef807feb40 () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Gtk.Application.Run () [0x00000] in <ed678d7d2aca40d6851e63f8b4fad44e>:0 
  at Eto.GtkSharp.Forms.ApplicationHandler.Run () [0x00000] in <4cf0479f207743939a93aea704a7b91e>:0 
  at Eto.Forms.Application.Run (Eto.Forms.Form mainForm) [0x00000] in <64042fee4894435f8834e5c7dcc3c74f>:0 
  at _PrA._Pd () [0x00000] in <8bd688a0ec7f4fb8a73d8e2b38603a07>:0

Re: Lancement Captvty

Posté : mar. 3 mars 2026 09:55
par thyam
'Jour,
un tit truc, une signature serait bien utile aux futurs aidants
regarde là => viewtopic.php?f=2&t=1514 ;)
De plus, j'ai mis en balise code [</>] ton retour terminal, c'est plus facile ;)

Une tite question, un fichier '.exe' sous linux !!!! à part en VM ? (après je ne connais pas Captvty)
++

Re: Lancement Captvty

Posté : mar. 3 mars 2026 11:41
par prince2phor59
Captvty doit fonctionner avec Wine sous Linux.

Voir ici (Comment faire pour utiliser Captvty sous Linux ?): https://captvty.fr/faq#linux

La procédure date de 2018... pas sûr que ça fonctionne encore... à essayer.

Je te conseille de faire un instantané Timeshift si tu comptes essayer la procédure. C'est bien de pouvoir revenir au système tel qu'il était avant les modifications.

Sinon, oui dans Windows sur une machine virtuelle.

************************************************************************

Seconde solution beaucoup plus simple : comme ici : https://forum.ubuntu-fr.org/viewtopic.php?id=2087801

Installer mono-complete

Code : Tout sélectionner

sudo apt install mono-complete
Télécharger la version Linux de captvty (j'ai choisis la 3.0.0.7)
Tu télécharges le fichier tar.gz que tu extrais dans ton dossier utilisateur.

Ensuite il faut exécuter la commande depuis le dossier où est le fichier captvty.exe:

Pour ma part, j'ai fait :

Code : Tout sélectionner

cd /home/claude/captvty-3.0.0.7
et

Code : Tout sélectionner

mono Captvty.exe 
Tu peux créer sur le bureau un lanceur, en localisant captvty.exe

Re: Lancement Captvty

Posté : mer. 4 mars 2026 13:27
par thyam
Hello,
Il me semblait bien ;)
Captvty doit fonctionner avec Wine sous Linux.