Menu

No run

Anonymous
2015-06-30
2015-06-30
  • Anonymous

    Anonymous - 2015-06-30

    Hi,

    Before my questions, thanks for your work with GW-BASIC in PC-BASIC, and to do this as open source.

    I am a debian GNU/Linux amd64 user, and I'm trying make it run, but I'm not having success.

    When I try to run it, I'm receiving error's messages. Results can be see below.

    Results:

    $ /usr/bin/pcbasic
    WARNING: PyGame module not found. Failed to initialise graphical interface.
    Traceback (most recent call last):
      File "<string>", line 282, in <module>
      File "<string>", line 51, in main
      File "<string>", line 119, in start_basic
      File "<string>", line 227, in prepare_console
      File "/home/rob/Projects/basic-project/pc-basic/packaging/linux/build/installer/out00-PYZ.pyz/video_pygame", line 477, in close
    AttributeError: 'NoneType' object has no attribute 'joystick'

    Please, I need help! Can you help me?
    Cordially,

    Leonardo Reis,Student of Mining Engineering.
    e-mail: leobr@ymail.com
    ICQ: 350512263


    Strength and Honor
    Freedom with Free Software.
    debian GNU/Linux.

     
  • Rob Hagemans

    Rob Hagemans - 2015-06-30

    Hi Leonardo, thanks for reporting!

    It shouldn't crash there, so I'll have a look into fixing that bug. However, I think we can make it work with the current release (I develop PC-BASIC on Ubuntu amd64 and it works for me, so in theory it's possible ;).

    I see you're working with a pyinstaller-based packaged release (perhaps release 15.03.3 ?) which I found out is rather badly broken on Linux - it works on some debian systems but not others, I don't know why, and it's a mess. So I've released a slightly updated version 15.03.4 which does away with pyinstaller for Linux.

    Could you try uninstalling your current version using the uninstall.sh script and installing the new release from https://github.com/robhagemans/pcbasic/releases/tag/15.03.4 ?

    You'll need the .tgz archive which includes an install script that deals with dependencies on Debian.

    Please let me know how it goes, so I can make sure the process is as smooth as possible!

    Rob