abrt version: 1.1.13 architecture: i686 cmdline: /usr/bin/python /usr/bin/fedora-business-cards --template=europe component: fedora-business-cards executable: /usr/bin/fedora-business-cards kernel: 2.6.34.7-61.fc13.i686 package: fedora-business-cards-0.2.4.2-3.fc12 reason: generate.py:46:gen_front:AttributeError: 'NoneType' object has no attribute 'appendChild' release: Fedora release 13 (Goddard) time: 1290569496 uid: 500 backtrace ----- generate.py:46:gen_front:AttributeError: 'NoneType' object has no attribute 'appendChild' Traceback (most recent call last): File "/usr/bin/fedora-business-cards", line 29, in <module> cmdline.main() File "/usr/lib/python2.6/site-packages/fedora_business_cards/frontend/cmdline.py", line 152, in main xml = generate.gen_front(name, title, lines, frontloc) File "/usr/lib/python2.6/site-packages/fedora_business_cards/generate.py", line 46, in gen_front namenode.appendChild(dom.createTextNode(name)) AttributeError: 'NoneType' object has no attribute 'appendChild' Local variables in innermost frame: name: 'Ivelin Krasimirov Dzhantov' title: 'Fedora Project Contributor' dom: <xml.dom.minidom.Document instance at 0x9d4a10c> lines: ['ifo', '(919) 424-0063 x 5149902', 'Acidcore on irc.freenode.net', 'fedoraproject.org', '', 'GPG key ID: 255D78C0'] namenode: None template_loc: '/usr/share/fedora-business-cards/templates/front-europe.svg'
Created attachment 462518 [details] File: backtrace
At first glance this seems like a problem with the front-europe.svg template. CCing the person who created that. Can't look at this in depth until next week though.
I'm willing tpo support. However, it is hard to reproduce, because the official rpm from fedora (up to 14) does not include my patch for european formats. It is already in git upstreams but hasn't found the way to fedora yet. Newertheless I took the current git and tried to reproduce your problem: -bash-4.1$ cd /tmp/fedora-business-cards/ -bash-4.1$ ls config.ini fedora-business-cards MANIFEST.in templates COPYING fedora-business-cards.spec pavement.py fedora_business_cards INSTALL README -bash-4.1$ ./fedora-business-cards -c config.ini --template=europe Login to FAS: Username: bubeck Password: Current business card layout: +-------------------------------------------------------------+ n | Dr. Tilmann Bubeck | t | Fedora Project Contributor | | | 0 | bubeck | 1 | (919) 424-0063 x 5120486 | 2 | bubeck on irc.freenode.net | 3 | fedoraproject.org | 4 | | 5 | GPG key ID: 0x3FAFA70C | | | | | | fedora freedom | friends | features | first | +-------------------------------------------------------------+ Enter a line number to edit, or [y] to accept: y Generating front... Generating back... Done. -bash-4.1$ ... as you can see, there was no such error (on Fedora 14). I haven't tried on FC12. So I suggest to wait for an update of fedora-business-cards including my patch and then reavalute.
(In reply to comment #3) > So I suggest to wait for an update of fedora-business-cards including my patch > and then reavalute. Which is definitely something I need to get done. I think I'll do that now, we'll see if it helps.
fedora-business-cards-0.2.4.3-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-business-cards-0.2.4.3-1.fc13
fedora-business-cards-0.2.4.3-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-business-cards-0.2.4.3-1.fc14
Ian, thanks for accepting the patch and releasing the new version. Ivelin, I tried Ian's new version and did not receive your bug. I did: root# yum update http://kojipkgs.fedoraproject.org/packages/fedora-business-cards/0.2.4.3/1.fc14/noarch/fedora-business-cards-0.2.4.3-1.fc14.noarch.rpm --nogpgcheck user% fedora-business-cards --list-templates Available templates: northamerica (North America) overnightprints (OvernightPrints.com (1/16" bleed)) europe (Europe (85mm x 55mm)) [bubeck@loeffel3 Dokumente]$ fedora-business-cards --template=europe Login to FAS: Username: bubeck Password: Current business card layout: +-------------------------------------------------------------+ n | Dr. Tilmann Bubeck | t | Fedora Project Contributor | | | 0 | bubeck | 1 | (919) 424-0063 x 5120486 | 2 | bubeck on irc.freenode.net | 3 | fedoraproject.org | 4 | | 5 | GPG key ID: 0x3FAFA70C | | | | | | fedora freedom | friends | features | first | +-------------------------------------------------------------+ Enter a line number to edit, or [y] to accept: y Generating front... Generating back... Done. user% nothing wrong. Could you please update your RPM and try to reproduce the bug? Thanks! Till
(Would you mind submitting positive feedback in Bodhi if it works for you?) :)
It works perfect now, thank you so much! :) I didn't understand where do I submit positive feedback?
I found bodhi.
Although I can't find anythind about fedora-business-cards there.
(In reply to comment #11) > Although I can't find anythind about fedora-business-cards there. Click the link for either comment 5 or comment 6, depending on whether you use F13 or F14. If you have a FAS account, click log in on the left sidebar. Then use the comment box at the bottom of the page, and click the appropriate "works for me" or "broken" or whatever buttons. :)
fedora-business-cards-0.2.4.3-1.fc14 has been pushed to the Fedora 14 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 fedora-business-cards'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-business-cards-0.2.4.3-1.fc14
fedora-business-cards-0.2.4.3-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
fedora-business-cards-0.2.4.3-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.