Issue1683
Created on 2010-12-07.08:21:59 by sensagent, last changed 2013-02-19.23:17:15 by fwierzbicki.
msg6270 (view) |
Author: Dominique (sensagent) |
Date: 2010-12-07.08:21:59 |
|
TempConverter.py doesn't work
On windows platform, you get :
Jython 2.5.2rc2 ...
>>> import os
>>> os.chdir('Demo')
>>> os.chdir('bean')
>>> import TempConverter
>>> TempConverter.main()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'
>>>
But the __main__ is well finishing the script as it possible to check it:
if __name__ == "__main__":
c = TempConverter()
print c
|
msg6305 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2010-12-29.01:38:05 |
|
What documentation refers to calling TempConverter.main?
|
msg7706 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2013-02-19.23:17:15 |
|
Two years without an answer probably means we can close this.
|
|
Date |
User |
Action |
Args |
2013-02-19 23:17:15 | fwierzbicki | set | status: open -> closed resolution: out of date messages:
+ msg7706 nosy:
+ fwierzbicki versions:
+ Jython 2.5, - 25rc4 |
2010-12-29 01:38:05 | pjenvey | set | nosy:
+ pjenvey messages:
+ msg6305 |
2010-12-07 08:21:59 | sensagent | create | |
|