bonjour a tous .
je suis actuellement en train d construire ma cible connecté
le cablage de la cible a l arduino cest tres bien passé et mon arduino est reconnu par mon pc.
la config 7x10 televersé sa's problème , bref au oetits oignons.
mon probleme est que pydarts ne se lance pas .
la commande se lance une fenetre souvre une seconde et disparaît.
je suis sous windows 7 64 bits sur un intel atom cpu 230.
tout les drivers sont bon , jene trouva pas la solution .
pouvez vous maider svp ?
Bonjour poilou,
j'ai testé la dernière version. celle-ci se lance et ne crash pas.
j'ai pu configurer une cible et commencer une partie de 301.
cependant, je n'ai pas de son.
voici le résultat du debug:
[DEBUG]ConfigfileC:\Users\poukah/.pydarts/pydarts.cfgexists.Weuseitso...[DEBUG]WorkingonsectionSectionGlobalsofyourconfigfile.[DEBUG]WorkingonsectionSectionAdvancedofyourconfigfile.[DEBUG]WorkingonsectionSectionKeysofyourconfigfile.################ Welcome to pyDarts ########################### A Free, Open-Source and Open-Hardware Darts Game ## Please check the website to know more ## http://pydarts.sourceforge.net ## or check the Wiki ## https://obilhaut.freeboxos.fr/pydarts-wiki ## or use --help for available options ###############################################################pygame1.9.6Hellofromthepygamecommunity.https://www.pygame.org/contribute.htmlNomodulenamed'requests'[DEBUG]Yourdetectedlocalenameis"fr_FR".[DEBUG]Yourlocaleismappedonlocale:"fr_FR.UTF-8".[DEBUG]Usingdisplaymode:1000x700[WARNING]Unabletoloadcross-plateformtext-to-speechpyttsx3lib.[WARNING]Unabletoloadaudiowhiletryingtoplayfile:sounds/niceshot.ogg[DEBUG]Insertingimageintocacheimages/background.png[DEBUG]Insertingimageintocacheimages/dart1.png[DEBUG]Insertingimageintocacheimages/dart2.png[DEBUG]Pydarts.chstatstooldisabledcausenoapikeyisset.[DEBUG]Unabletoloaddependancy'requests'or'json'forPydarts.ch.Externalhasbeendisabled[DEBUG]SuccessfullyloadedserialportCOM3atspeed9600[DEBUG]Solooptionissetto:2000s[DEBUG]Inputdebug(pyGame):resize[DEBUG]Usingdisplaymode:1000x700[DEBUG]Inputdebug(pyGame):(179,199)[DEBUG]Clickedonf1[DEBUG]Insertingimageintocacheimages/key_enter.png[DEBUG]Inputdebug(pyGame):(871,135)[DEBUG]Clickedonremove|0[DEBUG]Youhit(871,135)andpreviouskeywasNone.[DEBUG]Inputdebug(pyGame):(304,147)[DEBUG]Clickedonplayername|0[DEBUG]Youhitf1andpreviouskeywas(871,135).[DEBUG]Inputdebug(pyGame):p[DEBUG]Youhitpandpreviouskeywasf1.[DEBUG]Inputdebug(pyGame):o[DEBUG]Youhitoandpreviouskeywasp.[DEBUG]Inputdebug(pyGame):u[DEBUG]Youhituandpreviouskeywaso.[DEBUG]Inputdebug(pyGame):k[DEBUG]Youhitkandpreviouskeywasu.[DEBUG]Inputdebug(pyGame):a[DEBUG]Youhitaandpreviouskeywask.[DEBUG]Inputdebug(pyGame):h[DEBUG]Youhithandpreviouskeywasa.[DEBUG]Inputdebug(pyGame):enter[DEBUG]Youhitenterandpreviouskeywash.[DEBUG]Inputdebug(pyGame):enter[DEBUG]Foundthesegames:[DEBUG]Waitingforgamechoice[DEBUG]Insertingimageintocacheimages/321_Zlip.png[DEBUG]Inputdebug(pyGame):down[DEBUG]Insertingimageintocacheimages/Cricket.png[DEBUG]Inputdebug(pyGame):down[DEBUG]Insertingimageintocacheimages/Football.png[DEBUG]Inputdebug(pyGame):down[DEBUG]Insertingimageintocacheimages/Ho_One.png[DEBUG]Inputdebug(pyGame):down[DEBUG]Insertingimageintocacheimages/Kapital.png[DEBUG]Inputdebug(pyGame):up[DEBUG]Inputdebug(pyGame):enter[WARNING]Unabletoloadaudiowhiletryingtoplayfile:sounds/goodchoice.ogg[DEBUG]WorkingonsectionHo_Oneofyourconfigfile.[DEBUG]Don't forget that you may create section named Ho_One to customize pyDarts[DEBUG]Waitingforgameoptions[DEBUG]Inputdebug(pyGame):enter[DEBUG]Checkingforhandicaps![ERROR]Handicapfailed:listindexoutofrange[DEBUG]Localgameidis:2[DEBUG]###### NEW ROUND #########[DEBUG]GameRound1.Roundofplayerpoukah.Dart1.[DEBUG]Checkingforhandicaps![ERROR]Handicapfailed:listindexoutofrange[WARNING]Unabletoloadaudiowhiletryingtoplayfile:sounds/ho_one_intro.ogg[DEBUG]Probablyfirstplayeroffirstround.Nothingtobackup.[DEBUG]BackupedscoreincaseofBackUpTurnrequest.[DEBUG][DEBUG]Soundfilepoukahwasnotfoundandnodefaultwasselected![DEBUG]Tryingtospeechtextpoukahwithenginepyttsx3[WARNING]Problemrunningcross-platformtext-to-speechpyttsx3.[DEBUG]Errorwas:'CScreen'objecthasnoattribute'tts'[WARNING]Unabletoloadaudiowhiletryingtoplayfile:sounds/beep1.ogg[DEBUG]Insertingimageintocacheimages/target.png[DEBUG]Inputdebug(pyGame):BACKUPBUTTON[WARNING]BackupTurnisdisabledonfirstroundoffirstplayer!Naughtyyou![DEBUG]Inputdebug(pyGame):GAMEBUTTON[DEBUG]Inputrestrainedis:GAMEBUTTON[DEBUG]Atthisstage,PostDartsreturns-1,EarlyPlayerButtonis-1,andMissedDartis-1[DEBUG]Memo:0:nothingspecial,1:jumptonextplayer,2:gameover,3:victory,4:currentplayernotallowedtoplay[DEBUG]WhohaspushedtheGameButton?[DEBUG]Thisgameisover[DEBUG]DisplayingHiscoretableforgame"Ho_One"andoptions"startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|"[DEBUG]Inputdebug(pyGame):(179,594)[DEBUG]DisplayingHiscoretableforgame"Ho_One"andoptions"startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|"[DEBUG]Inputdebug(pyGame):escape[DEBUG]DisplayingHiscoretableforgame"Ho_One"andoptions"startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|"[DEBUG]Inputdebug(pyGame):escape[DEBUG]DisplayingHiscoretableforgame"Ho_One"andoptions"startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|"[DEBUG]Inputdebug(pyGame):escape[DEBUG]Inputdebug(pyGame):(192,407)[DEBUG]Clickedonescape
pour comparer, j'ai téléchargé la dernière version mais depuis la source cette fois.
j'ai bien le son.
le log:
Je viens de mettre à jour la version 1.2.0-rc1, peux-tu me dire ce qu'il
en est ?
Merci
On 22/08/2022 18:35, poukah wrote:
Bonjour poilou,
j'ai testé la dernière version. celle-ci se lance et ne crash pas.
j'ai pu configurer une cible et commencer une partie de 301.
cependant, je n'ai pas de son.
voici le résultat du debug:
~~~ [DEBUG] Config file C:\Users\poukah/.pydarts/pydarts.cfg exists. We use it so... [DEBUG] Working on section SectionGlobals of your config file. [DEBUG] Working on section SectionAdvanced of your config file. [DEBUG] Working on section SectionKeys of your config file.
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
No module named 'requests' [DEBUG] Your detected locale name is "fr_FR". [DEBUG] Your locale is mapped on locale : "fr_FR.UTF-8". [DEBUG] Using display mode : 1000x700 [WARNING] Unable to load cross-plateform text-to-speech pyttsx3 lib. [WARNING] Unable to load audio while trying to play file : sounds/niceshot.ogg [DEBUG] Inserting image into cache images/background.png [DEBUG] Inserting image into cache images/dart1.png [DEBUG] Inserting image into cache images/dart2.png [DEBUG] Pydarts.ch stats tool disabled cause no apikey is set. [DEBUG] Unable to load dependancy 'requests' or 'json' for Pydarts.ch. External has been disabled [DEBUG] Successfully loaded serial port COM3 at speed 9600 [DEBUG] Solo option is set to : 2000 s [DEBUG] Input debug (pyGame) : resize [DEBUG] Using display mode : 1000x700 [DEBUG] Input debug (pyGame) : (179, 199) [DEBUG] Clicked on f1 [DEBUG] Inserting image into cache images/key_enter.png [DEBUG] Input debug (pyGame) : (871, 135) [DEBUG] Clicked on remove|0 [DEBUG] You hit (871, 135) and previous key was None. [DEBUG] Input debug (pyGame) : (304, 147) [DEBUG] Clicked on playername|0 [DEBUG] You hit f1 and previous key was (871, 135). [DEBUG] Input debug (pyGame) : p [DEBUG] You hit p and previous key was f1. [DEBUG] Input debug (pyGame) : o [DEBUG] You hit o and previous key was p. [DEBUG] Input debug (pyGame) : u [DEBUG] You hit u and previous key was o. [DEBUG] Input debug (pyGame) : k [DEBUG] You hit k and previous key was u. [DEBUG] Input debug (pyGame) : a [DEBUG] You hit a and previous key was k. [DEBUG] Input debug (pyGame) : h [DEBUG] You hit h and previous key was a. [DEBUG] Input debug (pyGame) : enter [DEBUG] You hit enter and previous key was h. [DEBUG] Input debug (pyGame) : enter [DEBUG] Found these games : [DEBUG] Waiting for game choice [DEBUG] Inserting image into cache images/321_Zlip.png [DEBUG] Input debug (pyGame) : down [DEBUG] Inserting image into cache images/Cricket.png [DEBUG] Input debug (pyGame) : down [DEBUG] Inserting image into cache images/Football.png [DEBUG] Input debug (pyGame) : down [DEBUG] Inserting image into cache images/Ho_One.png [DEBUG] Input debug (pyGame) : down [DEBUG] Inserting image into cache images/Kapital.png [DEBUG] Input debug (pyGame) : up [DEBUG] Input debug (pyGame) : enter [WARNING] Unable to load audio while trying to play file : sounds/goodchoice.ogg [DEBUG] Working on section Ho_One of your config file. [DEBUG] Don't forget that you may create section named Ho_One to customize pyDarts [DEBUG] Waiting for game options [DEBUG] Input debug (pyGame) : enter [DEBUG] Checking for handicaps! [ERROR] Handicap failed : list index out of range [DEBUG] Local game id is : 2 [DEBUG] ###### NEW ROUND ######### [DEBUG] Game Round 1. Round of player poukah. Dart 1. [DEBUG] Checking for handicaps! [ERROR] Handicap failed : list index out of range [WARNING] Unable to load audio while trying to play file : sounds/ho_one_intro.ogg [DEBUG] Probably first player of first round. Nothing to backup. [DEBUG] Backuped score in case of BackUpTurn request. [DEBUG] [DEBUG] Sound file poukah was not found and no default was selected! [DEBUG] Trying to speech text poukah with engine pyttsx3 [WARNING] Problem running cross-platform text-to-speech pyttsx3. [DEBUG] Error was : 'CScreen' object has no attribute 'tts' [WARNING] Unable to load audio while trying to play file : sounds/beep1.ogg [DEBUG] Inserting image into cache images/target.png [DEBUG] Input debug (pyGame) : BACKUPBUTTON [WARNING] Backup Turn is disabled on first round of first player ! Naughty you ! [DEBUG] Input debug (pyGame) : GAMEBUTTON [DEBUG] Input restrained is : GAMEBUTTON [DEBUG] At this stage, PostDarts returns -1, EarlyPlayerButton is -1, and MissedDart is -1 [DEBUG] Memo: 0: nothing special, 1: jump to next player, 2: game over, 3: victory, 4: current player not allowed to play [DEBUG] Who has pushed the Game Button ? [DEBUG] This game is over [DEBUG] Displaying Hi score table for game "Ho_One" and options "startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|" [DEBUG] Input debug (pyGame) : (179, 594) [DEBUG] Displaying Hi score table for game "Ho_One" and options "startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|" [DEBUG] Input debug (pyGame) : escape [DEBUG] Displaying Hi score table for game "Ho_One" and options "startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|" [DEBUG] Input debug (pyGame) : escape [DEBUG] Displaying Hi score table for game "Ho_One" and options "startingat=301|max_round=20|double_in=False|double_out=False|master_in=False|master_out=False|league=False|split_bull=True|" [DEBUG] Input debug (pyGame) : escape [DEBUG] Input debug (pyGame) : (192, 407) [DEBUG] Clicked on escape
~~~
C:\Users\poukah\Downloads\pydarts_v1.2.0-rc1-win_x32_bin\pydarts_v1.2.0-rc1>pydarts.exe--debuglevel=1--noserial[DEBUG]ConfigfileC:\Users\poukah/.pydarts/pydarts.cfgexists.Weuseitso...[DEBUG]WorkingonsectionSectionGlobalsofyourconfigfile.[DEBUG]WorkingonsectionSectionAdvancedofyourconfigfile.[DEBUG]WorkingonsectionSectionKeysofyourconfigfile.################ Welcome to pyDarts ########################### A Free, Open-Source and Open-Hardware Darts Game ## Please check the website to know more ## http://pydarts.sourceforge.net ## or check the Wiki ## https://obilhaut.freeboxos.fr/pydarts-wiki ## or use --help for available options ###############################################################pygame1.9.6Hellofromthepygamecommunity.https://www.pygame.org/contribute.htmlNomodulenamed'requests'[DEBUG]Yourdetectedlocalenameis"fr_FR".[DEBUG]Yourlocaleismappedonlocale:"fr_FR.UTF-8".[DEBUG]Usingdisplaymode:1000x700[WARNING]Unabletoloadcross-plateformtext-to-speechpyttsx3lib.[WARNING]Unabletoloadaudiowhiletryingtoplayfile:C:\Users\poukah/.pydarts/sounds/niceshot.ogg[DEBUG]Insertingimageintocacheimages/background.png[DEBUG]Insertingimageintocacheimages/dart1.png[DEBUG]Insertingimageintocacheimages/dart2.png[DEBUG]Pydarts.chstatstooldisabledcausenoapikeyisset.[DEBUG]Unabletoloaddependancy'requests'or'json'forPydarts.ch.Externalhasbeendisabled[DEBUG]Serialconnectionbypassasrequested.Noneedforadartboardmate![DEBUG]Solooptionissetto:2000s[DEBUG]Inputdebug(pyGame):resize[DEBUG]Usingdisplaymode:1000x700[DEBUG]Inputdebug(pyGame):escape
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Si en attendant tu peux faire quelques essais sur cette version (même
sans le son), je suis évidemment preneur :)
A bientôt,
Poilou
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-11-04
Bonjour, je n'arrive pas a avoir le son sur la v1.2 windows, vous avez réussi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-11-05
Pour la version 1.2 sous windows
la version 1.2 :pydarts_v1.2.0-rc1-win_x32_bin.zip est bugger pour le son
1- Il faut télécharger et installer python 3.8 32 bits (cocher add PATH)
2- utiliser pip pour installer les dépendances :
pip.exe install pygame pyserial netifaces pexpect pyttsx3
3 - télécharger les sources de pydart 1.2 (et non pas le bin) https://sourceforge.net/code-snapshots/git/p/py/pydarts/source.git/pydarts-source-bfb4ccbde9aed4ffde382f4c9fae44010ec57b09.zip
4- decompacter les sources dans un repertoire
5 lancer pydarts.bat
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
bonjour a tous .
je suis actuellement en train d construire ma cible connecté
le cablage de la cible a l arduino cest tres bien passé et mon arduino est reconnu par mon pc.
la config 7x10 televersé sa's problème , bref au oetits oignons.
mon probleme est que pydarts ne se lance pas .
la commande se lance une fenetre souvre une seconde et disparaît.
je suis sous windows 7 64 bits sur un intel atom cpu 230.
tout les drivers sont bon , jene trouva pas la solution .
pouvez vous maider svp ?
Est ce que tu utilises la version 1.10 ... .exe?
Salut tout le monde,
Je viens de mettre en ligne une nouvelle version (1.2-rc1). Si quelqu'un
peut tester en lançant dans un terminal :
pydarts.exe --debuglevel=1
Et si jamais ça crashe, merci de m'envoyer le retour du terminal.
Bonne journée !
Bonjour poilou,
j'ai testé la dernière version. celle-ci se lance et ne crash pas.
j'ai pu configurer une cible et commencer une partie de 301.
cependant, je n'ai pas de son.
voici le résultat du debug:
pour comparer, j'ai téléchargé la dernière version mais depuis la source cette fois.
j'ai bien le son.
le log:
Last edit: poukah 2022-08-22
Salut Poukah !
Je viens de mettre à jour la version 1.2.0-rc1, peux-tu me dire ce qu'il
en est ?
Merci
On 22/08/2022 18:35, poukah wrote:
désolé, toujours pas de son de mon côté:
En effet, je remarque aussi un souci avec pygame.
Je regarde et reviens vers toi.
Si en attendant tu peux faire quelques essais sur cette version (même
sans le son), je suis évidemment preneur :)
A bientôt,
Poilou
Bonjour, je n'arrive pas a avoir le son sur la v1.2 windows, vous avez réussi
Pour la version 1.2 sous windows
la version 1.2 :pydarts_v1.2.0-rc1-win_x32_bin.zip est bugger pour le son
1- Il faut télécharger et installer python 3.8 32 bits (cocher add PATH)
2- utiliser pip pour installer les dépendances :
pip.exe install pygame pyserial netifaces pexpect pyttsx3
3 - télécharger les sources de pydart 1.2 (et non pas le bin)
https://sourceforge.net/code-snapshots/git/p/py/pydarts/source.git/pydarts-source-bfb4ccbde9aed4ffde382f4c9fae44010ec57b09.zip
4- decompacter les sources dans un repertoire
5 lancer pydarts.bat