Won't build on Windows #2079

Closed
opened 2013-09-10 02:36:13 +00:00 by sp · 8 comments
Owner

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").

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").
tahoe-lafs added the
unknown
major
defect
1.10.0
labels 2013-09-10 02:36:13 +00:00
tahoe-lafs added this to the undecided milestone 2013-09-10 02:36:13 +00:00
zooko commented 2013-09-10 02:49:28 +00:00
Author
Owner

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?

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?
Author
Owner

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>
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> ```
zooko commented 2013-09-10 04:16:42 +00:00
Author
Owner

Thanks!

Thanks!
daira commented 2013-09-18 01:46:36 +00:00
Author
Owner

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

This is odd. What's the output of `dir` in the directory containing `setup.py`?
tahoe-lafs added
packaging
and removed
unknown
labels 2013-09-18 01:46:36 +00:00
zooko commented 2013-10-10 19:21:18 +00:00
Author
Owner

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.

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.
tahoe-lafs added the
cannot reproduce
label 2013-10-10 19:21:18 +00:00
zooko closed this issue 2013-10-10 19:21:18 +00:00
CptPlastic commented 2013-10-10 20:23:28 +00:00
Author
Owner

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.

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.
daira commented 2013-10-17 15:10:08 +00:00
Author
Owner

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

Tahoe is not supposed to require pywin32 on Windows. It might do due to changes in recent versions of Twisted, but that's a regression.
daira commented 2013-10-18 21:13:21 +00:00
Author
Owner

The pywin32 issue is probably #2028.

The pywin32 issue is probably #2028.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#2079
No description provided.