Git Product home page Git Product logo

Comments (8)

gen2brain avatar gen2brain commented on August 23, 2024

If you are to start from current dir (./m64py) then you need just build_qt, not install.
Do you have pyrcc4 in PATH?

from mupen64plus-ui-python.

aaroneusthegreat avatar aaroneusthegreat commented on August 23, 2024

I am not sure if I do have pyrcc4 in my path, I echoed the $PATH environment variable but didn't see anything in there about pyrcc4. I also googled around and I haven't found out how I would go about exporting the proper stuff to the path.

from mupen64plus-ui-python.

gen2brain avatar gen2brain commented on August 23, 2024

Do you have it installed? It is needed in order to build qt resource files.

from mupen64plus-ui-python.

aaroneusthegreat avatar aaroneusthegreat commented on August 23, 2024

It is installed. As a test I tried this:

PATH=$PATH:/usr/bin/pyrcc4

to export it to my path (I found the binary with locate earlier)
and then re-ran

python setup.py build_qt

Then I tried to run the generated executable and this happened:

pi@raspberrypi ~/m64py/mupen64plus-ui-python $ ./m64py


| / |_ _ _ __ ___ _ __ / /_ | || | | _ | |_ _ ___
| |/| | | | | '_ \ / _ \ '_ | '_ | || || |) | | | | / |
| | | | || | |) | __/ | | | (_) |
| __/| | || __ \
|| ||,| ./ _|| ||**/ || || ||**,|/
|
|

M64Py - A frontend for Mupen64Plus version 0.2.2

Frontend: INFO: ScreenSaver not available: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files

Which is the same problem I got from the precompiled binaries, and the reason that I pulled the source in the first place, so I'm now back to square one. Any ideas?

EDIT: I also re-ran the "python setup.py install" option and it seems to have completed successfully, but the binary still generates the error listed above, but it does seem to be progress, because the setup script didn't seem to get this far before.

from mupen64plus-ui-python.

 avatar commented on August 23, 2024

There is not a single information about the crash in this bug. Please provide backtraces. Does it work with the mupen64plus-ui-console program (executable is only called mupen64plus in your installation)? Do you see at least the Qt4 GUI opening or stops it even before that?

Btw. there are no precompiled binaries for raspberry pi? Where did you get them?

from mupen64plus-ui-python.

aaroneusthegreat avatar aaroneusthegreat commented on August 23, 2024

I downloaded the source and compiled it. This error is all the information I know how to provide. Where would the backtrace information be logged?

from mupen64plus-ui-python.

 avatar commented on August 23, 2024

Python prints them starting with "Traceback (most recent call last):". If it is not there then your python version may be broken. You can also try to run it in gdb with python support (needs current m64py from git):

sudo apt-get install python3-dbg gdb python3-sip-dbg python3-pyqt4-dbg python3-pyqt4.qtopengl-dbg
/usr/bin/python3 setup.py build
gdb -ex r --args /usr/bin/python3-dbg ./m64py --sdl2

When it crashes then you can use the commands "bt full" and "py-bt" to get a backtrace.

from mupen64plus-ui-python.

gen2brain avatar gen2brain commented on August 23, 2024

Closing this. Please open new issue if it happens again, with new information.

from mupen64plus-ui-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.