! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unable to build docs
Status:
RESOLVED: FIXED
Product:
thunarx-python
Component:
general

Comments

Description ToZ editbugs 2018-02-04 20:44:05 CET
Created attachment 7577 
Fix building docs

When building thunarx-python from git with "--enable-gtk-doc", the following error is dispalyed:

Making all in docs
make[2]: Entering directory '/home/toz/Development/Xfce/thunarx-python/docs'
/bin/python -c 'import datetime; print datetime.date.today()' > reference/builddate.xml
  File "<string>", line 1
    import datetime; print datetime.date.today()
                                  ^
SyntaxError: invalid syntax
make[2]: *** [Makefile:594: reference/builddate.xml] Error 1
make[2]: Leaving directory '/home/toz/Development/Xfce/thunarx-python/docs'
make[1]: *** [Makefile:441: all-recursive] Error 1
make[1]: Leaving directory '/home/toz/Development/Xfce/thunarx-python'
make: *** [Makefile:371: all] Error 2


The attached patch fixes the issue and allows the documentation to be built.
Comment 1 Adam Plumb editbugs 2018-02-13 02:29:39 CET
Thanks, fixed in master.

Bug #14199

Reported by:
ToZ
Reported on: 2018-02-04
Last modified on: 2018-02-13

People

Assignee:
Adam Plumb
CC List:
1 user

Version

Version:
v0.4.0

Attachments

Fix building docs (443 bytes, patch)
2018-02-04 20:44 CET , ToZ
no flags

Additional information