TypeError: argument 1 of qRegisterResourceData() has an invalid type

Asked by Luis Alejandro Rangel Sánchez

Good day,
First of all, thanks for your time and the answers.

The software that I installed was:
- Bazaar-1.14.1-OSX10.5.dmg
- qt-mac-opensource-4.5.2
- sip-4.8.1
- PyQt-mac-gpl-4.5.2-snapshot-20090627
- python-2.6.2-macosx2009-04-16.dmg (That version of Bazaar uses the 2.5 version of python)

The System that I use is:
- iMac8,1
- Intel Core 2 Duo
- 2.4 GHz

And when I try to execute a "qdiff" the system throws the next exception:

[xlarsx]$ bzr qdiff

bzr: ERROR: exceptions.TypeError: argument 1 of qRegisterResourceData() has an invalid type

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 727, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 922, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 559, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 129, in run
    return unbound(self, *args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 116, in run
    return unbound(self, *args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 150, in run
    return self._qbzr_run(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/commands.py", line 393, in _qbzr_run
    modified=modified, renamed=renamed)
  File "/Library/Python/2.5/site-packages/bzrlib/lazy_import.py", line 122, in __call__
    obj = _replace()
  File "/Library/Python/2.5/site-packages/bzrlib/lazy_import.py", line 89, in _replace
    obj = factory(self, scope, name)
  File "/Library/Python/2.5/site-packages/bzrlib/lazy_import.py", line 192, in _import
    module = __import__(module_python_path, scope, scope, [member])
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/util.py", line 45, in <module>
    import bzrlib.plugins.qbzr.lib.resources
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/resources.py", line 1532, in <module>
    qInitResources()
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/resources.py", line 1527, in qInitResources
    QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
TypeError: argument 1 of qRegisterResourceData() has an invalid type

bzr 1.14.1 on python 2.5.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'qdiff']
encoding: 'ascii', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /Library/Python/2.5/site-packages/bzrlib/plugins/bzrtools [1.14]
  email /Library/Python/2.5/site-packages/bzrlib/plugins/email [unknown]
  extmerge /Library/Python/2.5/site-packages/bzrlib/plugins/extmerge [unknown]
  launchpad /Library/Python/2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /Library/Python/2.5/site-packages/bzrlib/plugins/loom [1.4dev]
  netrc_credential_store /Library/Python/2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
  qbzr /Library/Python/2.5/site-packages/bzrlib/plugins/qbzr [0.9.9]
  rebase /Library/Python/2.5/site-packages/bzrlib/plugins/rebase [0.4.5dev]
  search /Library/Python/2.5/site-packages/bzrlib/plugins/search [1.7dev]
  svn /Library/Python/2.5/site-packages/bzrlib/plugins/svn [0.5.3]

What should I do to fix that problem?

Note.- If you need more info of my system please tell me.

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
QBzr Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Belchenko (bialix) said :
#1

converted to bug report.

Can you help with this problem?

Provide an answer of your own, or ask Luis Alejandro Rangel Sánchez for more information if necessary.

To post a message you must log in.