Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
So how exactly do we get this script to run on our Macs?

To start the program:

navigate in Finder to the folder containing the python files
open Terminal.app (in /Applications/Utilities or searchable with Spotlight)
type 'python ' (without quotes but with the trailing space) and then drag the 'run.py' file into the terminal window (this should auto-input the path to the file)
hit enter and follow the on-screen prompts


----------

Getting following error: I am on 10.10. Can you please help?

Select a mode:
1. Monitor models with loud alert
2. Monitor models with quiet beep
3. Mix modes
4. Reload previous search terms
: 1

Enter your 5-digit zip code
: 75024
Traceback (most recent call last):
File "run.py", line 6, in <module>
if __name__ == '__main__': main()
File "run.py", line 4, in main
start()
File "/Users/macair/.Trash/ip6plus-tracker-master/ip6plus_tracker/ip6plus_tracker.py", line 89, in start
target_stores = get_target_stores(zip_code)
File "/Users/macair/.Trash/ip6plus-tracker-master/ip6plus_tracker/location.py", line 21, in get_target_stores
connection.request("GET", '{root}{zip_code}&parts.0=MG502LL%2FA'.format(root=PATH_ROOT, zip_code=zip_code))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

Woah, that's a weird one. I'm not sure if I can troubleshoot a 10.10 issue (since I'm not running it yet), but I'll see if there's anything I find out. Can you type 'python --version' into terminal and tell me what it says?

EDIT: This looks like it's a DNS issue. Are you using alternate DNS servers? Might just need to wait a bit for DNS servers to clear up. Could also be local DNS cache, in which case you could flush it with 'sudo killall -HUP mDNSResponder' but I'd hold off on that.
 


----------



Woah, that's a weird one. I'm not sure if I can troubleshoot a 10.10 issue (since I'm not running it yet), but I'll see if there's anything I find out. Can you type 'python --version' into terminal and tell me what it says?

working on 10.10 for me. Maybe its a permissions thing.. Delete and redownload
 
What would it take to modify it to monitor for the iPhone 6 (non-plus) as well? Been looking at the code but my Python skills are not that good.
 
Tonight 1am order online for in store pickup Saturday

Best Buy Princeton has 2 Pluses in stock
 
Last edited:
This is fixed in that latest version. Sorry, messed up some pathing in cleaning up the file structure.

----------



Sweet. You had the same issue as t3nchu, which I've now fixed in the latest version.

You are THE MAN!!!! This is so awesome. I'm amazed at how smart people can be. I could never figure something like this out.

Thanks again! Now I wait and hope to hear that sweet music (and then run to my laptop!).
 
What would it take to modify it to monitor for the iPhone 6 (non-plus) as well? Been looking at the code but my Python skills are not that good.

I've updated the code to allow for easy enabling. From the new readme:

If you want to track iPhone 6 models, they are listed in the models.py folder in the ip6plus_tracker folder but are currently commented out. If you'd like to enable them, just delete the hashes in front of any you'd like to track.
 
I'm running a script I wrote that refreshes every 20 seconds to check if a specific device becomes available and if so, it send me an email.

If anyone wants me to add them to the list just give me your email and zip code and the iPhone model you're looking for.
Ignore,

Thanks!
 
im looking to buy the phone off contract/full price. i dont want att next and i dont have an upgrade. for the 64gb model, the price everywhere out of contract is $749.99 but how come best buy has it as $799.99? is there a way they can price match or is that just THEIR price?
 
I called best buy they said that best buys don't have the phones and you have to go to the carrier stores...I thought that they had them in store?

I think it depends on the store. The bigger stores in bigger cities most definitely do have them. I got two 128gb 6 pluses today, one in space grey and one in gold.
 
im looking to buy the phone off contract/full price. i dont want att next and i dont have an upgrade. for the 64gb model, the price everywhere out of contract is $749.99 but how come best buy has it as $799.99? is there a way they can price match or is that just THEIR price?

Best buy charges $50 more for full retail. They make their money on upgrades and new lines. Find a different store, the regular 6 is pretty easy to find right now.
 
I'm running a script I wrote that refreshes every 20 seconds to check if a specific device becomes available and if so, it send me an email.

If anyone wants me to add them to the list just give me your email and zip code and the iPhone model you're looking for.


iphone 6 plus 64 gb space gray

78749
 
Last edited:
Best buy charges $50 more for full retail. They make their money on upgrades and new lines. Find a different store, the regular 6 is pretty easy to find right now.

thanks for the response. im in the ny/nj area so its pretty hard. i missed apple today because i cant reserve and pickup out of contract/full retail or so they say. and by the time i got home from work they were sold out.

target wont let me buy full retail at all.
walmart said they only carry 16gb models.

this basically limits me to apple, att (which is a nightmare) and radio shack.

any other suggestions?

i really dont want to pay $50 more than i have to already just to get at best buy.
 
I'm running a script I wrote that refreshes every 20 seconds to check if a specific device becomes available and if so, it send me an email.

If anyone wants me to add them to the list just give me your email and zip code and the iPhone model you're looking for.
Thegap77@gmail.com
95035

IPhone 6 plus ATT or Unlocked

64gb black or gold
 
Last edited:
I'm running a script I wrote that refreshes every 20 seconds to check if a specific device becomes available and if so, it send me an email.

If anyone wants me to add them to the list just give me your email and zip code and the iPhone model you're looking for.

Hi Besto,

Please add me to the list.

AT&T IPhone 6 Plus 64GB Space Gray

zipcode: 90250

MiArc3@gmail.com

Thanks!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.