Results 1 to 3 of 3

Thread: TabError: inconsistent use of tabs and spaces in indentation

  1. #1
    Bill Simpson is offline Registered User
    Name: Bill Simpson
    Organization: Braxton Technologies, LLC
    Project: Consider using ICE as our corporate data bus.
    Join Date
    May 2009
    Posts
    2

    TabError: inconsistent use of tabs and spaces in indentation

    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>

    <<<

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi Bill,

    Welcome to the forum.

    Quote Originally Posted by Bill Simpson View Post
    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

  3. #3
    Bill Simpson is offline Registered User
    Name: Bill Simpson
    Organization: Braxton Technologies, LLC
    Project: Consider using ICE as our corporate data bus.
    Join Date
    May 2009
    Posts
    2
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-22-2011, 01:54 PM
  2. Use spaces instead of tabs
    By Edward Bishop in forum Comments
    Replies: 5
    Last Post: 01-24-2007, 05:42 PM
  3. Generated C# code indentation
    By kwaclaw in forum Comments
    Replies: 1
    Last Post: 11-24-2006, 11:58 AM
  4. document inconsistent?
    By Rong in forum Help Center
    Replies: 2
    Last Post: 08-19-2005, 05:45 AM
  5. Pre-Build needs no spaces!
    By Wayetender in forum Bug Reports
    Replies: 6
    Last Post: 08-17-2004, 06:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •