Menu

Différentes erreurs

Jipai
2019-12-15
2020-05-24
1 2 > >> (Page 1 of 2)
  • Jipai

    Jipai - 2019-12-15

    Salut à tous
    j'ai ceci comme erreurs :
    [WARNING] Pydarts.ch stats tool disabled cause no apikey is set
    [ERROR] Unable to load dependancy 'requests' or 'json' for Pydarts.ch. External has been disabled

    Voila
    Je n'y comprends rien, mais je sais que je ne sais pas créer une partie en ligne...
    Quand j'essaie, j'ai le message " Connexion au serveur de la partie, patientez " et ensuite plus rien et pydarts ne repond pas...
    est ce que ca a un lien avec les erreurs sus citées ?

    Merci d'avance

    PS poilou , je pense que c'est ton domaine

     
  • Jipai

    Jipai - 2019-12-17

    hello ,
    I try to speak english...
    I tried to load pydarts 1.2 for win32 even if i am win64
    When I try to create a game on line it's ok, pydarts create it while under pydarts 1.0.1 there is a bug I explained in the post before
    But when the game launch, the program crashes... I imagine because problem of compatibility with the version of windows...
    please help !!!

     
    • poilou

      poilou - 2019-12-17

      Hi Jipai.

      Please don't use v1.0.1 anymore, it is totally not compatible with my
      online server which run 1.2.0 beta.

      What are the logs when the program crash ?

      Thanks

      On 17/12/2019 11:15, Jipai wrote:

      hello ,
      I try to speak english...
      I tried to load pydarts 1.2 for win32 even if i am win64
      When I try to create a game on line it's ok, pydarts create it while under pydarts 1.0.1 there is a bug I explained in the post before
      But when the game launch, the program crashes... I imagine because problem of compatibility with the version of windows...
      please help !!!


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      • poilou

        poilou - 2019-12-17

        ANd please use first a basic game, like "Practice", or 321_Zlip, or Ckicket.

        Some of games might be not ready to network games. They could be
        developped by the community and are not always reviewed.

        Cheers

        On 17/12/2019 11:43, poilou wrote:

        Hi Jipai.

        Please don't use v1.0.1 anymore, it is totally not compatible with my
        online server which run 1.2.0 beta.

        What are the logs when the program crash ?

        Thanks

        On 17/12/2019 11:15, Jipai wrote:

        hello ,
        I try to speak english...
        I tried to load pydarts 1.2 for win32 even if i am win64
        When I try to create a game on line it's ok, pydarts create it while under pydarts 1.0.1 there is a bug I explained in the post before
        But when the game launch, the program crashes... I imagine because problem of compatibility with the version of windows...
        please help !!!


        Différentes erreurs


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


        Différentes erreurs


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         
  • Jipai

    Jipai - 2019-12-17

    thanx to have interest :-)

    The log screen closes in the same time than the game
    here is the log screen before it crashes :

    [DEBUG] Config file C:\Users\jipai/.pydarts/pydarts.cfg exists. We use it so...
    [DEBUG] Working on section SectionAdvanced of your config file.
    [DEBUG] Working on section SectionGlobals of your config file.
    [DEBUG] Working on section SectionKeys of your config file.
    [DEBUG] You requested to load following locale fr_FR
    [DEBUG] Your locale is mapped on locale : "fr_FR.UTF-8".
    [DEBUG] Ho yeah, going fullscreen : 1360x768
    [DEBUG] Inserting image into cache images/background.png
    [DEBUG] Inserting image into cache images/dart1.png
    [DEBUG] Inserting image into cache images/dart2.png
    [WARNING] Your version of python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15
    ) [MSC v.1900 32 bit (Intel)] is not known as pydarts compatible. Please execute
    pydarts with one of this version of python : ('2.7', '3.2', '3.3', '3.4', '3.5'
    ).
    Updating debug facility from DEBUG to WARNING and above.
    [WARNING] Pydarts.ch stats tool disabled cause no apikey is set.
    [ERROR] Unable to load dependancy 'requests' or 'json' for Pydarts.ch. External
    has been disabled

    edit :
    I tried with Ho one game
    and the problem is the same when I play alone, not on online game, program crashes at the moment to start the game

    edit again : the problem appears only when I play alone, if I play 2 or more players, it's ok

    edit again and again : the problem is strange : ok for all games but football, noway
    and crashes with ho one game when 1,2,3, or 4 players . More it's ok...

    PS between us , you're a "ch'ti" ?

     

    Last edit: Jipai 2019-12-17
    • poilou

      poilou - 2019-12-17

      Hi Jipai the Ch'ti !

      I am a Viking and not a Ch'ti :) But son of a dutch wife, I feel a bit
      in the middle ;)

      Please :

      • use the latest pydarts version (use source code if possible, to help
        and improve debug)
      • use the option --debuglevel=1
      • Send me the logs again

      Thanks !

      On 17/12/2019 11:56, Jipai wrote:

      thanx to have interest :-)

      The log screen closes in the same time than the game
      here is the log screen before it crashes :

      [DEBUG] Config file C:\Users\jipai/.pydarts/pydarts.cfg exists. We use it so...
      [DEBUG] Working on section SectionAdvanced of your config file.
      [DEBUG] Working on section SectionGlobals of your config file.
      [DEBUG] Working on section SectionKeys of your config file.
      [DEBUG] You requested to load following locale fr_FR
      [DEBUG] Your locale is mapped on locale : "fr_FR.UTF-8".
      [DEBUG] Ho yeah, going fullscreen : 1360x768
      [DEBUG] Inserting image into cache images/background.png
      [DEBUG] Inserting image into cache images/dart1.png
      [DEBUG] Inserting image into cache images/dart2.png
      [WARNING] Your version of python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15
      ) [MSC v.1900 32 bit (Intel)] is not known as pydarts compatible. Please execute
      pydarts with one of this version of python : ('2.7', '3.2', '3.3', '3.4', '3.5'
      ).
      Updating debug facility from DEBUG to WARNING and above.
      [WARNING] Pydarts.ch stats tool disabled cause no apikey is set.
      [ERROR] Unable to load dependancy 'requests' or 'json' for Pydarts.ch. External
      has been disabled

      PS between us , you're a "ch'ti" ?


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jipai

    Jipai - 2019-12-17

    Here is the log before the game crashes

    pygame 1.9.4
    Hello from the pygame community. https://www.pygame.org/contribute.html
    No module named 'requests'
    [DEBUG] Config file C:\Users\jipai/.pydarts/pydarts.cfg exists. We use it so...
    [DEBUG] Working on section SectionAdvanced of your config file.
    [DEBUG] Working on section SectionGlobals of your config file.
    [DEBUG] Working on section SectionKeys of your config file.
    [DEBUG] You requested to load following locale fr_FR
    [DEBUG] Your locale is mapped on locale : "fr_FR.UTF-8".
    [DEBUG] Ho yeah, going fullscreen : 1360x768
    [DEBUG] Inserting image into cache images/background.png
    [DEBUG] Inserting image into cache images/dart1.png
    [DEBUG] Inserting image into cache images/dart2.png
    [WARNING] Your version of python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15
    ) [MSC v.1900 32 bit (Intel)] is not known as pydarts compatible. Please execute
    pydarts with one of this version of python : ('2.7', '3.2', '3.3', '3.4', '3.5'
    ).
    [WARNING] Pydarts.ch stats tool disabled cause no apikey is set.
    [ERROR] Unable to load dependancy 'requests' or 'json' for Pydarts.ch. External
    has been disabled
    [DEBUG] Successfully loaded serial port COM5 at speed 9600
    [DEBUG] Solo option is set to : 2500 ms
    [DEBUG] Input debug (pyGame) : resize
    [DEBUG] Using display mode : 1360x768
    [DEBUG] Input debug (pyGame) : (496, 143)
    [DEBUG] Input debug (pyGame) : (496, 143)
    [DEBUG] Input debug (pyGame) : (496, 143)
    [DEBUG] Input debug (pyGame) : TOGGLEFULLSCREEN
    [DEBUG] Using display mode : 1000x700
    [DEBUG] Input debug (pyGame) : resize
    [DEBUG] Using display mode : 1000x700
    [DEBUG] Input debug (pyGame) : f1
    [DEBUG] Inserting image into cache images/key_enter.png
    [DEBUG] Input debug (pyGame) : -
    [DEBUG] Input debug (pyGame) : -
    [DEBUG] Input debug (pyGame) : -
    [DEBUG] Input debug (pyGame) : -
    [DEBUG] Input debug (pyGame) : enter
    [DEBUG] Found these games : 321_Zlip/Bermuda_Triangle/By_Fives/Cricket/Football/
    Ho_One/Kapital/Killer/Kinito/Practice/Sample_game/Scram_Cricket/Shanghai
    [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/Bermuda_Triangle.png
    [DEBUG] Input debug (pyGame) : down
    [DEBUG] Inserting image into cache images/By_Fives.png
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: cHRM chunk does not match sRGB
    [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) : enter
    [DEBUG] Working on section Ho_One of your config file.
    [DEBUG] Don't forget that you may create section named Ho_One to customize pyDar
    ts
    [DEBUG] Waiting for game options
    [DEBUG] Input debug (pyGame) : enter
    [DEBUG] Checking for handicaps!
    [DEBUG] Player start score: 0, ogstartscore: 301, val: 0, self.maxval: 0
    [DEBUG] ###### NEW ROUND #########
    [DEBUG] Game Round 1. Round of player Jipai. Dart 1.
    [DEBUG] Checking for handicaps!
    [DEBUG] Player start score: 0, ogstartscore: 301, val: 0, self.maxval: 0
    [DEBUG] ###### New Ho One Round ! ######
    No previous turn to backup.
    Score Backup.

     
    • poilou

      poilou - 2020-05-24

      Hi Jipai,

      Please post python erros as well, and a description of what you were
      doing at this point.

      Cheers :)

       
  • Jipai

    Jipai - 2019-12-17

    I join a screen picture of the log screen just before the game crashes!

     
    • poilou

      poilou - 2019-12-17

      Hey Jipay :)

      The picture is exactly what I needed. The error is the part here :
      "dict_values object is not subscriptable".

      When you send logs, give the full log including python output, thanks.

      To start solving your issue, please use the latest pyDarts source code
      to help me debugging. To install it, follow this doc :

      https://obilhaut.freeboxos.fr/pydarts-wiki/doku.php?id=pydarts_on_microsoft_windows

      It need python 2.7 on windows, even if everything works fine on python 3
      on Linux.

      I do not work enough on Windows to validate python 3 yet. But If anyone
      is open to help me :)

      Then come back and tell me more please.

      Poilou

      On 17/12/2019 14:59, Jipai wrote:

      I join a screen picture of the log screen just before the game crashes!

      Attachments:


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jipai

    Jipai - 2019-12-17

    python 2.7 was already installed, maybe not in the good folder....?
    so, the problem is still there ( in the dependancies folder, I have just to install python-2.7.13 or something else to do ??
    Don't forget I am under Win64 , isn't it a problem ??

    If that can help you, before installing v1.2 of pydarts, I used v1.1.0 and this problem didn't exist

    In the main folder of pydarts 1.2 there is a compressed file : base_library , I have to decompress it ?
    when I install the latest source code, the folder includes was empty
    and there is no folder games. I added all that files and folder since the source page in the forum... Did I do the right thing ? `

     

    Last edit: Jipai 2019-12-17
  • diego

    diego - 2019-12-18

    Jipai,
    did you manage to finisch your dart board?

     
  • Anonymous

    Anonymous - 2019-12-18

    Hello Diego,
    I ordered and I am waiting for my arduino mega. Currently my dartboard is still connected to the uno, which allows me to do tests, but as you know, the Uno needs 2 more entries.
    😉

     
    • poilou

      poilou - 2019-12-18

      Hi Jipay :)

      I've corrected a few indentation errors in the Cricket Source code.

      You should be able to play successfully with the current source code,
      even with python 3.6 or above.

      The installation process is now quite easier for source on Windows :

      • python installation
      • c:\python\Scripts\pip.exe install pygame pyserial netifaces
      • Thats all :)

      Tell me if that works :)

      Cheers

      On 18/12/2019 13:20, noreply@sourceforge.net wrote:

      Hello Diego,
      I ordered and I am waiting for my arduino mega. Currently my dartboard is still connected to the uno, which allows me to do tests, but as you know, the Uno needs 2 more entries.
      😉


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jipai

    Jipai - 2019-12-18

    Hi Poilou,
    I did what you tell me, when I install pip.exe , a black window opens and some seconds later it closes and nothing happened.
    I tried to play cricket and there is no problem as before, but when I try to play Ho-one with less than 5 players, the problem is the same, the game crashes....
    there is a only 1 difference in the log file:
    the two last lines :
    TYPE ERROR: 'dict_value' objet does not support indexing ( before was : is not subsciptable )
    [9060] Failed lo execute script pydarts

    cheers

     

    Last edit: Jipai 2019-12-18
    • poilou

      poilou - 2019-12-18

      Jipay,

      I've got no crash on Ho_One with current version. Which game options are
      you using ? How many players ?

      Thanks

      On 18/12/2019 15:30, Jipai wrote:

      Hi Poilou,
      I did what you do, when I install pip.exe , a black window opens and some seconds later it closes and nothing happened.
      I tried to play cricket and there is no problem as before, but when I try to play Ho-one with less than 5 players, the problem is the same, the game crashes....
      there is a only 1 difference in the log file:
      the two last lines :
      TYPE ERROR: 'dict_value' objet does not support indexing ( before was : is not subsciptable )
      [9060] Failed lo execute script pydarts

      cheers


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jipai

    Jipai - 2019-12-18

    Hey Poilou,
    I play with 1, 2, 3 or 4 players , it' is the same problem, more players , it's ok.
    I don't change the options
    😉

     
    • poilou

      poilou - 2019-12-19

      Jipai,

      Could you give me the full log when you play Ho_One with less than 5
      players ?

      Thanks

      On 18/12/2019 16:40, Jipai wrote:

      Hey Poilou,
      I play with 1, 2, 3 or 4 players , it' is the same problem, more players , it's ok.
      I don't change the options
      😉


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
    • poilou

      poilou - 2019-12-19

      Ok Jipai,

      I think I've fixed the issue you encountered.

      Could you test on actual source code ?

      Thanks for reporting BTW.

      Cheers :)

      On 18/12/2019 16:40, Jipai wrote:

      Hey Poilou,
      I play with 1, 2, 3 or 4 players , it' is the same problem, more players , it's ok.
      I don't change the options
      😉


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Jipai

    Jipai - 2019-12-19

    Hi Poilou,
    I tried with the new source code and same result.
    Here is the log file in 2 pictures

     
  • Anonymous

    Anonymous - 2019-12-19

    i load 1.2.0 beta 1 and change file in the includes folder and in the games folder.
    Where is the beta 3 ? I don't see it

     
    • poilou

      poilou - 2019-12-20

      Hi Jipai,

      Please  always download the full source code. The changes can involve
      other files than the games.

      Cheers

      On 19/12/2019 20:40, noreply@sourceforge.net wrote:

      i load 1.2.0 beta 1 and change file in the includes folder and in the games folder.
      Where is the beta 3 ? I don't see it


      Différentes erreurs


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.