Jump to content
  • Advertisement
Sign in to follow this  

Python Executables

This topic is 4318 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Im having a problem turning my game into an executable. I am using Python 2.4, py2exe, Pygame, and Livewires. It says this error:
Traceback (most recent call last):
  File "Astrocrash.pyw", line 324, in ?
  File "Astrocrash.pyw", line 321, in main
  File "Astrocrash.pyw", line 253, in play
  File "Astrocrash.pyw", line 298, in advance
  File "livewires\games.pyc", line 769, in __init__
  File "livewires\games.pyc", line 691, in __init__
RuntimeError: default font not found
Exception exceptions.AttributeError: "'Message' object has no attribute '_gone'"
 in <bound method Message.__del__ of <livewires.games.Message object at 0x00B893
B0>> ignored
I dont know why it is saying this. It works fine before I tried to convert it.

Share this post

Link to post
Share on other sites
Ok, I'll post the whole code for you. It isn't my code, its from a book that I am reading. I am just trying to figure out how to make my games into executables.

The code is posted here:

Zymph said that there was a problem witht the font being reconized.

Share this post

Link to post
Share on other sites
Original post by bubu LV
What is in livewires\games.py file in line 691?

Im not entirely sure. Its in the module Livewires. It is just a branch of Pygame I think.
If anyone knows what is wrong, please help me. I have been trying to fix this since Christmas and I havn't been able to figure it out.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!