Modify

Ticket #1080 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Errors Checking Bcfg2.egg on Python 3.2

Reported by: rcuza Owned by: rcuza
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-client Version: 1.0
Keywords: python3 Cc:

Description

Getting the following error while building the Bcfg2 egg under python3.2 and python3.0:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (POSIX.py, line 810)
  File "build/bdist.linux-x86_64/egg/Bcfg2/Client/Tools/YUMng.py", line 745
    except yum.Errors.YumBaseError, e:
                                  ^
SyntaxError: invalid syntax

  File "build/bdist.linux-x86_64/egg/Bcfg2/Server/Lint/Genshi.py", line 25
    except genshi.template.TemplateSyntaxError, err:
                                              ^
SyntaxError: invalid syntax

  File "build/bdist.linux-x86_64/egg/Bcfg2/Server/Plugins/Svn2.py", line 75
    except Exception, err:
                    ^
SyntaxError: invalid syntax

  File "build/bdist.linux-x86_64/egg/Bcfg2/Server/Plugins/FileProbes.py", line 140
    except OSError, err:
                  ^
SyntaxError: invalid syntax

This is probably a quick fix, but I hit this error while heading out the door.

Attachments

z_check_against_example_repo-29-console.txt (50.2 KB) - added by rcuza 11 years ago.
Full text output of Jenkins z_check_against_example_repo job 29

Change History

Changed 11 years ago by rcuza

Full text output of Jenkins z_check_against_example_repo job 29

comment:1 follow-up: ↓ 2 Changed 11 years ago by rcuza

  • Summary changed from Possible syntax error in POSIX.py to Errors Checking Bcfg2.egg on Python 3.2

Found a couple tabs in POSIX.py and removed them.

Next step: investigate except syntax errors.

comment:2 in reply to: ↑ 1 Changed 11 years ago by rcuza

Replying to rcuza:

Found a couple tabs in POSIX.py and removed them.

Next step: investigate except syntax errors.

Commit: 6a52aa5489af6ff47dc16e94cf8d4dcb3eac8d97

comment:3 Changed 11 years ago by rcuza

comment:4 Changed 11 years ago by rcuza

  • Status changed from new to accepted

comment:5 Changed 11 years ago by rcuza

  • Keywords python3 added
  • Milestone changed from Bcfg2 1.2.1 Release (Bugfix) to Bcfg2 1.3.0 Release

Moving this to 1.3.0 since Py3K is not fully supported in 1.2.0 and the best way to solve this is by refactoring setup.py (ticket #1079).

comment:6 Changed 11 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.