Error in sphinx output + "make doc" failure on buildbot

Bug #1378717 reported by Bruno Chareyre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Confirmed
Medium
Unassigned

Bug Description

See this question:
https://answers.launchpad.net/yade/+question/255486

Some import issues. I also get some when running yadeSphinx.py locally on ubuntu 12.04.

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

I'm the buildbot and this bug affects me.

See:
https://yade-dem.org/buildbot/builders/yade-full/builds/2794/steps/shell_2/logs/stdio

Quote:
Exception occurred:
  File "conf.py", line 359, in <module>
    import yade.config
ImportError: No module named yade.config

No significant changes in yade/doc recently. How is that possible that the doc build fail?

Changed in yade:
importance: Undecided → Critical
summary: - Error in sphinx output
+ Error in sphinx output + "make doc" failure on buildbot
Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

The problem appeared while switching to "sphinx-build" system call [1]. Anton, could you please have a look?

[1] https://github.com/yade/trunk/commit/48a57fd5461b7afecdd619a3631d3db6410e5c6f

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 1378717] Re: Error in sphinx output + "make doc" failure on buildbot

It seems, this problem is solved in this commit [1]. It was necessary to
do due to changes of new Sphinx.

But we still have some problems with generation of python-code [2].
Something like:

Yade [1]: TriaxialTest(numberOfGrains=200).load()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/home/buildbot/yade/yade-full/install/lib/x86_64-linux-gnu/yade-buildbot/py/yade/__init__.pyc
in <module>()

NameError: name 'yade' is not defined

Yade [2]: len(O.bodies)
Out[2]: 0

[1] https://github.com/yade/trunk/commit/dfbb8dde95d305ed95add159a77d8bcb0b3de935
[2] https://yade-dem.org/doc/introduction.html

Anton

2014-10-14 19:22 GMT+02:00 Bruno Chareyre <email address hidden>:
> The problem appeared while switching to "sphinx-build" system call [1].
> Anton, could you please have a look?
>
> [1]
> https://github.com/yade/trunk/commit/48a57fd5461b7afecdd619a3631d3db6410e5c6f
>
> --
> You received this bug notification because you are subscribed to Yade.
> https://bugs.launchpad.net/bugs/1378717
>
> Title:
> Error in sphinx output + "make doc" failure on buildbot
>
> Status in Yet Another Dynamic Engine:
> New
>
> Bug description:
> See this question:
> https://answers.launchpad.net/yade/+question/255486
>
> Some import issues. I also get some when running yadeSphinx.py locally
> on ubuntu 12.04.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1378717/+subscriptions

Revision history for this message
Anton Gladky (gladky-anton) wrote :

The fix for this bug is done partly. Thus I am not closing it but reduce the severity. Need to fix it completely.

Changed in yade:
importance: Critical → Medium
Revision history for this message
Jérôme Duriez (jduriez) wrote :

See also https://bugs.launchpad.net/yade/+bug/1455621, comment #1 at least ?

Changed in yade:
status: New → Confirmed
Revision history for this message
Janek Kozicki (cosurgi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers