I'm new to Bazar and new to OS X but came across the same problem with no solution so far.
OS X 10.11.5 and I installed Python 2.7 and Bazar 2.6. In the install I installed pyqt as well as qt.I had to modify the first line in the /usr/local/bin/bzr file. Changed the first line to #!/usr/bin/python2.6 as recommended on line. I found that odd as # denotes a comment line no? Anyhow it worked. Having installed Python 2.7 I tried using 2.7 instead of 2.6 at the end the line but it worked only with 2.6 which is a version that seemed to be installed at the same time as 2.7.
Basic commands:
bzr init makes this directory a versioned branch
bzr branch make a copy of another branch
bzr add make files or directories versioned
bzr ignore ignore a file or pattern
bzr mv move or rename a versioned file
bzr status summarize changes in working copy
bzr diff show detailed diffs
bzr merge pull in changes from another branch
bzr commit save some or all changes
bzr send send changes via email
bzr log show history of changes
bzr check validate storage
bzr help init more help on e.g. init command
bzr help commands list all commands
bzr help topics list all help topics
But $ bzr explorer #gives the error below.
I'm not sure I something wrong but at the end of the message below it states,
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
I found a lot of what might be outdated information such as info on QTY http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac but wondered if in the last 7 years things have not changed. Thanks for your help.
# Error msg after using "bzr explorer":
bzr: ERROR: exceptions.ImportError: dlopen(/Library/Python/2.6/site-packages/PyQt4/QtCore.so, 2): Library not loaded: QtCore.framework/Versions/4/QtCore
Referenced from: /Library/Python/2.6/site-packages/PyQt4/QtCore.so
Reason: unsafe use of relative rpath QtCore.framework/Versions/4/QtCore in /Library/Python/2.6/site-packages/PyQt4/QtCore.so with restricted binary
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/plugins/explorer/lib/commands.py", line 144, in run
from bzrlib.plugins.qbzr.lib import uifactory
File "/Library/Python/2.6/site-packages/bzrlib/plugins/qbzr/lib/uifactory.py", line 21, in <module>
from PyQt4 import QtCore, QtGui
ImportError: dlopen(/Library/Python/2.6/site-packages/PyQt4/QtCore.so, 2): Library not loaded: QtCore.framework/Versions/4/QtCore
Referenced from: /Library/Python/2.6/site-packages/PyQt4/QtCore.so
Reason: unsafe use of relative rpath QtCore.framework/Versions/4/QtCore in /Library/Python/2.6/site-packages/PyQt4/QtCore.so with restricted binary
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
Dear Bazar wizards,
I'm new to Bazar and new to OS X but came across the same problem with no solution so far. bin/python2. 6 as recommended on line. I found that odd as # denotes a comment line no? Anyhow it worked. Having installed Python 2.7 I tried using 2.7 instead of 2.6 at the end the line but it worked only with 2.6 which is a version that seemed to be installed at the same time as 2.7.
OS X 10.11.5 and I installed Python 2.7 and Bazar 2.6. In the install I installed pyqt as well as qt.I had to modify the first line in the /usr/local/bin/bzr file. Changed the first line to #!/usr/
$ bzr seem to start bazar as I get:
$ bzr bazaar. canonical. com/
Bazaar 2.6.0 -- a free distributed version-control tool
http://
Basic commands:
bzr init makes this directory a versioned branch
bzr branch make a copy of another branch
bzr add make files or directories versioned
bzr ignore ignore a file or pattern
bzr mv move or rename a versioned file
bzr status summarize changes in working copy
bzr diff show detailed diffs
bzr merge pull in changes from another branch
bzr commit save some or all changes
bzr send send changes via email
bzr log show history of changes
bzr check validate storage
bzr help init more help on e.g. init command
bzr help commands list all commands
bzr help topics list all help topics
But $ bzr explorer #gives the error below. /bugs.launchpad .net/bzr/ +filebug www.oak- tree.us/ blog/index. php/2009/ 05/12/pyqt- mac but wondered if in the last 7 years things have not changed. Thanks for your help.
I'm not sure I something wrong but at the end of the message below it states,
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
I found a lot of what might be outdated information such as info on QTY http://
# Error msg after using "bzr explorer": ImportError: dlopen( /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so, 2): Library not loaded: QtCore. framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so framework/ Versions/ 4/QtCore in /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so with restricted binary
bzr: ERROR: exceptions.
Referenced from: /Library/
Reason: unsafe use of relative rpath QtCore.
Traceback (most recent call last): Python/ 2.6/site- packages/ bzrlib/ commands. py", line 930, in exception_ to_return_ code Python/ 2.6/site- packages/ bzrlib/ commands. py", line 1121, in run_bzr Python/ 2.6/site- packages/ bzrlib/ commands. py", line 673, in run_argv_aliases **all_cmd_ args) Python/ 2.6/site- packages/ bzrlib/ commands. py", line 697, in run .run_simple( *args, **kwargs) Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 136, in run_simple Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 166, in _do_with_cleanups Python/ 2.6/site- packages/ bzrlib/ plugins/ explorer/ lib/commands. py", line 144, in run plugins. qbzr.lib import uifactory Python/ 2.6/site- packages/ bzrlib/ plugins/ qbzr/lib/ uifactory. py", line 21, in <module> /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so, 2): Library not loaded: QtCore. framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so framework/ Versions/ 4/QtCore in /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so with restricted binary
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
from bzrlib.
File "/Library/
from PyQt4 import QtCore, QtGui
ImportError: dlopen(
Referenced from: /Library/
Reason: unsafe use of relative rpath QtCore.
bzr 2.6.0 on python 2.6.9 (Darwin- 15.5.0- x86_64- i386-64bit) local/bin/ bzr', 'explorer'] [2.6.0] , bzrtools[2.5.0], changelog_ merge[2. 6.0], 0.14.0dev] , credential_ store[2. 6.0], news_merge[2.6.0], pipeline[1.4.0], merge[2. 6.0], qbzr[0.23.1], rewrite[0.6.3], svn[1.2.2], upload[1.1.0], fmt[2.6. 0], xmloutput[0.8.8]
arguments: ['/usr/
plugins: bash_completion
colo[0.4.0], email[unknown], explorer[1.3.0], fastimport[
git[0.6.11], grep[2.6.0], keychain[0.1.0], launchpad[2.6.0], loom[2.2.0],
netrc_
po_
weave_
encoding: 'utf-8', fsenc: 'utf-8', lang: None
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.