The *sphinx-quickstart* on my Mac was without errors.

christians-air:~ Chris$ sudo port select --set python2 python27

Selecting 'python36' for 'python2' succeeded. 'python27' is now active.

christians-air:~ Chris$ sudo port select --set sphinx p27-sphinx

Selecting 'p36-sphinx' for 'sphinx' succeeded. 'p27-sphinx' is now active.

christians-air:~ Chris$ which sphinx-quickstart

/opt/local/bin/sphinx-quickstart

christians-air:~ Chris$ sphinx-quickstart


....


> Create Makefile? (y/n) [y]: y

> Create Windows command file? (y/n) [y]: n


Creating file ProjeQtOr/conf.py.

Creating file ProjeQtOr/index.rst.

Creating file ProjeQtOr/Makefile.


*Finished: An initial directory structure has been created.*


You should now populate your master file ProjeQtOr/index.rst and create 
other documentation

source files. Use the Makefile to build the docs, like so:

   make builder

where "builder" is one of the supported builders, e.g. html, latex or 
linkcheck.

But the* make *run with the following *access error messages (see in red): *


christians-air:~ Chris$ make html

*Running Sphinx v1.7.5*

*loading translations [de]... *done

making output directory...

*loading pickled environment... *not yet created


*Exception occurred:*

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 102, in walk

    names = os.listdir(top)

OSError: [Errno 13] Permission denied: '/Users/Chris/Library/Application 
Support/Camtasia 3/Camtasia 3 102251/Applications/Admiral Markets 
MT4.app/Contents/Resources/dosdevices/z:/.DocumentRevisions-V100'

*The full traceback has been saved in 
/var/folders/2c/mfxj0lq140q0_g8zs8lfd_100000gn/T/sphinx-err-GAulH_.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://github.com/sphinx-doc/sphinx/issues>. Thanks!

make: *** [html] Error 2


*Here the complete log file: sphinx-err-GAulH_.log*

 Sphinx version: 1.7.5

# Python version: 2.7.15 (CPython)

# Docutils version: 0.14

# Jinja2 version: 2.10

# Last messages:


# Loaded extensions:

Traceback (most recent call last):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/cmdline.py",
 
line 303, in main

    args.warningiserror, args.tags, args.verbosity, args.jobs)

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/application.py",
 
line 231, in __init__

    self._init_env(freshenv)

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/application.py",
 
line 293, in _init_env

    self._init_env(freshenv=True)

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/application.py",
 
line 275, in _init_env

    self.env.find_files(self.config, self.builder)

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/environment/__init__.py",
 
line 418, in find_files

    exclude_matchers=matchers):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/__init__.py",
 
line 113, in get_matching_docs

    for filename in get_matching_files(dirname, exclude_matchers):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/__init__.py",
 
line 88, in get_matching_files

    for root, dirs, files in walk(dirname, followlinks=True):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/util/osutil.py",
 
line 123, in walk

    for x in walk(fullpath, topdown, followlinks):

*How can I fix these access problems? Can someone give me instructions on 
how to solve the problem on my Mac. *
*I cannot change the rights of the "opt" directory. But perhaps this is not 
necessary at all?*

Thanks
Chris

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

Reply via email to