Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, thank you for looking into our tool! Did the tool visibly crash or simply nothing happened after clicking generate? Because the only way to enter the input is to press Enter, after each input, and that can be a bit unintuitive at times.

It visibly crashed, and I had to restart it to try again.

I can't replicate the error, and we tried on 3 different computers. If you are curious about what it's happening, as we are, could you run the program through the command line and tell us what you saw? We would be grateful for that :)

Sure thing; looks like it's a name length issue from the stacktrace, so probably only repros with certain names:

$ ./Generator.exe
pygame 2.0.1 (SDL 2.0.14, Python 3.9.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\catar\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 81, in run
  File "C:\Users\catar\AppData\Local\Programs\Python\Python39\lib\site-packages\cx_Freeze\initscripts\Console.py", line 36, in run
  File "Generator.py", line 44, in <module>
  File "Generator.py", line 40, in run_loop
  File "D:\OneDrive\ToolJam2021\PygameCode\TextAndImages.py", line 354, in input_screen
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
  File "<frozen zipimport>", line 259, in load_module
  File "D:\OneDrive\ToolJam2021\PygameCode\Exporter.py", line 69, in <module>
  File "D:\OneDrive\ToolJam2021\PygameCode\Exporter.py", line 41, in generatePersonSheet
  File "C:\Users\catar\AppData\Local\Programs\Python\Python39\lib\site-packages\xlsxwriter\workbook.py", line 186, in add_worksheet
  File "C:\Users\catar\AppData\Local\Programs\Python\Python39\lib\site-packages\xlsxwriter\workbook.py", line 762, in _add_sheet
  File "C:\Users\catar\AppData\Local\Programs\Python\Python39\lib\site-packages\xlsxwriter\workbook.py", line 811, in _check_sheetname
xlsxwriter.exceptions.InvalidWorksheetName: Excel worksheet name 'Michele (the custom dynasty two)' must be <= 31 chars.
(+2)

Curious, the problem seems to be with the excel output. We will try to avoid this in the next update. Thank you a lot for your help!