AttributeError: 'NoneType' object has no attribute 'is_ignored'

Bug #815822 reported by André Bachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Incomplete
Undecided
Unassigned

Bug Description

I'm using bzr 2.3.4-1 (tested with both qbzr 0.20.2 and trunk) with Win7.

I have some duplicate conflicts on a project. I solved them manually by deleting the .moved files (but haven't run 'bzr resolve' right now). Then I want to add some files to the project. After clicking on the add button, there is an error:

========================================================
bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'is_ignored'

Traceback (most recent call last):
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1227, in filterAcceptsRow
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1233, in filter_id_cached
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1249, in filter_id_recurse
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1233, in filter_id_cached
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1240, in filter_id_recurse
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1272, in filter_id
AttributeError: 'NoneType' object has no attribute 'is_ignored'

bzr 2.3.4 on python 2.6.6 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzrw.exe', 'qadd', '--ui-mode']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.3.1]
  colo C:\Program Files\Bazaar\plugins\colo [0.2.1]
  explorer C:\Program Files\Bazaar\plugins\explorer [1.1.4]
  fastimport C:\Program Files\Bazaar\plugins\fastimport [0.10.0]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.3.4]
  loom C:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.3.4]
  news_merge C:\Program Files\Bazaar\plugins\news_merge [2.3.4]
  pipeline C:\Program Files\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Users\abachmann\AppData\Roaming\bazaar\2.0\plugins\qbzr [0.21.0]
  rewrite C:\Program Files\Bazaar\plugins\rewrite [0.6.2dev]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.7.dev]
========================================================

This is in my .bzr.log:
========================================================
Mon 2011-07-25 12:52:05 +0200
0.077 bazaar version: 2.3.4
0.078 bzr arguments: [u'qadd', u'--ui-mode']
0.107 looking for plugins in C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins
0.134 looking for plugins in C:/Program Files/Bazaar/plugins
0.138 Plugin name qbzr already loaded
0.310 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.384 Deprecated function called
Called from:
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\commands.py", line 122, in run
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\commands.py", line 176, in run
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\commands.py", line 303, in _qbzr_run
0.384 Deprecated function called
Called from:
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\commands.py", line 303, in _qbzr_run
  File "bzrlib\symbol_versioning.pyo", line 101, in decorated_function
  File "bzrlib\builtins.pyo", line 81, in tree_files
0.458 opening working tree 'C:/spielwiese/FUS_TIBS_XD2_3T'
0.655 Traceback (most recent call last):
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 452, in set_tree
  File "bzrlib\osutils.pyo", line 2178, in file_kind
NoSuchFile: No such file: u'C:/spielwiese/FUS_TIBS_XD2_3T/canopen/driver/examples.h.moved'

0.658 couldn't find apport bug-reporting library: No module named apport
0.666 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 553, in _get__version__
  File "bzrlib\__init__.pyo", line 101, in _format_version_tuple
IndexError: tuple index out of range

0.667 Traceback (most recent call last):
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1227, in filterAcceptsRow
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1233, in filter_id_cached
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1249, in filter_id_recurse
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1233, in filter_id_cached
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1240, in filter_id_recurse
  File "C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins\qbzr\lib\treewidget.py", line 1272, in filter_id
AttributeError: 'NoneType' object has no attribute 'is_ignored'

0.667 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 553, in _get__version__
  File "bzrlib\__init__.pyo", line 101, in _format_version_tuple
IndexError: tuple index out of range

0.669 No Apport available to Bazaar

Revision history for this message
Jonathan Riddell (jr) wrote :

I can't recreate this, probably because I'm not doing the same thing as you did. Are you able to give a more precise list of commands and bzr explorer actions to recreate this?

Changed in qbzr:
status: New → Incomplete
Revision history for this message
André Bachmann (andrebachmann-dd) wrote :

Simply extract this zip file and open testrepo-fb-checkout in Bazaar Explorer. As soon as you click on the blue plus sign to add a file, Bazaar Explorer crashes.

Revision history for this message
Martin Packman (gz) wrote :

Thanks André, I can reproduce the issue with your repo, though it's a bit mysterious how you got it into that state. Note for posterity, edit testrepo-fb-checkout/.bzr/branch/location after unpacking to the correct absolute file path.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.