fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #01430
Re: [Branch ~fenics-core/fenics-doc/1.0] Rev 248: Fix Bug #761516. (python/index.rst incomplete)
On 15 April 2011 18:44, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> I get the error:
>
> File
> "/home/garth/code/fenics/dolfin.d/dolfin-all/local/lib/python2.7/site-packages/dolfin/function/ufc_functionspace.py",
> line 1, in <module>
> import cpp
> ImportError: No module named cpp
I fixed this, we should always use absolute package paths when
importing modules:
http://www.python.org/dev/peps/pep-0008/
Kristian
> Garth
>
>
> On 15/04/11 17:20, noreply@xxxxxxxxxxxxx wrote:
>> ------------------------------------------------------------
>> revno: 248
>> committer: Kristian B. Ølgaard <k.b.oelgaard@xxxxxxxxx>
>> branch nick: 1.0
>> timestamp: Fri 2011-04-15 18:15:43 +0200
>> message:
>> Fix Bug #761516. (python/index.rst incomplete)
>> modified:
>> source/doc/dolfin/programmers-reference/python/index.rst
>> utils/generate_dolfin_python_doc.py
>>
>>
>> --
>> lp:~fenics-core/fenics-doc/1.0
>> https://code.launchpad.net/~fenics-core/fenics-doc/1.0
>>
>> You are subscribed to branch lp:~fenics-core/fenics-doc/1.0.
>> To unsubscribe from this branch go to https://code.launchpad.net/~fenics-core/fenics-doc/1.0/+edit-subscription
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~fenics
> Post to : fenics@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fenics
> More help : https://help.launchpad.net/ListHelp
>
References