CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[PyFoam] pyFoamClearCase.py "ImportError: cannot import name FatalErrorPyFoamException"

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 5, 2012, 14:48
Default pyFoamClearCase.py "ImportError: cannot import name FatalErrorPyFoamException"
  #1
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Oh where oh where art thou Bernhard ...

Having some trouble with pyFoam since upgrading from v0.5.4 to 0.5.7. When I run a pyFoam command, for example pyFoamClearCase.py, I get the following:
Code:
[user@computer case]$ pyFoamClearCase.py 
Traceback (most recent call last):
  File "/usr/bin/pyFoamClearCase.py", line 3, in <module>
    from PyFoam.Applications.ClearCase import ClearCase
  File "/usr/lib/python2.6/site-packages/PyFoam/Applications/ClearCase.py", line 6, in <module>
    from PyFoamApplication import PyFoamApplication
  File "/usr/lib/python2.6/site-packages/PyFoam/Applications/PyFoamApplication.py", line 8, in <module>
    from PyFoam.Error import error,warning,FatalErrorPyFoamException
ImportError: cannot import name FatalErrorPyFoamException
I am sure the error is between the keyboard and chair but I'm not sure where to start. I installed it as root. I didn't know how to remove/uninstall v0.5.4 so I installed v0.5.7 over top (perhaps that's the issue). Let me, if/what additional info you need.

Last edited by cnsidero; June 6, 2012 at 08:14.
cnsidero is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PyFoam] First discussion thread about PyFoam braennstroem OpenFOAM Community Contributions 338 March 17, 2022 14:05
I developed an FEM toolkit in Java: FuturEye nkliuyueming Main CFD Forum 7 January 29, 2016 13:28
[PyFoam] library import error 00Sibbe OpenFOAM Community Contributions 5 October 15, 2014 11:41
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 14:35.