Bug 489051

Summary: running bkchem causes python errors and then aborts
Product: [Fedora] Fedora Reporter: Aram Agajanian <agajania>
Component: bkchemAssignee: Henrique C. S. Junior <henriquecsj>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: alibobar, henriquecsj, mtasaka, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.13.0-3.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-09 23:00:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Workaround patch for this issue none

Description Aram Agajanian 2009-03-06 22:57:09 UTC
Description of problem:
When bkchem is run from the command line, the following error is output and the window doesn't appear.

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bkchem/bkchem.py", line 106, in <module>
    from main import BKchem
  File "/usr/lib/python2.5/site-packages/bkchem/main.py", line 24, in <module>
    from paper import chem_paper
  File "/usr/lib/python2.5/site-packages/bkchem/paper.py", line 30, in <module>
    from oasa.oasa.transform import transform 
ImportError: No module named oasa.transform


Version-Release number of selected component (if applicable):
bkchem-0.13.0-1.fc9.noarch

How reproducible:
happens every time

Steps to Reproduce:
1.run bkchem from command line
2.observe output
  
Actual results:
The python error shown above is generated.

Expected results:
A program window show appear.

Comment 1 Henrique C. S. Junior 2009-03-06 23:53:21 UTC
Hi, I'm working on this right now.
It seems to be an bug in the upstream code. I'm in touch with then to solve this.
Thanks for your report

Comment 2 Alexander 2009-03-08 12:56:22 UTC
Ah, I just found out the exact same problem.

With: bkchem-0.13.0-1.fc10.noarch
On: 2.6.27.15-170.2.24.fc10.i686

I hope it gets fixed soon, I really want to use bkchem asap.

Comment 3 Henrique C. S. Junior 2009-03-08 14:41:07 UTC
I'll just do one step back untll we solve this problem

Comment 4 Mamoru TASAKA 2009-03-08 15:17:42 UTC
Created attachment 334437 [details]
Workaround patch for this issue

Possible workaround

Comment 5 Mamoru TASAKA 2009-03-08 15:20:27 UTC
(In reply to comment #3)
> I'll just do one step back untll we solve this problem  

Please don't do this...

Comment 6 Henrique C. S. Junior 2009-03-08 16:41:45 UTC
Ok, I'll try the patch. Probably this Monday Beda (the upstream maintainer), will give us an answer and, maybe, an official fix.

Comment 7 Fedora Update System 2009-03-08 17:46:28 UTC
bkchem-0.13.0-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/bkchem-0.13.0-3.fc9

Comment 8 Fedora Update System 2009-03-08 17:48:22 UTC
bkchem-0.13.0-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/bkchem-0.13.0-3.fc10

Comment 9 Henrique C. S. Junior 2009-03-08 17:55:41 UTC
Mamoru's patch is working (thanks, Mamoru) and a new release of bkchem will be
hitting YUM repos soon.
When the package is pushed to stable this bug report will be closed.

Comment 10 Henrique C. S. Junior 2009-03-09 11:55:51 UTC
Upstream give us an reply:
"Hi Henrique,

the suggested patch is a very elegant solution of the bug. I have
patched my source code and it will be part of the next release.
Thank you very much for your help.

    Best regards"

Comment 11 Fedora Update System 2009-03-09 23:00:28 UTC
bkchem-0.13.0-3.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2009-03-09 23:03:21 UTC
bkchem-0.13.0-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.