Hmmm, I commented out the requirement for json in setup.py and ran
"python setup.py develop" again.  It's failing on Kid now with a
Sandbox violation.

C:\Documents and Settings\Administrator\Desktop\matt\turbogears>python setup.py
develop
running develop
running egg_info
writing requirements to TurboGears.egg-info\requires.txt
writing TurboGears.egg-info\PKG-INFO
writing top-level names to TurboGears.egg-info\top_level.txt
writing entry points to TurboGears.egg-info\entry_points.txt
writing manifest file 'TurboGears.egg-info\SOURCES.txt'
running build_ext
Creating c:\program files\python23\lib\site-packages\TurboGears.egg-link (link t
o .)
TurboGears 0.9a0dev-r286 is already the active version in easy-install.pth
Installing tg-admin-script.py script to C:\Program Files\Python23\Scripts
Installing tg-admin.exe script to C:\Program Files\Python23\Scripts

Installed c:\documents and settings\administrator\desktop\matt\turbogears
Processing dependencies for TurboGears==0.9a0dev-r286
Searching for kid>=0.8.0
Reading http://www.python.org/pypi/kid/
Reading http://kid.lesscode.org/
Best match: kid 0.8
Downloading http://lesscode.org/dist/kid/0.8/kid-0.8.tar.gz
Processing kid-0.8.tar.gz
Running kid-0.8\setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\locals~1\t
emp\easy_install-u37ylm\kid-0.8\egg-dist-tmp--ufczd
error: SandboxViolation: mkdir('C:\\Documents and Settings\\Administrator\\Appli
cation Data\\Python-Eggs', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

.......

I'm assumming these Kinks will eventually get worked out.  Isn't
anyone else besides Gary and myself running into this?

(Installing TG on 2.3 is a lot bigger pain than I would have suspected...)

On 12/6/05, Gary Herron <[EMAIL PROTECTED]> wrote:
>
> m h wrote:
>
> >After manually removing the elementTree and cElementTree packages (I
> >used the windows installers), running "setup.py develop" now get's a
> >little bit further.  It's now complaining about missing json:
> >
> >
> I've been watching this thread, hoping you'd get to this point because
> this is where I got stuck.  I got unstuck by downloading and installing
> json by hand, then editing .../easy-install.pth  to point to the json
> egg.   But I tried so many ways to install that I'm not sure my solution
> would apply to you.  (Various combo's of easy-install, ez_setup.py, with
> the nightly tarballs and an SVN checkout all had trouble with
> elementTree and cElementTree and then failed with json.)
>
> Being a firm supporter of open source, I'll contribute what solutions I
> can, but I'm new to all these installation tools and TurboGears and all
> its related packages, so I wouldn't expect much.  (I've carried on a
> decade long love affair with Python, so it's not on my list of
> deficiencies.)
>
> Gary Herron
>
> >...
> >Adding elementtree 1.2.6-20050316 to easy-install.pth file
> >
> >Installed c:\program 
> >files\python23\lib\site-packages\elementtree-1.2.6_20050316
> >-py2.3-win32.egg
> >Searching for json-py>=3.2.1
> >Reading http://www.python.org/pypi/json-py/
> >Couldn't find index page for 'json-py' (maybe misspelled?)
> >Scanning index of all packages (this may take a while)
> >Reading http://www.python.org/pypi/
> >No local packages or download links found for json-py>=3.2.1
> >error: Could not find distribution for Requirement.parse('json-py>=3.2.1')
> >
> >
> >
> >
> >On 12/6/05, m h <[EMAIL PROTECTED]> wrote:
> >
> >
> >>My bad, that was using easy_intall-script.py.  Using ez_setup.py I it
> >>appears to work... (Is that a bug in easy_install-script.py?
> >>Shouldn't they be doing the same thing?)
> >>
> >>C:\Documents and Settings\Administrator\Desktop\matt>ez_setup.py 
> >>setuptools==dev
> >>
> >>Searching for setuptools==dev
> >>Reading http://www.python.org/pypi/setuptools/
> >>Reading http://peak.telecommunity.com/DevCenter/setuptools
> >>Best match: setuptools dev
> >>Downloading 
> >>http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setupto
> >>ols-dev
> >>Doing subversion checkout from 
> >>http://svn.python.org/projects/sandbox/trunk/setu
> >>ptools/ to c:\docume~1\admini~1\locals~1\temp\easy_install-moqm1l\setuptools
> >>Processing setuptools
> >>Running setup.py -q bdist_egg --dist-dir 
> >>c:\docume~1\admini~1\locals~1\temp\easy
> >>_install-moqm1l\setuptools\egg-dist-tmp-iu-jxz
> >>warning: manifest_maker: standard file not found: should have one of 
> >>README, REA
> >>DME.txt
> >>setuptools 0.6a9dev-r41630 is already the active version in easy-install.pth
> >>Installing easy_install-script.py script to C:\Program 
> >>Files\Python23\Scripts
> >>Installing easy_install.exe script to C:\Program Files\Python23\Scripts
> >>
> >>Installed c:\program 
> >>files\python23\lib\site-packages\setuptools-0.6a9dev_r41630
> >>-py2.3.egg
> >>Processing dependencies for setuptools==0.6a9dev-r41630
> >>
> >>On 12/6/05, m h <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Here's the output of setuptools==dev:
> >>>
> >>>C:\Program Files\Python23\Scripts>easy_install-script.py setuptools==dev
> >>>Searching for setuptools==dev
> >>>Reading http://www.python.org/pypi/setuptools/
> >>>Reading http://peak.telecommunity.com/DevCenter/setuptools
> >>>Best match: setuptools dev
> >>>Downloading 
> >>>http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setupto
> >>>ols-dev
> >>>Doing subversion checkout from 
> >>>http://svn.python.org/projects/sandbox/trunk/setu
> >>>ptools/ to 
> >>>c:\docume~1\admini~1\locals~1\temp\easy_install--xr-3c\setuptools
> >>>Processing setuptools
> >>>Running setup.py -q bdist_egg --dist-dir 
> >>>c:\docume~1\admini~1\locals~1\temp\easy
> >>>_install--xr-3c\setuptools\egg-dist-tmp-7wvvqf
> >>>warning: manifest_maker: standard file not found: should have one of 
> >>>README, REA
> >>>DME.txt
> >>>Removing setuptools 0.6a9dev-r41617 from easy-install.pth file
> >>>Adding setuptools 0.6a9dev-r41630 to easy-install.pth file
> >>>Installing easy_install-script.py script to C:\Program 
> >>>Files\Python23\Scripts
> >>>error: c:\program 
> >>>files\python23\lib\site-packages\setuptools-0.6a9dev_r41617-py
> >>>2.3.egg\setuptools\cli.exe: No such file or directory
> >>>
> >>>Is it complaining because it can't find a file that's supposed to be 
> >>>deleted?
> >>>
> >>>On 12/6/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>>m h wrote:
> >>>>
> >>>>
> >>>>>I don't recall any strange error message.  Ummm, what is the best way
> >>>>>to "uninstall" and start over?  Just delete the egg directories?
> >>>>>
> >>>>>
> >>>>Yes.  But ez_setup/easy_install will overwrite the eggs and ignore
> >>>>older ones anyway, so there's no need to manually delete them.
> >>>>
> >>>>
> >>>>
> >>>>>Anything else?  Or would you recommend another route?
> >>>>>
> >>>>>
> >>>>No; I'd suggest reinstalling using 'ez_setup.py setuptools==dev'.  Then
> >>>>we can check and see if your installation has the cli.exe file.  If the
> >>>>problem persists, I'll have to figure out some other way to proceed
> >>>>with debugging this.  When I install setuptools on my own machine, this
> >>>>problem doesn't occur.
> >>>>
> >>>>
> >>>>
> >>>>
>
>

Reply via email to