Computer Science Canada Python help |
Author: | Amailer [ Fri Oct 22, 2004 5:59 pm ] | ||
Post subject: | Python help | ||
Im getting this error and since I don't know anything in Python, can anyone help me? its for the viewcvs-- i installed pythin 2.3 or w/e with apache as a module, the script was working until I did the update (from 7.0 something to 9.2 :S). Anyone know what's wrong? http://cvs2.gfx-pro.ath.cx |
Author: | Amailer [ Fri Oct 22, 2004 6:03 pm ] | ||
Post subject: | |||
OH yeah, I got a an error just like this one but that was before I had installed Python correctly or atleast I think its installed correctly ![]()
loaded it as a module Apache sig wrote:
seems to be installed right? Anyway, as i said after I upgraded the viewcvs script, it stopped working and I returned to what I was about 2 weeks ago ![]() ![]() hehe. |
Author: | wtd [ Fri Oct 22, 2004 7:00 pm ] |
Post subject: | |
The getuid() method in the os module is only available on *nix platforms. There may be another fix, but I can't say without seeing the whole script, and I can't even then guarantee changes won't affect the program in ways I can't foresee. |
Author: | Amailer [ Fri Oct 22, 2004 7:05 pm ] |
Post subject: | |
wtd wrote: The getuid() method in the os module is only available on *nix platforms.
There may be another fix, but I can't say without seeing the whole script, and I can't even then guarantee changes won't affect the program in ways I can't foresee. You can download the whole script at http://viewcvs.sourceforge.net/#Download and um, yeah i have no idea what the getuid() method is and how to enable it. If you could tell me ill try. |
Author: | wtd [ Fri Oct 22, 2004 7:13 pm ] |
Post subject: | |
Amailer wrote: wtd wrote: The getuid() method in the os module is only available on *nix platforms.
There may be another fix, but I can't say without seeing the whole script, and I can't even then guarantee changes won't affect the program in ways I can't foresee. You can download the whole script at http://viewcvs.sourceforge.net/#Download and um, yeah i have no idea what the getuid() method is and how to enable it. If you could tell me ill try. os.getuid.__doc__ wrote: getuid() -> uid
Return the current process's user id. There's no way to enable it. Bitch at Microsoft about that. |
Author: | Amailer [ Fri Oct 22, 2004 10:56 pm ] |
Post subject: | |
wtd wrote: Amailer wrote: wtd wrote: The getuid() method in the os module is only available on *nix platforms.
There may be another fix, but I can't say without seeing the whole script, and I can't even then guarantee changes won't affect the program in ways I can't foresee. You can download the whole script at http://viewcvs.sourceforge.net/#Download and um, yeah i have no idea what the getuid() method is and how to enable it. If you could tell me ill try. os.getuid.__doc__ wrote: getuid() -> uid
Return the current process's user id. There's no way to enable it. Bitch at Microsoft about that. Agr, not another M$ thing -.-. But this has to be fixed because it worked before, unless they added something new in this version (but the error looks the same). Oh well, thanks anyways. EDIT: I am positive now that I had the same error before, I posted it on SF.net (their support page, no reply) and after I installed Python as a module with Apache it suddenly worked ![]() |
Author: | Amailer [ Sat Oct 23, 2004 12:48 am ] |
Post subject: | |
Ahh, their new version fixed it! Well their new under developement version. http://cvs.gfx-pro.ath.cx/viewcvs.cgi/ ![]() |
Author: | wtd [ Sat Oct 23, 2004 3:31 am ] |
Post subject: | |
Amailer wrote: Ahh, their new version fixed it!
Well their new under developement version. http://cvs.gfx-pro.ath.cx/viewcvs.cgi/ ![]() Nope. Glad you got it resolved. |