RavenDb Book

14 views
Skip to first unread message

Wayne Douglas

unread,
Nov 29, 2010, 3:55:26 AM11/29/10
to rav...@googlegroups.com
Hi

Where can I submit bugs and suggestions related to the RavenDb book please?

It's a great read but I did spot the odd mistake and I also have one or two suggestions to make it more understandable for nubz

:)

--
Cheers,

w://

Rob Ashton

unread,
Nov 29, 2010, 6:20:58 AM11/29/10
to ravendb
In the absence of a better suggestion, I recommend making a pull
request or adding issues on github :)

https://github.com/ravendb/docs

Ayende Rahien

unread,
Nov 29, 2010, 7:04:07 AM11/29/10
to ravendb
Yep, exactly right.

Wayne Douglas

unread,
Nov 30, 2010, 5:27:25 AM11/30/10
to rav...@googlegroups.com
Hi

Installing all the apps as per the git hub page - then running .psake1

I get the following errors (this includes the install, get from git - into the wrong folder then the get again into the right folder and then the build of the docs.. in case it's useful to anyone trying to help...):

<error>
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> cd ..
PS C:\Windows> cd ..
PS C:\>  cd .\Python27
PS C:\Python27> cd .\Scripts
PS C:\Python27\Scripts> .\easy_install sphinx
Searching for sphinx
Best match: Sphinx 1.0.5
Processing Sphinx-1.0.5.tar.gz
Running Sphinx-1.0.5\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-wsdzj0\Sphinx-1.
0.5\egg-dist-tmp-hqrays
no previously-included directories found matching 'doc\_build'
Adding sphinx 1.0.5 to easy-install.pth file
Installing sphinx-build-script.py script to C:\Python27\Scripts
Installing sphinx-build.exe script to C:\Python27\Scripts
Installing sphinx-build.exe.manifest script to C:\Python27\Scripts
Installing sphinx-quickstart-script.py script to C:\Python27\Scripts
Installing sphinx-quickstart.exe script to C:\Python27\Scripts
Installing sphinx-quickstart.exe.manifest script to C:\Python27\Scripts
Installing sphinx-autogen-script.py script to C:\Python27\Scripts
Installing sphinx-autogen.exe script to C:\Python27\Scripts
Installing sphinx-autogen.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\sphinx-1.0.5-py2.7.egg
Processing dependencies for sphinx
Searching for docutils>=0.5
Best match: docutils 0.7
Processing docutils-0.7.tar.gz
Running docutils-0.7\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-0wm8ht\docutils-
0.7\egg-dist-tmp-ukxp5l
warning: no files found matching 'MANIFEST'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.newlatex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Adding docutils 0.7 to easy-install.pth file
Installing rst2html.py script to C:\Python27\Scripts
Installing rst2latex.py script to C:\Python27\Scripts
Installing rst2man.py script to C:\Python27\Scripts
Installing rst2newlatex.py script to C:\Python27\Scripts
Installing rst2odt.py script to C:\Python27\Scripts
Installing rst2odt_prepstyles.py script to C:\Python27\Scripts
Installing rst2pseudoxml.py script to C:\Python27\Scripts
Installing rst2s5.py script to C:\Python27\Scripts
Installing rst2xml.py script to C:\Python27\Scripts
Installing rstpep2html.py script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\docutils-0.7-py2.7.egg
Searching for Jinja2>=2.2
Best match: Jinja2 2.5.5
Processing Jinja2-2.5.5.tar.gz
Running Jinja2-2.5.5\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-i7newl\Jinja2-2.
5.5\egg-dist-tmp-pcw8cf
warning: no previously-included files matching '*' found under directory 'docs\_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Adding jinja2 2.5.5 to easy-install.pth file

Installed c:\python27\lib\site-packages\jinja2-2.5.5-py2.7.egg
Searching for Pygments>=0.8
Best match: Pygments 1.3.1

Processing Pygments-1.3.1.tar.gz
Running Pygments-1.3.1\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-nb5r9d\Pygment
s-1.3.1\egg-dist-tmp-jwnlpc
Adding pygments 1.3.1 to easy-install.pth file
Installing pygmentize-script.py script to C:\Python27\Scripts
Installing pygmentize.exe script to C:\Python27\Scripts
Installing pygmentize.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\pygments-1.3.1-py2.7.egg
Finished processing dependencies for sphinx
PS C:\Python27\Scripts> cd ..
PS C:\Python27> cd ..
PS C:\> cd .\Users
PS C:\Users> cd '.\Wayne Douglas'
PS C:\Users\Wayne Douglas> cd .\scratch
PS C:\Users\Wayne Douglas\scratch> ls


    Directory: C:\Users\Wayne Douglas\scratch


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----        11/19/2010   2:54 PM            mef
d----        11/19/2010   3:24 PM            mikehadlow
d----         11/8/2010   3:26 PM            mvccontrib
d----        11/19/2010   4:22 PM            NodaTime
d----        11/19/2010   3:30 PM            ravenbuild
d----        11/19/2010   3:02 PM            RavenDb
d----        11/21/2010  10:03 AM            RavenGallery
d----        10/22/2010   1:33 PM            Suteki.Shop
d----        11/10/2010   7:23 PM            templatesolution


PS C:\Users\Wayne Douglas\scratch> mkdir RavenDbDocs


    Directory: C:\Users\Wayne Douglas\scratch


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----        11/30/2010  10:06 AM            RavenDbDocs


PS C:\Users\Wayne Douglas\scratch> git clone https://github.com/ravendb/docs.git
Cloning into docs...
remote: Counting objects: 192, done.
remote: Compressing objects: 100% (188/188), done.
Receiving objects:  77% (148/192), 396.00 KiB | 382 KiB/s
Receiving objects: 100% (192/192), 429.19 KiB | 382 KiB/s, done.
Resolving deltas: 100% (97/97), done.
PS C:\Users\Wayne Douglas\scratch> cd .\RavenDbDocs
PS C:\Users\Wayne Douglas\scratch\RavenDbDocs> git clone https://github.com/ravendb/docs.git
Cloning into docs...
remote: Counting objects: 192, done.
remote: Compressing objects: 100% (188/188), done.
Receiving objects:  77% (148/192), 220.00 KiB | 403 KiB/s
Receiving objects: 100% (192/192), 429.19 KiB | 403 KiB/s, done.
Resolving deltas: 100% (97/97), done.
PS C:\Users\Wayne Douglas\scratch\RavenDbDocs> cd .\docs
PS C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs> .\psake.ps1
Executing Init
Executing MakePdf
Making output directory...
Running Sphinx v1.0.5
loading pickled environment... not yet created
building [latex]: all documents
updating environment: 17 added, 0 changed, 0 removed
reading sources... [  5%] Chapter01
reading sources... [ 11%] Chapter02
reading sources... [ 17%] Chapter03
reading sources... [ 23%] Chapter04
reading sources... [ 29%] Chapter05
reading sources... [ 35%] Chapter06
reading sources... [ 41%] Chapter07
reading sources... [ 47%] Chapter08
reading sources... [ 52%] Chapter09
reading sources... [ 58%] Chapter10
reading sources... [ 64%] Chapter11
reading sources... [ 70%] Chapter12
reading sources... [ 76%] Chapter13
reading sources... [ 82%] Chapter14
reading sources... [ 88%] Summary
reading sources... [ 94%] Todo
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
processing RavenDBMythology.tex... index Chapter01 Chapter02 Chapter03 Chapter04 Chapter05 Chapter06 Chapter07 Chapter0
8 Chapter09 Chapter10 Chapter11 Chapter12 Chapter13 Chapter14 Summary Todo
resolving references...
writing... done
copying images... _static\GraphDb.png _static\LuceneDefaultNOTAnalysedIndex.png _static\LuceneComplexIndex.png _static\
BlogPost.png _static\ColumnFamilyDb1.png _static\ColumnFamilyDb3.png _static\ColumnFamilyDb2.png
copying TeX support files... done
build succeeded.
11/30/2010 10:08:22 AM: An Error Occurred. See Error Details Below:
----------------------------------------------------------------------

ErrorRecord:

PSMessageDetails      :
Exception             : System.Management.Automation.ItemNotFoundException: Cannot find path 'C:\Program Files (x86)' b
                        ecause it does not exist.
                           at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path, Boolean allow
                        NonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider provider, CmdletProviderContext co
                        ntext)
                           at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path, Cmdle
                        tProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerInstance)
                           at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String pat
                        h, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& providerInstan
                        ce)
                           at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String
                        path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& provider, Cmd
                        letProvider& providerInstance)
                           at System.Management.Automation.LocationGlobber.GetChildNamesInDir(String dir, String leafEl
                        ement, Boolean getAllContainers, CmdletProviderContext context, Boolean dirIsProviderPath, PSDr
                        iveInfo drive, ContainerCmdletProvider provider, String& modifiedDirPath)
                           at System.Management.Automation.LocationGlobber.GenerateNewPSPathsWithGlobLeaf(StringCollect
                        ion currentDirs, PSDriveInfo drive, String leafElement, Boolean isLastLeaf, ContainerCmdletProv
                        ider provider, CmdletProviderContext context)
                           at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path, Boolean allow
                        NonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider provider, CmdletProviderContext co
                        ntext)
                           at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path, Cmdle
                        tProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerInstance)
                           at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String pat
                        h, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& providerInstan
                        ce)
                           at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String
                        path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& provider, Cmd
                        letProvider& providerInstance)
                           at System.Management.Automation.SessionStateInternal.GetChildItems(String path, Boolean recu
                        rse, CmdletProviderContext context)
                           at System.Management.Automation.ChildItemCmdletProviderIntrinsics.Get(String path, Boolean r
                        ecurse, CmdletProviderContext context)
                           at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
TargetObject          : C:\Program Files (x86)
CategoryInfo          : ObjectNotFound: (C:\Program Files (x86):String) [Get-ChildItem], ItemNotFoundException
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {0, 1}



ErrorRecord.InvocationInfo:

MyCommand        : Get-ChildItem
BoundParameters  : {[Path, System.String[]]}
UnboundArguments : {}
ScriptLineNumber : 33
OffsetInLine     : 19
HistoryId        : 17
ScriptName       : C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs\default.ps1
Line             :       $pdflatex = (ls $pdflatex_path).FullName
PositionMessage  :
                   At C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs\default.ps1:33 char:19
                   +       $pdflatex = (ls <<<<  $pdflatex_path).FullName
InvocationName   : ls
PipelineLength   : 1
PipelinePosition : 1
ExpectingInput   : False
CommandOrigin    : Internal



Exception:0000000000000000000000000000000000000000000000000000000000000000000000


ErrorRecord                 : Cannot find path 'C:\Program Files (x86)' because it does not exist.
ItemName                    : C:\Program Files (x86)
SessionStateCategory        : Drive
StackTrace                  :    at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path, Boolean
                               allowNonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider provider, CmdletProvid
                              erContext context)
                                 at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path,
                               CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerIn
                              stance)
                                 at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(Stri
                              ng path, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& pr
                              oviderInstance)
                                 at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(S
                              tring path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& p
                              rovider, CmdletProvider& providerInstance)
                                 at System.Management.Automation.LocationGlobber.GetChildNamesInDir(String dir, String
                              leafElement, Boolean getAllContainers, CmdletProviderContext context, Boolean dirIsProvid
                              erPath, PSDriveInfo drive, ContainerCmdletProvider provider, String& modifiedDirPath)
                                 at System.Management.Automation.LocationGlobber.GenerateNewPSPathsWithGlobLeaf(StringC
                              ollection currentDirs, PSDriveInfo drive, String leafElement, Boolean isLastLeaf, Contain
                              erCmdletProvider provider, CmdletProviderContext context)
                                 at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path, Boolean
                               allowNonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider provider, CmdletProvid
                              erContext context)
                                 at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path,
                               CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerIn
                              stance)
                                 at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(Stri
                              ng path, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& pr
                              oviderInstance)
                                 at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(S
                              tring path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& p
                              rovider, CmdletProvider& providerInstance)
                                 at System.Management.Automation.SessionStateInternal.GetChildItems(String path, Boolea
                              n recurse, CmdletProviderContext context)
                                 at System.Management.Automation.ChildItemCmdletProviderIntrinsics.Get(String path, Boo
                              lean recurse, CmdletProviderContext context)
                                 at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
WasThrownFromThrowStatement : True
Message                     : Cannot find path 'C:\Program Files (x86)' because it does not exist.
Data                        : {}
InnerException              :
TargetSite                  : System.Collections.ObjectModel.Collection`1[System.String] ExpandMshGlobPath(System.Strin
                              g, Boolean, System.Management.Automation.PSDriveInfo, System.Management.Automation.Provid
                              er.ContainerCmdletProvider, System.Management.Automation.CmdletProviderContext)
HelpLink                    :
Source                      : System.Management.Automation




----------------------------------------------------------------------
Script Variables
----------------------------------------------------------------------

Name                           Value
----                           -----
_
args                           {}
Error                          {}
false                          False
input                          System.Collections.ArrayList+ArrayListEnumeratorSimple
MaximumAliasCount              4096
MaximumDriveCount              4096
MaximumErrorCount              256
MaximumFunctionCount           4096
MaximumVariableCount           4096
msgs                           {error_unknown_pointersize, build_success, error_no_framework_install_dir_found, erro...
MyInvocation                   System.Management.Automation.InvocationInfo
null
psake                          {build_script_file, config, version, run_by_psake_build_tester...}
PSScriptRoot                   C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs
this
true                           True



Get-ChildItem : Cannot find path 'C:\Program Files (x86)' because it does not exist.
At C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs\default.ps1:33 char:19
+       $pdflatex = (ls <<<<  $pdflatex_path).FullName
    + CategoryInfo          : ObjectNotFound: (C:\Program Files (x86):String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

PS C:\Users\Wayne Douglas\scratch\RavenDbDocs\docs>
</error>
--
Cheers,

w://

Ayende Rahien

unread,
Nov 30, 2010, 4:09:46 PM11/30/10
to ravendb
Are you on an x86 machine?

Ayende Rahien

unread,
Nov 30, 2010, 4:10:40 PM11/30/10
to ravendb
Fixed

Wayne Douglas

unread,
Dec 1, 2010, 4:03:12 AM12/1/10
to rav...@googlegroups.com
It seems to be doing _things_ now - i'll have a blast at this today - obv all minor bits but figure any help is good?

:)
--
Cheers,

w://

Ayende Rahien

unread,
Dec 1, 2010, 4:46:55 AM12/1/10
to rav...@googlegroups.com
Any help is welcome
But dont consider this minor

On Wednesday, December 1, 2010, Wayne Douglas


<codin...@googlemail.com> wrote:
> It seems to be doing _things_ now - i'll have a blast at this today - obv all minor bits but figure any help is good?
> :)
>
> On Tue, Nov 30, 2010 at 9:10 PM, Ayende Rahien <aye...@ayende.com> wrote:
> Fixed
>
> On Wed, Dec 1, 2010 at 8:09 AM, Ayende Rahien <aye...@ayende.com> wrote:
>
> Are you on an x86 machine?
>
> On Tue, Nov 30, 2010 at 9:27 PM, Wayne Douglas <codin...@googlemail.com> wrote:
> Hi
> Installing all the apps as per the git hub page - then running .psake1
>
>
>
> I get the following errors (this includes the install, get from git - into the wrong folder then the get again into the right folder and then the build of the docs.. in case it's useful to anyone trying to help...):
>
>
>
>
>

> <error>Windows PowerShellCopyright (C) 2009 Microsoft Corporation. All rights reserved.
> PS C:\Windows\system32> cd ..PS C:\Windows> cd ..
>
>
>
>
> PS C:\>  cd .\Python27PS C:\Python27> cd .\ScriptsPS C:\Python27\Scripts> .\easy_install sphinxSearching for sphinxReading http://pypi.python.org/simple/sphinx/

> Processing Sphinx-1.0.5.tar.gzRunning Sphinx-1.0.5\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-wsdzj0\Sphinx-1.0.5\egg-dist-tmp-hqraysno previously-included directories found matching 'doc\_build'
>
>
>
>
> Adding sphinx 1.0.5 to easy-install.pth fileInstalling sphinx-build-script.py script to C:\Python27\ScriptsInstalling sphinx-build.exe script to C:\Python27\ScriptsInstalling sphinx-build.exe.manifest script to C:\Python27\Scripts
>
>
>
>
> Installing sphinx-quickstart-script.py script to C:\Python27\ScriptsInstalling sphinx-quickstart.exe script to C:\Python27\ScriptsInstalling sphinx-quickstart.exe.manifest script to C:\Python27\Scripts
>
>
>
>
> Installing sphinx-autogen-script.py script to C:\Python27\ScriptsInstalling sphinx-autogen.exe script to C:\Python27\ScriptsInstalling sphinx-autogen.exe.manifest script to C:\Python27\Scripts


>
>
>
>
>
> Installed c:\python27\lib\site-packages\sphinx-1.0.5-py2.7.eggProcessing dependencies for sphinxSearching for docutils>=0.5Reading http://pypi.python.org/simple/docutils/
>
>
>
>
> Reading http://docutils.sourceforge.net/Best match: docutils 0.7Downloading http://prdownloads.sourceforge.net/docutils/docutils-0.7.tar.gz?download
>
>
>
>

> Processing docutils-0.7.tar.gzRunning docutils-0.7\setup.py -q bdist_egg --dist-dir c:\users\wayned~1\appdata\local\temp\easy_install-0wm8ht\docutils-0.7\egg-dist-tmp-ukxp5lwarning: no files found matching 'MANIFEST'


>
>
>
>
> warning: no previously-included files matching '.cvsignore' found under directory '*'warning: no previously-included files matching '*.pyc' found under directory '*'
>
>
>
>
> warning: no previously-included files matching '*~' found under directory '*'warning: no previously-included files matching '.DS_Store' found under directory '*'zip_safe flag not set; analyzing archive contents...
>
>
>
>

> docutils.parsers.rst.directives.misc: module references __file__docutils.writers.html4css1.__init__: module references __file__docutils.writers.latex2e.__in--
> Cheers,
>
> w://
>
>

Wayne Douglas

unread,
Dec 1, 2010, 5:00:40 AM12/1/10
to rav...@googlegroups.com
got it all installed and forked on github

i'll start looking at it today :)
--
Cheers,

w://
Reply all
Reply to author
Forward
0 new messages