Menu ▾ ▴

#14 Error when running example01

1.0
closed
None
2016-02-21
2016-02-16
No

I downloaded the last version and unzipped it. When trying to run example01, I get the following error message:
Traceback (most recent call last):
File "Example01.py", line 87, in <module>
mupif.log.debug("Time: %5.2f concentraion %5.2f, running average %5.2f" % (istep.getTime(), c.getValue(), prop.getValue()))
AttributeError: 'module' object has no attribute 'log'</module>

What should I do to get it running?

Discussion

  • Borek Patzak

    Borek Patzak - 2016-02-16
    • assigned_to: Vit Smilauer
     
  • Vit Smilauer

    Vit Smilauer - 2016-02-21

    This seems to be an unhappy combination of gid and pip updates. The logger should be loaded from MuPIF's init.py as mupif.log or mupif.logger. It should work now both for git and pip.

     
  • Vit Smilauer

    Vit Smilauer - 2016-02-21
    • status: open --> closed
     

Log in to post a comment.