Issue 161 in sfepy: Wrong variable name "sm" in sfepy/postprocess/viewer.py

1 view
Skip to first unread message

sf...@googlecode.com

unread,
Dec 20, 2011, 7:11:09 AM12/20/11
to sfepy-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 161 by torsten....@gmail.com: Wrong variable name "sm" in
sfepy/postprocess/viewer.py
http://code.google.com/p/sfepy/issues/detail?id=161

It must be "vm":

Traceback (most recent call last):
File "asi_breaker.py", line 120, in <module>
main()
File "asi_breaker.py", line 117, in main
view(vector_mode="warp_norm", rel_scaling=2, is_scalar_bar=True,
is_wireframe=True)
File "/home/bronger/sfepy/sfepy/postprocess/viewer.py", line 725, in
call_mlab
% sm)
UnboundLocalError: local variable 'sm' referenced before assignment


sf...@googlecode.com

unread,
Dec 21, 2011, 5:37:54 AM12/21/11
to sfepy-...@googlegroups.com
Updates:
Status: Started

Comment #1 on issue 161 by robert.c...@gmail.com: Wrong variable name "sm"
in sfepy/postprocess/viewer.py
http://code.google.com/p/sfepy/issues/detail?id=161

Could you verify the fix at [1]?

[1] http://github.com/rc/sfepy/tree/master

sf...@googlecode.com

unread,
Dec 21, 2011, 5:43:56 AM12/21/11
to sfepy-...@googlegroups.com

Comment #2 on issue 161 by torsten....@gmail.com: Wrong variable name "sm"
in sfepy/postprocess/viewer.py
http://code.google.com/p/sfepy/issues/detail?id=161

I changed sm to vm locally on my PC in that line 725 and it worked for me.

sf...@googlecode.com

unread,
Dec 21, 2011, 5:47:57 AM12/21/11
to sfepy-...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 161 by robert.c...@gmail.com: Wrong variable name "sm"
in sfepy/postprocess/viewer.py
http://code.google.com/p/sfepy/issues/detail?id=161

Ok, let's close this...

sf...@googlecode.com

unread,
Jan 30, 2012, 8:23:51 AM1/30/12
to sfepy-...@googlegroups.com
Updates:
Status: Migrated

Comment #4 on issue 161 by robert.c...@gmail.com: Wrong variable name "sm"
in sfepy/postprocess/viewer.py
http://code.google.com/p/sfepy/issues/detail?id=161#c4

Migrated to http://github.com/sfepy/sfepy/issues/163

Reply all
Reply to author
Forward
0 new messages