Bug 600697 - [abrt] crash in gourmet-0.15.4-1.fc13: interactive_importer.py:250:label_selection:AttributeError: 'gtk.TextMark' object has no attribute 'backward_chars'
Summary: [abrt] crash in gourmet-0.15.4-1.fc13: interactive_importer.py:250:label_sele...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gourmet
Version: 13
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c40a2a3e
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-05 16:54 UTC by Kerkus
Modified: 2010-07-27 02:47 UTC (History)
1 user (show)

Fixed In Version: gourmet-0.15.4-4.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-27 02:47:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (703 bytes, text/plain)
2010-06-05 16:54 UTC, Kerkus
no flags Details

Description Kerkus 2010-06-05 16:54:07 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/gourmet
component: gourmet
executable: /usr/bin/gourmet
kernel: 2.6.33.4-95.fc13.i686.PAE
package: gourmet-0.15.4-1.fc13
reason: interactive_importer.py:250:label_selection:AttributeError: 'gtk.TextMark' object has no attribute 'backward_chars'
release: Fedora release 13 (Goddard)

backtrace
-----
interactive_importer.py:250:label_selection:AttributeError: 'gtk.TextMark' object has no attribute 'backward_chars'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gourmet/importers/interactive_importer.py", line 240, in label_callback
    self.label_selection(label)
  File "/usr/lib/python2.6/site-packages/gourmet/importers/interactive_importer.py", line 250, in label_selection
    cur_pos.backward_chars(
AttributeError: 'gtk.TextMark' object has no attribute 'backward_chars'

Local variables in innermost frame:
cursel: ()
cur_pos: <gtk.TextMark object at 0xad656e4 (GtkTextMark at 0xacc7880)>
self: <MenuAndAdStrippingWebParser(importer, initial)>
label: 'Couverts'

How to reproduce
-----
1.import receipy from web
2. click on couverts
3.

Comment 1 Kerkus 2010-06-05 16:54:08 UTC
Created attachment 421452 [details]
File: backtrace

Comment 2 Jef Spaleta 2010-06-07 19:40:57 UTC
I think I have a patch that fixes this. Can you point me to the specific webpage url that failed so I can test?


-jef

Comment 3 Kerkus 2010-06-07 22:44:30 UTC
Package: gourmet-0.15.4-1.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.import receipy from web
2. click on couverts
3.


Comment
-----
http://www.soscuisine.com/fr/recettes/consulter/pates-aux-asperges-et-aux-poivrons-rotis?sos_l=fr&gpr_id=10412

Comment 4 Jef Spaleta 2010-06-08 00:31:41 UTC
Okay,

I think I've fixed this as well as a couple of other small crasher conditions.

Can you please pull the F13 packages from koji and see if you can confirm that the fix works?


http://koji.fedoraproject.org/koji/getfile?taskID=2236975&name=gourmet-0.15.4-3.fc13.noarch.rpm

You should see the interactive webpage importer come up which will let you tag text.  I make no promises that the automatic tagging is going to be correct. But you should be able to clear the automatic tags, drag select text and then apply the correct tags interactively.

-jef

Comment 5 Fedora Update System 2010-06-09 07:28:58 UTC
gourmet-0.15.4-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gourmet-0.15.4-4.fc13

Comment 6 Fedora Update System 2010-07-13 07:27:54 UTC
gourmet-0.15.4-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gourmet'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gourmet-0.15.4-4.fc13

Comment 7 Jef Spaleta 2010-07-13 16:23:21 UTC
Sorry for the delay here.

The packages got held up in the updates system for some reason. I meant to have this pushed to testing a couple of weeks ago.

-jef

Comment 8 Fedora Update System 2010-07-27 02:46:59 UTC
gourmet-0.15.4-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.