Hi Zach,

Can you try with Sphinx 1.3b3 and see if that fixes things?

Cheers

Peter

Sent from my iPhone

On 9 Mar 2015, at 22:51, Zach Davis <[email protected]<mailto:[email protected]>> 
wrote:


Hi Peter,

That seems to have resolved my earlier issue—thanks! I’ve got another one with 
regards to generating the documentation:

(venv)[zdavis@Minerva doc]$ make latexpdf

sphinx-build -b latex -d build/doctrees   src build/latex

Making output directory...

Running Sphinx v1.2.3


Exception occurred:

  File 
"/Users/zdavis/Applications/PyFR/venv/lib/python3.4/site-packages/sphinx/application.py",
 line 333, in setup_extension

    mod = __import__(extension, None, None, ['setup'])

  File "/Users/zdavis/Applications/PyFR/doc/ext/tikz.py", line 166

    except OSError, err:

                  ^

SyntaxError: invalid syntax

The full traceback has been saved in 
/var/folders/x1/5xnw6dh50s78d6hcc234g8vh0000gn/T/sphinx-err-w21_0s8_.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.

A bug report can be filed in the tracker at 
<https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!

make: *** [latexpdf] Error 1

Best Regards,


Zach Davis
________________________________

[Rescale]       Rescale, Inc.
944 Market Street, Ste. 300
San Francisco, CA 94102

[email protected]<mailto:[email protected]>
P: (855) 737-2253

On Mar 9, 2015, at 11:28 AM, Vincent, Peter E 
<[email protected]<mailto:[email protected]>> wrote:

Hi Zach,

To avoid conflicts between different version of python and other dependencies I 
would suggest using virtualenv:

http://docs.python-guide.org/en/latest/dev/virtualenvs/

I am planning to add something to the User Guide in the near future suggesting 
the use of virtualenvs.

Cheers

Peter

Dr Peter Vincent MSci ARCS DIC PhD
Senior Lecturer and EPSRC Early Career Fellow
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ
UK

web: 
www.imperial.ac.uk/aeronautics/research/vincentlab<http://www.imperial.ac.uk/aeronautics/research/vincentlab>
twitter: @Vincent_Lab<https://twitter.com/Vincent_Lab>





On 9 Mar 2015, at 18:02, Zach Davis <[email protected]<mailto:[email protected]>> 
wrote:

Peter, Freddie, et. al.,



I’m getting an error when attempting to make the documentation or run the 
pyfr/main.py scripts. I believe it may be due to the new python 3.3 dependency, 
but I wasn’t certain. If I have both python and python3 executables installed 
on my system pointing to 2.7.9 and 3.4.2; respectively, how do I ensure that 
PyFR uses python3 instead of python? The stack trace for the error I’m seeing 
is as follows:

Traceback (most recent call last):
  File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr", line 6, in <module>
    import pyfr.scripts.mesh
  File "/Users/zdavis/Applications/PyFR/pyfr/scripts/mesh.py", line 10, in 
<module>
    from pyfr.readers import BaseReader, get_reader_by_name, get_reader_by_extn
  File "/Users/zdavis/Applications/PyFR/pyfr/readers/__init__.py", line 3, in 
<module>
    from pyfr.readers.base import BaseReader
  File "/Users/zdavis/Applications/PyFR/pyfr/readers/base.py", line 10
    class BaseReader(object, metaclass=ABCMeta):
                                      ^
SyntaxError: invalid syntax


Best Regards,




Zach Davis
________________________________

[Rescale]       Rescale, Inc.
944 Market Street, Ste. 300
San Francisco, CA 94102

[email protected]<mailto:[email protected]>
P: (855) 737-2253


--
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to