yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05512
Re: Yade packaging
Hi,
I just started pbuilder as described here
https://yade-dem.org/wiki/DebianPackages
Also I downloaded from PPA the source and got the same error.
The error happened after
sudo pbuilder --build --debbuildopts "-j1 -Zlzma" --basetgz
/var/cache/pbuilder/lucid.tgz yade-0.50_0.50.2-lucid1.dsc
It compiles both "normal" and "debug" versions and building process breaks
because of documentation generation.
The main target is to create a package for Maverick to get an experience,
but I decided to rebuild lucid-version for the start.
There is the output:
____________________________________________________
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
processing Yade.tex... index-toctree introduction formulation user prog
yade.wrapper modules yade.eudoxos yade.linterpolation yade.log yade.pack
yade.plot yade.post2d yade.qt yade.timing yade.utils yade.ymport external
references
resolving references...
Exception occurred:
File "/usr/lib/pymodules/python2.6/docutils/nodes.py", line 537, in
__getitem__
return self.attributes[key]
KeyError: 'refdoc'
The full traceback has been saved in /tmp/sphinx-err-pgpyWO.log, if you want
to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at <
http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <
http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
Traceback (most recent call last):
File "../../debian/yade-0.50/usr/bin/yade-0.50", line 112, in <module>
____________________________________________________
I can not find /tmp/sphinx-err-pgpyWO.log, because Pbuilder cleans the
environment after the process.
Thanks you for help.
Anton
2010/8/15 Václav Šmilauer <eudoxos@xxxxxxxx>
> > I am "playing" with pakaging, and decided to started from 0.50 version
> > for Lucid.
> > And I have got next error, which breaks the process:
> >
> >
> >
> >
> >
> > Traceback (most recent call last):
> > File "../../debian/yade-0.50/usr/bin/yade-0.50", line 112, in
> > <module>
> > execfile(args[0])
> > File "yadeSphinx.py", line 197, in <module>
> > makeBaseClassesClickable((outDir+'/html/yade.wrapper.html' if
> > writer=='html' else outDir+'/latex/Yade.tex'),writer)
> > File "yadeSphinx.py", line 138, in makeBaseClassesClickable
> > for l in open(f):
> > IOError: [Errno 2] No such file or directory: '_build/latex/Yade.tex'
>
> What did you run exactly to get there? What is the full output before
> the error? Normally, sphinx generates _build/latex/Yade.tex which we try
> to fix by seach&replace afterwards.
>
> What kind of packaging you have in mind? (FYI
> https://yade-dem.org/wiki/DebianPackages) Remi is about to take over
> some packaging tasks, so make sure you communicate about what you do in
> order to avoid effort duplication.
>
> Cheers, v.
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References