Home Forums Software osPID_FrontEnd

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • Brett
    Keymaster
    Post count: 101

    I’m really scraping the bottom of the barrel here, but can you confirm that you’re using version 0.5.4 of the controlp5 library?

    2lostkiwis
    Participant
    Post count: 5

    @Brett wrote:

    I’m really scraping the bottom of the barrel here, but can you confirm that you’re using version 0.5.4 of the controlp5 library?

    Hi Brett,

    Just downloaded osPID-osPID-Front-End-69c3a6b.zip and had similar problems mentioned in this thread. Had to copy the profiles directory to the applications folder, not ideal but workable for the moment. Application still doesn’t run, so tried to debug under processing (first time I have used it). I can confirm I have v0.5.4 of the controlP5 library installed.

    First problem is on line 114 of osPID_FrontEnd.pde:

    ReadProfiles(curDir+"\profiles");

    The ends up passing the path of /Applicationsprofiles to the function which is invalid on OS X. Changing the \profiles to /profiles got past this.

    A similar problem exists on line 44 of SPProfile.pde:

    profs = CreateProfile(directory+"\"+files); 

    After making these changes the application now runs, and the graphs are updated. Not sure how to fix this to be cross platform though.

    Cheers,
    Ian.

    Brett
    Keymaster
    Post count: 101

    Ian, thanks so much for doing the leg work on this bug. I’ve just committed a change to github. I replaced the “\” with File.separator. at runtime the application should now choose the correct slash depending on the operating system.

    of course I can only confirm that this works on Windows, but I’m pretty confident that this is the solution.

    2lostkiwis
    Participant
    Post count: 5

    @Brett wrote:

    Ian, thanks so much for doing the leg work on this bug. I’ve just committed a change to github. I replaced the “\” with File.separator. at runtime the application should now choose the correct slash depending on the operating system.
    of course I can only confirm that this works on Windows, but I’m pretty confident that this is the solution.

    Hi Brett, no problems – thanks for your all your work too 🙂
    osPID-osPID-Front-End-57b5854 works for me fine now.
    Cheers, Ian.

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.