SWProxy icon indicating copy to clipboard operation
SWProxy copied to clipboard

SWProxy 0.99.1 - Compiled OSX not working

Open stanleykylee opened this issue 9 years ago • 14 comments

Two issues at hand:

  1. The compiled zip package is missing the plugins folder.
  2. Double clicking the SWProxy file doesn't load the plugin location properly.

stanleykylee avatar Mar 26 '16 18:03 stanleykylee

Created a .command file which will:

  1. Launch a terminal session
  2. Change to the directory in which the script (.command and SWProxy) file is located
  3. Launch SWProxy
RunSWProxy.command
-------------------------------
cd `dirname $0`
`pwd`/SWProxy

Note: OSX terminal by default will launch the terminal session to the user's home directory. Placing the plugins directory in the user's home directory will also work and not require the .command file.

stanleykylee avatar Mar 26 '16 18:03 stanleykylee

Hi,

When i run the command i get this in my terminal, can you give me a hand..?

Error loading Python lib '/var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEI7ueMOb/Python': dlopen(/var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEI7ueMOb/Python, 10): Symbol not found: ___sincos_stret Referenced from: /var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEI7ueMOb/Python Expected in: /usr/lib/libSystem.B.dylib in /var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEI7ueMOb/Python logout

Thank you

Fl3xX avatar Mar 27 '16 10:03 Fl3xX

Are the files extracted from the zip file before you run the .command file? It looks like you're trying to run it from a temporary folder?

stanleykylee avatar Mar 28 '16 05:03 stanleykylee

Yes i Unziped them and they are on my desktop right now. I tried to install the latest version of python but honestly i'm not comfortable on mac at all ... Doesn't have something to do with pythonlib ?

Tell me if you need anything that can help.

Fl3xX avatar Mar 28 '16 07:03 Fl3xX

@Fl3xX I created a new issue for your problem.

stanleykylee avatar Mar 28 '16 19:03 stanleykylee

can we close this ?

fperegrinvs avatar Mar 29 '16 02:03 fperegrinvs

@lstern, yes I guess? @kakaroto didn't like the solution I provided, so technically the issue is still there.

I could open a new issue that specifically refers to the double-clicking as the binary works fine.

stanleykylee avatar Mar 29 '16 05:03 stanleykylee

Let's leave it open for now. I haven't actually tried it on mac or looked at how it runs at all (just what i understood from reading the issue comments), so until I can actually test it and assess what needs to be done (maybe @stanleykylee 's solution is right, I just misunderstood what he did), let's keep it open.

kakaroto avatar Mar 29 '16 13:03 kakaroto

@kakaroto no worries. From my understanding, it's more related to how OSX handles a terminal session when launched by double-clicking that is causing the issue (need for .command file). However, from seeing various issues coming up now, I may need to make my .command file more compatible with older versions of OSX.

In the middle of preparing for final paper and exams, so I'll be in and out for the next two weeks.

stanleykylee avatar Mar 29 '16 16:03 stanleykylee

Just pushed a fix for this to my fork (and pull requested).

OSX binary here: https://github.com/aureus1/SWProxy/releases/tag/OSX_Fix

aureus1 avatar May 19 '16 03:05 aureus1

@aureus1 - Sorry I'm new to the whole SWProxy thing ... what is your fork do? I went to look on the github page but didn't see any readme ...

msteudel avatar May 19 '16 16:05 msteudel

It's basically just how github works - I can't directly make code changes to SWParser as I'm not part of the project, but I can fork it (basically make my own copy), make changes there and request that they get pulled into the main version.

That's what I did here - I copied the project and fixed this issue. The "OSX Binary" link in my original post is a zip containing the version of SWParser that should fix this issue, built for Mac OSX.

On Thu, May 19, 2016 at 12:18 PM, Mark Steudel [email protected] wrote:

@aureus1 https://github.com/aureus1 - Sorry I'm new to the whole SWProxy thing ... what is your fork do? I went to look on the github page but didn't see any readme ...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/kakaroto/SWProxy/issues/55#issuecomment-220376146

aureus1 avatar May 19 '16 16:05 aureus1

Hi guys and thank you for the update and fix, but i have the exact same issue.. I get this when i try to run the swproxy or the .command.

I'm running on OSX 10.6.8 and i installed Xcode . I really need some help to translate what the console said me :) Thanks !

Error loading Python lib '/var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEIW9psS2/Python': dlopen(/var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEIW9psS2/Python, 10): Symbol not found: ___sincos_stret Referenced from: /var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEIW9psS2/Python Expected in: /usr/lib/libSystem.B.dylib in /var/folders/g6/g6xWIqVUGuO6CmDUxKu2Rk+++TI/-Tmp-/_MEIW9psS2/Python logout

Fl3xX avatar May 21 '16 09:05 Fl3xX

@Fl3xX You're going to need OSX 10.9 or later; the compiled version is not compatible with earlier versions.

aureus1 avatar May 22 '16 16:05 aureus1