Home Bug Reports

TabError: inconsistent use of tabs and spaces in indentation

Bill SimpsonBill Simpson Member Bill SimpsonOrganization: Braxton Technologies, LLCProject: Consider using ICE as our corporate data bus.
I'm receving the following error when I try to run the stock AllTests.py script on Windows XP.
Any ideas why or what I'm doing wrong?
BTW: I'm using Python 3.0.1.
Thanks, Bill

>>>

C:\Ice-3.3.1>python alltests.py
Traceback (most recent call last):
File "alltests.py", line 14, in <module>
from scripts import *
File "C:\Ice-3.3.1\scripts\Expect.py", line 55
if c == '\\':
^
TabError: inconsistent use of tabs and spaces in indentation

C:\Ice-3.3.1>

<<<

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Bill,

    Welcome to the forum.
    BTW: I'm using Python 3.0.1.

    This is probably the reason. The most recent Python version that we use on Windows is 2.6.x, so it's quite possible there could be issues trying to run our test scripts with Python 3.x.

    Regards,
    Mark
  • Bill SimpsonBill Simpson Member Bill SimpsonOrganization: Braxton Technologies, LLCProject: Consider using ICE as our corporate data bus.
    Thanks Mark.
    I guess I'll just do without the Python build test for now. I think my build worked.

    I'm new to Ice (3 days) and have been using the binaries until now. I'm another one of those people interested in (requiring) using Ice with Qt and I'm finding issues at this point. I decided I'd better build the C++ source to help evaluate unhandled excpetions that Ice is throwing early on (during the "initData.properties->load("config.client");" call in main()).

    I'm sure i'll have more questions when i'm further along in my evalution.
    BTW: We're using Qt version 4.5.0.
    Thanks!
    Bill
Sign In or Register to comment.