Subdirectories without BUILD-INFO.txt cause Internal Server Errors
Bug #1075999 reported by
Fathi Boudra
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-license-protection |
Fix Released
|
Critical
|
Данило Шеган |
Bug Description
both URLs return an Internal Server Error:
http://
http://
It seems EULA.txt is conflicting with BUILD-INFO.txt.
EULA.txt is created in linaro-
While BUILD-INFO.txt is coming from the build configuration.
I guess we shouldn't create EULA.txt anymore and use BUILD-INFO.txt when applicable.
Related branches
lp:~danilo/linaro-license-protection/bug-1075999
- Stevan Radaković: Approve
-
Diff: 171 lines (+107/-5)3 files modifiedlicense_protected_downloads/tests/__init__.py (+5/-1)
license_protected_downloads/tests/test_views.py (+94/-0)
license_protected_downloads/views.py (+8/-4)
Changed in linaro-android-infrastructure: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Данило Шеган (danilo) |
milestone: | none → 2012.11 |
Changed in linaro-android-infrastructure: | |
status: | Triaged → In Progress |
affects: | linaro-android-infrastructure → linaro-license-protection |
Changed in linaro-license-protection: | |
milestone: | 2012.11 → none |
milestone: | none → 2012.11 |
summary: |
- EULA.txt is conflicting with BUILD-INFO.txt + Subdirectories without BUILD-INFO.txt cause Internal Server Errors |
Changed in linaro-license-protection: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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: python2. 7/dist- packages/ django/ core/handlers/ base.py" in get_response danilo/ linaro/ linaro- license- protection/ both-eula- and-build- info/license_ protected_ downloads/ views.py" in file_server danilo/ linaro/ linaro- license- protection/ both-eula- and-build- info/license_ protected_ downloads/ views.py" in dir_list pathname) danilo/ linaro/ linaro- license- protection/ both-eula- and-build- info/license_ protected_ downloads/ views.py" in is_protected danilo/ linaro/ linaro- license- protection/ both-eula- and-build- info/license_ protected_ downloads/ buildinfo. py" in __init__ danilo/ linaro/ linaro- license- protection/ both-eula- and-build- info/license_ protected_ downloads/ buildinfo. py" in readFile build_info_ file, "r") as infile:
File "/usr/lib/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
404. {'dirlist': dir_list(url, path),
File "/home/
109. license_digest_list = is_protected(
File "/home/
224. build_info = BuildInfo(path)
File "/home/
23. self.readFile()
File "/home/
53. with open(self.
Exception Type: IOError at /98/target/ product/ origen 98/target/ product/ origen/ howto/BUILD- INFO.txt'
Exception Value: [Errno 2] No such file or directory: u'/tmp/