Recent content by gpstrack

  1. G

    Receiving uploaded GPRS data through a socket (Python)

    Misson. Just thought I would let you know, I got a machine with a static IP from my university and I have my script running on the server. I have my GPRS device configured the send the data to my IP and port.. and it works perfectly! :biggrin: Thanks for the help.
  2. G

    Receiving uploaded GPRS data through a socket (Python)

    Ok, thanks! That sounds possible :biggrin: Cheers for the help, I'll let you know if I get anywhere!
  3. G

    Receiving uploaded GPRS data through a socket (Python)

    There is a barcode on the inside: 353686000049640 and absolutely nothing else :happysad: NAT I think and no shell access! If I was going to pay for hosting, what do you think I would need on the hosting package to be able to run a simple script (similar to above)? Would it work if I paid for a...
  4. G

    Receiving uploaded GPRS data through a socket (Python)

    I'm on my university network so I don't have a static IP and I'm behind a proxy. The device only works with IPs. It has no name and VERY limited documentation: GPS asset tracker I thought that might be the case! Just trying to keep costs down.
  5. G

    Receiving uploaded GPRS data through a socket (Python)

    Thanks for the help, again. The problem here is that I can't put a client on the GPRS device. It just sends the data to whatever IP/port that it is told to. It might send data once every minute for five minutes and then stop. I need a script that monitors the port, and when the device sends...
  6. G

    Receiving uploaded GPRS data through a socket (Python)

    I am trying to develop a script that runs on my server that receives and processes data uploaded from a GPRS device. The GPRS device allows me to set the IP address and port number. First of all, I just want the script to acknowledge that the GPRS device has connected to it. At the moment, on...
  7. G

    Python - shebang line not working

    that solved it. i uploaded the file with command line FTP and set the mode to ASCII. cheers misson!
  8. G

    Python - shebang line not working

    Thanks descalzo I have the Addhandler thing done, and the script is in cgi-bin. 0755, also done. and 0777. still no good. Anybody else have any thoughts? I will try again tomorrow, just incase the python server is down or whatnot.
  9. G

    Python - shebang line not working

    I have tried both shebang lines separately: #!/usr/bin/python #!/usr/bin/env python with the following script: print "Content-type: text/plain\n\n" def hi(): print "hello" hi() Both times I get a 500 error. When I setup a cron to email me the output, I get an error saying...
  10. G

    How to run Python on X10Hosting

    The email is sends to me is giving me an error saying: /usr/bin/env: python : No such file or directory Any ideas?
Top