Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'makefile': 0.07; 'setup.py': 0.07; 'sphinx': 0.07; 'issue?': 0.09; 'spelling': 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; "skip:' 30": 0.15; '+--': 0.16; '__init__.py': 0.16; 'basic.css': 0.16; 'doctools.js': 0.16; 'index.html': 0.16; 'sidebar.js': 0.16; 'skip:/ 50': 0.16; 'sys.path': 0.16; 'wrote:': 0.17; 'tests': 0.18; 'module': 0.19; 'doc': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; '"no': 0.29; 'source': 0.29; "i'm": 0.29; 'figure': 0.30; 'hi,': 0.33; "can't": 0.34; 'christian': 0.34; 'thanks': 0.34; 'problem,': 0.35; 'there': 0.35; 'but': 0.36; 'reported': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'received:192': 0.39; 'notice': 0.39; 'build': 0.39; 'called': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'received:74.208.4.194': 0.84 Date: Sat, 27 Oct 2012 06:33:25 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: mining.facts@googlemail.com Subject: Re: Sphinx / sys.path References: <15bad12d-5806-48f8-89dd-47e9df3de9e8@googlegroups.com> In-Reply-To: <15bad12d-5806-48f8-89dd-47e9df3de9e8@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:bk9eeA0REx0LBkDJRRCDWiXRwzEGkUOQ74bMJa/QbVc pAGicMmQmCgkx2cKQcoK7Iz9p//Imk9cHpdq/6Ozge6Ch+fEDf 4oe7WxYcWpfVFjlFE7v21yNdylsGSfKJJEwQtIUgP/8Bev51mr 3XUddix/ChO71JfWDpFgXjYKUGVAsF7EpQ09w9wNHW20bXsU3l enc44FfwGNeC1SbTqdTO+gjAK+nrno3Ls6LVn7+kK2niMNCd2Q 15nsHq8SZtIrPpfec4XtZ3S/7UmUB5cP23Pkhcn4EyqZwQl6nS kfdIfz4U+7rcARj3l9slMJF8NcE8k9rsJFo2KqjxslKEDymYA= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 107 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351334032 news.xs4all.nl 6877 [2001:888:2000:d::a6]:52842 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32272 On 10/27/2012 06:18 AM, mining.facts@googlemail.com wrote: > Hi, > > I figure out how it works with sphinx documentation. But I'm stucked > in the sys.path issue? > > sys.path.insert(0, '/home/chris/projekte/dev/testmodule') > > /home/chris/projekte/dev/testmodule/doc/source/code.rst:4: WARNING: autodoc can't import/find module 'myproject', it reported error: "No module named useful_1", please check your spelling and sys.path I have no idea if it's the ONLY problem, but the module below isn't called useful_1, it's called usefuel1. Notice there are two differences. > Thanks in advance > Christian > > > +-- doc > | +-- build > | | +-- doctrees > | | | +-- code.doctree > | | | +-- environment.pickle > | | | +-- index.doctree > | | +-- genindex.html > | | +-- html > | | | +-- code.html > | | | +-- genindex.html > | | | +-- index.html > | | | +-- objects.inv > | | | +-- py-modindex.html > | | | +-- search.html > | | | +-- searchindex.js > | | | +-- _sources > | | | | +-- code.txt > | | | | +-- index.txt > | | | +-- _static > | | | +-- ajax-loader.gif > | | | +-- basic.css > | | | +-- comment-bright.png > | | | +-- comment-close.png > | | | +-- comment.png > | | | +-- default.css > | | | +-- doctools.js > | | | +-- down.png > | | | +-- down-pressed.png > | | | +-- file.png > | | | +-- jquery.js > | | | +-- minus.png > | | | +-- plus.png > | | | +-- pygments.css > | | | +-- searchtools.js > | | | +-- sidebar.js > | | | +-- underscore.js > | | | +-- up.png > | | | +-- up-pressed.png > | | | +-- websupport.js > | | +-- index.html > | | +-- objects.inv > | | +-- search.html > | | +-- searchindex.js > | | +-- _sources > | | | +-- index.txt > | | +-- _static > | | +-- ajax-loader.gif > | | +-- basic.css > | | +-- comment-bright.png > | | +-- comment-close.png > | | +-- comment.png > | | +-- default.css > | | +-- doctools.js > | | +-- down.png > | | +-- down-pressed.png > | | +-- file.png > | | +-- jquery.js > | | +-- minus.png > | | +-- plus.png > | | +-- pygments.css > | | +-- searchtools.js > | | +-- sidebar.js > | | +-- underscore.js > | | +-- up.png > | | +-- up-pressed.png > | | +-- websupport.js > | +-- make.bat > | +-- Makefile > | +-- source > | +-- code.rst > | +-- conf.py > | +-- index.rst > | +-- _static > | +-- _templates > +-- myproject > | +-- __init__.py > | +-- __init__.pyc > | +-- usefuel1.py > | +-- usefuel1.pyc > | +-- usefuel2.py > | +-- usefuel2.pyc > +-- README > +-- setup.py > +-- tests -- DaveA