I've cc'ed Phillip on this in case he has a comment about this
problem. Note that TurboGears 0.5 is running with setuptools 0.6a1,
and setuptools 0.6a5 is the current, so it's possible that some work
has happened here in the meantime. I don't remember seeing anything on
the distutils list that was specific to this, though, so I'm not sure.

Kevin

On 10/2/05, Julian Melville <[EMAIL PROTECTED]> wrote:
>
>
> I've had an error twice now that's something to do with setuptools - it
> seems to be creating temp files deep in my profile (I'm on Windows) and
> then not deleting them, so that a subsequent run fails at startup (see
> horrible great traceback at the end of this message). It doesn't seem to
> be easy to repeatably make the error happen though.
>
> If I delete the contents of Application Data\Python-Eggs (a folder named
> celementtree-1.0.2_20050302-py2.4-win32.egg-tmp) then the problem goes
> away, but I'm a little concerned whether a similar problem could exist
> on Linux, where this will eventually be deployed.
>
> This is just running the basic Turbogears 0.5 release, I'm not tracking
> SVN yet.
>
> Cheers,
>
> Julian.
>
>
>
> Traceback (most recent call last):
>    File "testproj-start.py", line 15, in ?
>      from testproj.controllers import Root, Admin, PostAdmin
>    File "C:\dev\python\testproj\testproj\controllers.py", line 2, in ?
>      import turbogears
>    File
> "c:\python\lib\site-packages\turbogears-0.5.1-py2.4.egg\turbogears\__init__.py",
> line 12, in ?
>      from turbogears import controllers
>    File
> "c:\python\lib\site-packages\turbogears-0.5.1-py2.4.egg\turbogears\controllers.py",
> line 2, in ?
>      import view
>    File
> "c:\python\lib\site-packages\turbogears-0.5.1-py2.4.egg\turbogears\view.py",
> line 4, in ?
>      import kid
>    File
> "c:\python\lib\site-packages\kid-0.7a-py2.4.egg\kid\__init__.py", line
> 23, in ?
>      from kid.pull import ElementStream, Element, SubElement, Fragment, \
>    File "c:\python\lib\site-packages\kid-0.7a-py2.4.egg\kid\pull.py",
> line 11, in ?
>      from kid.et import *  # ElementTree
>    File "c:\python\lib\site-packages\kid-0.7a-py2.4.egg\kid\et.py", line
> 14, in ?
>      from cElementTree import *
>    File "build\bdist.win32\egg\cElementTree.py", line 7, in ?
>    File "build\bdist.win32\egg\cElementTree.py", line 4, in __bootstrap__
>    File
> "c:\python\lib\site-packages\setuptools-0.6a1-py2.4.egg\pkg_resources.py",
> line 676, in resource_filename
>      return get_provider(package_or_requirement).get_resource_filename(
>    File
> "c:\python\lib\site-packages\setuptools-0.6a1-py2.4.egg\pkg_resources.py",
> line 1064, in get_resource_filename
>      self._extract_resource(manager, self._eager_to_zip(name))
>    File
> "c:\python\lib\site-packages\setuptools-0.6a1-py2.4.egg\pkg_resources.py",
> line 1097, in _extract_resource
>      os.rename(tmpnam, real_path)
> OSError: [Errno 17] File exists
>
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to