**** BEGIN LOGGING AT Wed Feb 25 11:06:36 2004 | ||
-->You are now talking on #schooltool | 11:06 | |
-->alga (~alga@office.pov.lt) has joined #SchoolTool | 11:17 | |
mgedmin | I got an email from Greg Stroud | 12:26 |
---|---|---|
mgedmin | it appears that __file__ is not defined in schooltool-server.py | 12:26 |
mgedmin | alga says its not defined for the __main__ module | 12:27 |
mgedmin | but why does it work on linux then? | 12:27 |
*mgedmin is lost | 12:34 | |
mgedmin | hey, we tested those scripts on win98 too | 12:34 |
mgedmin | and they did work | 12:34 |
mgedmin | then why NameError: name '__file__' is not defined??? | 12:35 |
alga | does google say anything? | 12:35 |
mgedmin | google says: __file__ being defined in scripts is new in python 2.3. | 12:37 |
SteveA | I thought the software refuses to run with an older python | 12:38 |
alga | the server, yes | 12:38 |
alga | the setup scripts... | 12:39 |
mgedmin | I suspect the version check comes after the use of __file__ | 12:39 |
mgedmin | btw I wouldn't call them setup scripts | 12:39 |
mgedmin | driver scripts maybe | 12:40 |
SteveA | are the small? | 12:43 |
SteveA | they might be mini-driver scripts | 12:44 |
SteveA | http://www.imdb.com/name/nm0000378/ | 12:44 |
<--alga has quit (Read error: 104 (Connection reset by peer)) | 13:36 | |
mgedmin | no | 13:40 |
mgedmin | the version check is at the very top of schooltool-server.py | 13:40 |
mgedmin | Greg does have python 2.3 | 13:40 |
mgedmin | I've sent him an email asking for the exacty python version | 13:53 |
mgedmin | and suggesting to either upgrade to 2.3.3 or substitute __file__ with sys.argv[0] as a workaround | 13:53 |
---Disconnected (Connection timed out). | 15:19 | |
**** ENDING LOGGING AT Wed Feb 25 15:19:44 2004 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!