gaudiatech/pyved-engine

requests error

wkta opened this issue · 4 comments

wkta commented

when katasdk is used "on thonny"
it seems to raise an error related to the requests package

requests-err

Thonny is an Python (Python 3.7 in this case) integrated development environment (IDE). See: https://thonny.org/
The error when exporting to webtest occurs after installing katasdk in Thonny plug-ins.

To make it work again, you have to reinstall katasdk with pip install katasdk --force-reinstall

wkta commented

Thank you very much for pointing out the bug and letting me know about users who like to use the Thonny IDE.

I 'll analyze this again (after the very long wait) as a new version of the game engine will be released soon.
Right now:

  • I am testing the tool along with Thonny 4.1.4.
  • installing the package (new name: pyved_engine) works fine
  • you can also initialize a new game by using the pyv-cli init myBundle command, after clicking Tools -> Open system shell in the IDE
  • if one opens launch_game.py and Execute that launcher script, everything works as intended, the game runs properly

But a new variant of the problem apeears when trying to share the web version of your game…
(Example below)
image

We will fix that bug very soon.