Build system tries to find a title line for non-text files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Help App |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using this branch: https:/
make web
make -C edit-here web
make[1]: Entering directory '/tmp/help/
./generate-
Traceback (most recent call last):
File "./generate-
main()
File "./generate-
translation
File "/tmp/help/
self.
File "/tmp/help/
title_line = output.
IndexError: list index out of range
Makefile:67: recipe for target 'web' failed
make[1]: *** [web] Error 1
make[1]: Leaving directory '/tmp/help/
Makefile:20: recipe for target 'web' failed
make: *** [web] Error 2
It seems that the folder added to contain the gif file is scanned on build, and the build system gets confused about not finding a Title: line for the gif file?
Related branches
- David Planella: Approve
-
Diff: 13 lines (+2/-1)1 file modifiededit-here/translations.py (+2/-1)
Changed in help-app: | |
status: | New → Fix Released |
This is a bug, and I'll propose a fix for it in the bit.
For images to work, we will have to define STATIC_PATHS like specified in http:// docs.getpelican .com/en/ latest/ settings. html