Error in XMLOperations read_clue_file()

Bug #113277 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Low
Markus Korn

Bug Description

I accidentally deleted an "info"-tag in my local buhelper.info file and got this error:
$ ./bughelper -p bughelper -U
No revisions to pull.
No <info> tag for clue file: /home/markus/.bughelper/packages/bughelper.info
Traceback (most recent call last):
  File "./bughelper", line 140, in <module>
    main()
  File "./bughelper", line 110, in main
    info_file = files.get_info_file(b.sourcepackage, cl.options.verbose)
  File "/home/markus/prog/bugs/bughelper/main/bugHelper/infoFiles.py", line 53, in get_info_file
    self.files[srcpkg] = InfoFile(srcpkg, self, self.packages_dirs)
  File "/home/markus/prog/bugs/bughelper/main/bugHelper/infoFiles.py", line 98, in __init__
    self.clues) = XMLOperations.read_clue_files(filenames)
  File "/home/markus/prog/bugs/bughelper/main/bugHelper/XMLOperations.py", line 61, in read_clue_files
    (i, d, c) = read_clue_file(xml_file)
ValueError: need more than 2 values to unpack

Maybe we have to change line 99 in XMLOperations.py into "return ([],[],[])", I'm not sure, will have a closer look at it later today.

Markus

Related branches

Revision history for this message
Markus Korn (thekorn) wrote :

Ok, I think changeing line 99 into "return([],[],[])" might solve this issue, attached a small patch to change that

Markus

Changed in bughelper:
assignee: nobody → thekorn
importance: Undecided → Low
status: Unconfirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

------------------------------------------------------------
revno: 171
committer: Daniel Holbach <email address hidden>
branch nick: bughelper.main
timestamp: Tue 2007-05-15 09:48:03 +0200
message:
  Merge patch to fix bug 113277 by Markus Korn

Changed in bughelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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