Re: [Yade-users] [Question #482687]: make doc error

2017-02-28 Thread hjz
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

hjz posted a new comment:
Well, when I saw a new folder-sphinx was generated in the doc/sphinx
folder, I thought simply that I was successful.  There was not a pdf
file generated indeed.  I would try again with the xelatex compiler.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-27 Thread Anton Gladky
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Anton Gladky posted a new comment:
Well, it was planned to replace the documentation generation by a a
simple "make doc". I do not remember why, but it did not worked well
everywhere. That is why we still have "yade yadeSphinx"  magic in
debian builds.

"make doc" is supposed to be executed __only__ in build directory, and
it must not be the same as a source one.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-27 Thread Bruno Chareyre
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Bruno Chareyre posted a new comment:
Does #4 really answer the question??
I would think the real problem was this:
/bin/sh: 1: xelatex: not found

You need xelatex compiler to generate the pdf.

Bruno

p.s. @Jan, Anton, I found that the old "PYTHONPATH=. yade-trunk -x
yadeSphinx.py" was not working some time ago, and that only "make doc"
was doing the job correctly, but it depends on many things IIRC (for
instance executing the command in trunk/doc or in build/doc is not
necessarily the same).

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-26 Thread hjz
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Status: Answered => Solved

hjz confirmed that the question is solved:
Thanks Anton Gladky, that solved my question.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-26 Thread Anton Gladky
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Status: Open => Answered

Anton Gladky proposed the following answer:
You do not need to install Sphinx from external repository.
That requirement in README is obsolete and only for
very old distributions.

Regards

Anton

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-26 Thread hjz
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Status: Answered => Open

hjz is still having a problem:
Hi Jan,
  Maybe a firewall happened to me. When I executed the code: sudo 
apt-add-repository ppa:yade-users/external & sudo apt-get update, a warning 
came out: the repository “http://ppa.launchpad.net/yade-users/external/ubuntu 
xenial Release” does not have a Release file.
  So, if I don't install the doc, it wouldn't influence me in using the 
YADE, would it?
Best wishes
hjz

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-26 Thread hjz
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

hjz posted a new comment:
Hi Jan,
  Maybe a firewall happened to me. When I executed the code: sudo 
apt-add-repository ppa:yade-users/external & sudo apt-get update, a warning 
came out: the repository  “http://ppa.launchpad.net/yade-users/external/ubuntu 
xenial Release” does not have a Release file.
  So, if I don't install the doc, it wouldn't influence me in using the 
YADE, would it?
Best wishes
hjz

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #482687]: make doc error

2017-02-24 Thread Jan Stránský
Question #482687 on Yade changed:
https://answers.launchpad.net/yade/+question/482687

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
have you read yade/doc/sphinx/README ? I create documentation with
command(s)

cd /path/to/yade/doc/sphinx
PYTHONPATH=. yade-trunk -x yadeSphinx.py

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #482687]: make doc error

2017-02-24 Thread hjz
New question #482687 on Yade:
https://answers.launchpad.net/yade/+question/482687

Hi Yaders,
  After executing the order 'make install', installing yade by source code, 
I would like to build the documentation. But when I execute 'make doc', the 
errors come out. I would like to know how to solve it. And if it couldn't be 
solved, these errors have influence in using Yade?

  This is the output in the terminal:

hjz@hjz-ubuntu:~/yade2017/build$ sudo make doc
Scanning dependencies of target doc
Welcome to Yade 2017.01a 
TCP python prompt on localhost:9000, auth cookie `dakuse'
XMLRPC info provider on http://localhost:21000
Running script yadeSphinx.py
warning: unable to convert `\araa'
warning: unable to convert `\aj'
warning: reference `dec' undefined
warning: unable to convert `\aap'
warning: reference `aug' undefined
Running Sphinx v1.3.6
WARNING: the config value 'my_maketitle' is set to a string with non-ASCII 
characters; this can lead to Unicode errors occurring. Please use Unicode 
strings, e.g. u'Content'.
WARNING: extension 'youtube' has no setup() function; is it really a Sphinx 
extension module?
building [mo]: all of 0 po files
building [html]: all source files
updating environment: 39 added, 0 changed, 0 removed
reading sources... [ 33%] introduction  

>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/introduction.rst at block 
ending on line 117
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
NameError Traceback (most recent call last)
/home/hjz/yade2017/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
 in ()

NameError: name 'yade' is not defined
<<<-



>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/introduction.rst at block 
ending on line 321
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
IndexErrorTraceback (most recent call last)
/home/hjz/yade2017/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
 in ()
> 1 O.bodies[100]

IndexError: Body id out of range.
<<<-



>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/introduction.rst at block 
ending on line 327
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
IndexErrorTraceback (most recent call last)
/home/hjz/yade2017/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
 in ()
> 1 O.bodies.append(s)

IndexError: Body already has id 0 set; appending such body (for the second 
time) is not allowed.
<<<-



>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/introduction.rst at block 
ending on line 382
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
IndexErrorTraceback (most recent call last)
/home/hjz/yade2017/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
 in ()
> 1 O.interactions[100,10111]

IndexError: No such interaction
<<<-



>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/introduction.rst at block 
ending on line 399
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
NameError Traceback (most recent call last)
/home/hjz/yade2017/install/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py
 in ()
> 1 O.forces.addF(0,Vector3(1,2,3))

NameError: name 'Vector3' is not defined
<<<-

reading sources... [ 38%] prog  

>>>-
Exception in /home/hjz/yade2017/build/doc/sphinx/prog.rst at block ending on 
line 405
Specify :okexcept: as an option in the ipython:: block to suppress this message
---
NameError