Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 613456 - [abrt] crash in gourmet-0.15.4-1.fc12: BeautifulSoup.py:422:__getattr__:AttributeError: 'NavigableString' object has no attribute 'name'
[abrt] crash in gourmet-0.15.4-1.fc12: BeautifulSoup.py:422:__getattr__:Attri...
Product: Fedora
Classification: Fedora
Component: gourmet (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Jef Spaleta
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-11 14:55 EDT by Robert Kief
Modified: 2010-09-06 19:55 EDT (History)
2 users (show)

See Also:
Fixed In Version: gourmet-0.15.4-4.fc12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-17 01:44:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2010-07-11 14:55 EDT, Robert Kief
no flags Details

  None (edit)
Description Robert Kief 2010-07-11 14:55:56 EDT
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gourmet
comment: I opened the "Import webpage" feature and copied the URL into the blank.  The import seemed to progress normally, but the import results page didn't open and the error message appeared.  Sometimes the error message never did appear, but the results page never did appear.
component: gourmet
executable: /usr/bin/gourmet
package: gourmet-0.15.4-1.fc12
reason: BeautifulSoup.py:422:__getattr__:AttributeError: 'NavigableString' object has no attribute 'name'
release: Fedora release 12 (Constantine)

BeautifulSoup.py:422:__getattr__:AttributeError: 'NavigableString' object has no attribute 'name'

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gourmet/importers/importManager.py", line 103, in finish_web_import
  File "/usr/lib/python2.6/site-packages/gourmet/importers/importManager.py", line 160, in do_import
    importer = getattr(importer_plugin,method)(*method_args)
  File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/web_import_plugin/generic_web_importer_plugin.py", line 41, in get_web_importer
    return importer(url,data,content_type)
  File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/web_import_plugin/webpage_importer.py", line 41, in __init__
  File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/web_import_plugin/webpage_importer.py", line 220, in preparse
  File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/web_import_plugin/webpage_importer.py", line 233, in cut_menus
    if menu.name == 'body': continue
  File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/web_import_plugin/BeautifulSoup.py", line 422, in __getattr__
    raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
AttributeError: 'NavigableString' object has no attribute 'name'

Local variables in innermost frame:
self: u'Sitemap'
attr: 'name'

How to reproduce
1.  Open import a web page
2.  Copy link into URL blank
3.  Execute import
4.  "Import" finishes, but nothing else happens
5.  Error message or nothing imported
Comment 1 Robert Kief 2010-07-11 14:55:59 EDT
Created attachment 431018 [details]
File: backtrace
Comment 2 Jef Spaleta 2010-07-11 17:47:52 EDT

Can you install this patched gourmet and tell me if it works for you?


Comment 3 Jef Spaleta 2010-07-12 12:24:37 EDT
oops, sorry that was the wrong build. That was the same as the version you already have installed.

Install the noarch rpm from this is the updated build
Comment 4 Fedora Update System 2010-07-12 12:50:46 EDT
gourmet-0.15.4-4.fc12 has been submitted as an update for Fedora 12.
Comment 5 Fedora Update System 2010-07-13 03:32:37 EDT
gourmet-0.15.4-4.fc12 has been pushed to the Fedora 12 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.fc12
Comment 6 Fedora Update System 2010-08-17 01:43:59 EDT
gourmet-0.15.4-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Sean Sheedy 2010-09-06 19:50:52 EDT
I just experienced this crash with gourmet-0.15.4-4.fc13.
Comment 8 Sean Sheedy 2010-09-06 19:55:32 EDT
This bug reproduces every time attempting to import:


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