Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Will pay someone to fix this script error please

If you have a question or need help, this is the place to be.
Post Reply
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Will pay someone to fix this script error please

Post by mikehende »

Hey guys, some years ago a member here had written an EG script for me for my specific DJ software, to control that software's main controls with a handheld remote.

It still works fine on my pc's win7 machine so nothing's wrong with the script itself but I have just created a partition on my Macbook Pro and installed windows 7 on it. When I first opened my music player the remote's controls worked right away then stopped and I can't get it to work. EG is receiving the error messages with each press of any key on the remote. If anyone can help me fix whatever the issue may be I would gladly pay for the help?

p.s. I have sent a pm to the person who had helped by writing the script for me but I haven't heard from him so don't know if he is still here which is why I am posting openly here for help.
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

Can you attach the script?
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

Hello thanks, this is the original script, I can also attach a script with the error messages?
EG-OTSAV.xml
(2.57 KiB) Downloaded 56 times
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

Yes, please attach a screenshot or txt of the error your getting. It looks like this is setup to control your DJ gear over http. So my first guess would be some sort of firewall blocking the cmds on your macbook win7boot. See if turning off the firewall doesn't solve it.
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

ok, please see attached. I pressed a few of the regular functions on the remote.
errors.xml
(2.57 KiB) Downloaded 72 times
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

the xml you posted won't contain the errors you receive in the log. It just houses your EG configuration. Can you copy/paste the errors your getting in the log? Select the log text then right click/copy, then paste it here. Since this is communicating over http. I'm fairly certain it's a networking issue, maybe the firewall. You can try disabling the firewall on your win7 macbook boot & see if that solves it.
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

I turned off the firewall but same deal
Screenshot_1.png
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

That error is saying it's a non reachable host. Are you running the dj software on the same win7 install that EG is on? I ask because the ip your using 127.0.0.1 is for a localhost connection,. Ie, the same pc. If the dj software is on another pc, the ip will need to be changed.
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

The EG script was written for my old windows 7 pc a few years ago but now I had to get a macbook to run Serato DJ software. So I created a partition on the macbook and installed windows 7 to use the windows based music software [OTSAV DJ] so I can still use the remote with it. On the windows side of the mac I installed EG and copied the same EG script unto the desktop from my old windows pc so that's where I'm at.

I am not all that knowledgeable about networking unfortunately but I can ask for help on the networking forums so is this the situation that I will need to manually change the Macbook's ip address to this address? 127.0.0.1
If yes, would I still be able to connect to my router/wifi withoput any issues please? Or would I need to change something in the EG script? Any help/advice will be greatly appreciated.
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

No, no. You would just need to change the ip in the xml you posted. It should work as is the way your describing it. We just need to figure out why it's not able to reach the dj software. Let me think about it a bit more. Maybe someone else will chime in with a solution.
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

Thx. Not rushing you in any way, just wondering if the "port 80" showing in the EG script might be the issue? If yes, should I try changing it to the same ipv4 ip address showing on the mac?
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

If it worked originally on port 80, it shouldn't need changing. I'll see what I can dig up on the dj software api though. I'm wondering if http control needs to be enabled in the software settings.
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

Okay, try opening this url in a web browser while your dj software is playing & from the same macbook win7 boot. Let me know if it gives an error message. http://127.0.0.1:80/x/playing.cgi?c=stop
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will pay someone to fix this script error please

Post by mikehende »

Yes, it stopped OTSAV and error just shows "OTSAV is stopped"
User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Will pay someone to fix this script error please

Post by yokel22 »

So it worked as it should, the music stopped? That narrows it down. It's a issue with EG/urllib then.
Post Reply