GithubHelp home page GithubHelp logo

Comments (3)

PeteAndersen avatar PeteAndersen commented on September 10, 2024

Unfortunately I don't think any of us have macs to test with. We can still try to debug it though. Can you try running the proxy without any plugins installed? If it works, add the plugins back one by one to see if we can narrow it down.

If the proxy doesn't work without plugins, does the upstream repo work? https://github.com/kakaroto/SWProxy/releases/latest

from swproxy-plugins.

RaphaelDDL avatar RaphaelDDL commented on September 10, 2024

I downloaded the upstream and tried to run python SWProxy.py and same thing.. Dies with 11.
In fact, the upstream version was the one I was using couple months ago (as I mentioned in OP).

Just to make sure, I even commented L8 from SWPlugin import * and L110-111. I even tried to install python3 just to test but as expected, syntax errors broke the script before running.

After re-reading the call stack, it was crashing on PyQt4.QtCore, so I tried without the gui (-g flag) and it didn't crash and printed the IP:port. I'm at work right now so I can't test if is indeed working, but seems the one who broke when upgrading to Sierra wasn't the proxy per se, but the GUI.

I have latest pyqt (4.11.4) therefore gui code and/or pytq on Sierra is broken :(

Should I report that to upstream or is that something you guys look into to? (since I guess we think GUI is a plugin)

from swproxy-plugins.

RaphaelDDL avatar RaphaelDDL commented on September 10, 2024

Okay, so after second thoughts, I tried:

brew install pyqt
Warning: homebrew/boneyard/pyqt-4.11.4 already installed

Which is ok, but then I thought about dependencies, so I did brew reinstall pyqt. It redownloaded all the stuff (qt5 5.8.0_1.sierra) and guess what, I got an error by the end:

Error: pyqt was moved to homebrew-boneyard because it has unfixable issues.
Please do not file any issues about this. Sorry!

Checking brew's Homebrew/homebrew-core#1705 showed this: * pyqt - Lost cause. Already have PyQt5 for Qt5 support.. Guess pyqt is broken for good on Sierra lol.

I installed the other brew formula, pyqt5 (which downloads [email protected]) but SWProxy fails to import PyQt. I tried changing PyQt4 import references to PyQt or PyQt5 on gui.py, MainWndow.py and SWProxy.py but ondy difference was that now it falls on except rather than crashing, which means the import is wrong.

Do you know how to make the changes in order to test on pyqt5? If works, maybe would be good to use https://github.com/spyder-ide/qtpy in order to use pyqt5 on sierra and qt4 on lower (and other systems), or just entirely move to qt5 :P

from swproxy-plugins.

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.