amleszk / appdailysales

Automatically exported from code.google.com/p/appdailysales
0 stars 0 forks source link

Apple Induced Breakage #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. appdailsales.py -D 02/25/2010
2.
3.

What is the expected output? What do you see instead?

$ ./appdailysales.py -D 02/25/2010
Traceback (most recent call last):
  File "./appdailysales.py", line 354, in <module>
    sys.exit(main())
  File "./appdailysales.py", line 347, in main
    downloadFile(options)
  File "./appdailysales.py", line 240, in downloadFile
    urlDownload = urlBase % form['action']
TypeError: 'NoneType' object is unsubscriptable

What version of the product are you using? On what operating system?
Version 1.9, Mac OSX 10.6.mumble

Please provide any additional information below.

Apple has interposed a new page between "Sales And Trends" and the expected
page in order to advise developers that data from 02/25/2010 is currently
unavailable.  Since this page is unexpected, appdailysales blows up:

  form = soup.find( 'form', attrs={'name': 'frmVendorPage' } )

form is None since those attrs are not present in the interposed page.

I am under the impression that the interposed page is a temporary
situation, so this issue is more to reassure other folks rather than a
petition for change. 

Original issue reported on code.google.com by erik.osh...@gmail.com on 26 Feb 2010 at 6:58

GoogleCodeExporter commented 8 years ago
You are correct. Apple has introduced a new web page informing iTunes Connect 
users 
that non-app developer related daily sales report files are delayed. 
Unfortunately I have 
not had time to work on a fix today. I'm hoping to get to it later today or 
tomorrow 
before the new web page is removed. 

Original comment by ki...@thecave.com on 26 Feb 2010 at 7:52

GoogleCodeExporter commented 8 years ago
Apple removed the temporary web page before I could make the code change and 
test. 
I'm closing this case and will try to react faster should the temporary web 
page ever 
return.

Original comment by ki...@thecave.com on 27 Feb 2010 at 2:33