Code Monkey home page Code Monkey logo

Comments (4)

twiddli avatar twiddli commented on June 2, 2024

This seems to be a mac-only issue. The fix should be simple:
On line 19 after QPropertyAnimation but before the parentheses, set a comma and then write QByteArray.
So it should look like this: QPropertyAnimaton, QByteArray).

After that go to line 439 and at the end replace 'minimumHeight' with QByteArray('minimumHeight')

I haven't tested this. I'm at the phone so I can't provide the code, but this should fix the issue. You'll have to wait till I get home if it doesn't work.

from happypanda.

wickedwzrd avatar wickedwzrd commented on June 2, 2024

Still doesn't work. I got this error now:
File "/Users/thomas/HappyPanda/happypanda-master/version/misc.py", line 439, in init
self.slide_animation = QPropertyAnimation(self, QByteArray('minimumHeight'))
TypeError: arguments did not match any overloaded call:
QByteArray(): too many arguments
QByteArray(int, str): argument 1 has unexpected type 'str'
QByteArray(QByteArray): argument 1 has unexpected type 'str'

from happypanda.

twiddli avatar twiddli commented on June 2, 2024

Alright, I'm home.
I pushed some changes to the master branch. If you cloned the repo, then do a git pull.
If not, go and redownload the misc.py file here.
Like I previously mentioned, this seems to be a mac-only issue. I couldn't really test for any faults or anything, but I think everything should be fixed now;

from happypanda.

wickedwzrd avatar wickedwzrd commented on June 2, 2024

Yup looks like everything seems to be fixed. Thanks for the help.

from happypanda.

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.