#2079 closed defect (cannot reproduce)

Won't build on Windows

Reported by: sp Owned by: sp
Priority: major Milestone: undecided
Component: packaging Version: 1.10.0
Keywords: build windows win32 win64 setuptools Cc:
Launchpad Bug:

Description (last modified by zooko)

Installed Python 2.7.4 (first tried 64-bit and then 32-bit - same error both times). Here is what I got:

C:\allmydata-tahoe-1.10.0>c:\Python27\python.exe setup.py build
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])

Previously I was able to build but had other problems (I remember the first error was something like "dep missing").

Change History (9)

comment:1 Changed at 2013-09-10T02:49:28Z by zooko

  • Description modified (diff)

Thank you for the bug report! I think the error message you posted is missing some lines, though. The end of the error message should say what went wrong with the egg = os.path.realpath(glob.glob('setuptools-*.egg')[0]) line. Could you paste the whole output in here?

comment:2 Changed at 2013-09-10T03:09:32Z by sp

Just re ran it and this is the entire output:

C:\allmydata-tahoe-1.10.0>c:\Python27\python.exe setup.py build
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])
IndexError: list index out of range

C:\allmydata-tahoe-1.10.0>

comment:3 Changed at 2013-09-10T04:16:42Z by zooko

Thanks!

comment:4 Changed at 2013-09-18T01:46:36Z by daira

  • Component changed from unknown to packaging
  • Keywords build windows win32 win64 setuptools added

This is odd. What's the output of dir in the directory containing setup.py?

comment:5 Changed at 2013-09-18T01:46:50Z by daira

  • Owner changed from daira to sp

comment:6 Changed at 2013-10-10T19:21:18Z by zooko

  • Resolution set to cannot reproduce
  • Status changed from new to closed

I hope sp comes back and gives us more information and re-opens this ticket. In the meantime let's close it, because we can't reproduce this problem without sp's help.

comment:7 Changed at 2013-10-10T20:23:28Z by CptPlastic

Im curious why its not building for you. I built Tahoe 1.10 on windows 8.1 and it seems to work fine. I did have to add some dependencies like win32 to python but after that it built and ran. So far so good, I did see that same error without the win32 python script.

comment:8 Changed at 2013-10-17T15:10:08Z by daira

Tahoe is not supposed to require pywin32. It might do due to changes in recent versions of Twisted, but that's a regression.

Version 0, edited at 2013-10-17T15:10:08Z by daira (next)

comment:9 Changed at 2013-10-18T21:13:21Z by daira

The pywin32 issue is probably #2028.

Note: See TracTickets for help on using tickets.