Comment 1 for bug 1075999

Revision history for this message
Данило Шеган (danilo) wrote : Re: EULA.txt is conflicting with BUILD-INFO.txt

To add a bit of debugging info: if we look at http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/44/MANIFEST and http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/98/MANIFEST, we can see the list of files being generated.

As such, it's possible that HOWTO support is actually to blame for this.

Copying the files locally in the same structure gives me this:

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/danilo/linaro/linaro-license-protection/both-eula-and-build-info/license_protected_downloads/views.py" in file_server
  404. {'dirlist': dir_list(url, path),
File "/home/danilo/linaro/linaro-license-protection/both-eula-and-build-info/license_protected_downloads/views.py" in dir_list
  109. license_digest_list = is_protected(pathname)
File "/home/danilo/linaro/linaro-license-protection/both-eula-and-build-info/license_protected_downloads/views.py" in is_protected
  224. build_info = BuildInfo(path)
File "/home/danilo/linaro/linaro-license-protection/both-eula-and-build-info/license_protected_downloads/buildinfo.py" in __init__
  23. self.readFile()
File "/home/danilo/linaro/linaro-license-protection/both-eula-and-build-info/license_protected_downloads/buildinfo.py" in readFile
  53. with open(self.build_info_file, "r") as infile:

Exception Type: IOError at /98/target/product/origen
Exception Value: [Errno 2] No such file or directory: u'/tmp/98/target/product/origen/howto/BUILD-INFO.txt'