Modify

Ticket #1023 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Fresh Install of bcfg2-1.2.0pre3 Fails on Mac OS X 10.6.8

Reported by: rcuza Owned by: rcuza
Priority: critical Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-server Version: 1.0
Keywords: macosx Cc:

Description

On a fresh install of Mac OS X 10.6 with only Apple patches applied (10.6.8, Build 10K540), /usr/local/bin/bcfg2-admin init fails with the following error:

Traceback (most recent call last):
  File "/usr/local/bin/bcfg2-admin", line 6, in <module>
    import Bcfg2.Server.Core
ImportError: No module named Bcfg2.Server.Core

The version of Bcfg2 is from commit 5c9f5c5052acf4107ecbf13d5ab63c1a7996c87e.

Attachments

Change History

comment:1 Changed 12 years ago by rcuza

  • Owner changed from desai to rcuza
  • Status changed from new to assigned

comment:2 Changed 12 years ago by rcuza

Right now the src/lib/ files are being installed into /Library/Python/site-packages/Bcfg2/. When I copy this directory to /Library/Python/2.6/site-packages/Bcfg2/ the error changes to the expected Failed to import lxml dependency. Shutting down server.

Creating a symbolic link from /Library/Python/2.6/site-packages/Bcfg2 and /Library/Python/2.6/site-packages/Bcfg2 to /Library/Python/site-packages/Bcfg2/ seems to be the best solution for the short term.

comment:3 Changed 12 years ago by rcuza

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

After looking around, it looks a typo was introduced in the Makefile that caused PYVERSION variable to be blank. Thus the pkg installed into a folder that should not exist given the Mac OS X Python layout.

Correct the typo in commit 67b6e93 and added to existing pull request.

Marking this ticket as Resolved(Fixed).

comment:4 Changed 12 years ago by rcuza

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.