Re: [Gug-devel] Gug-install
Status: Planning
Brought to you by:
szferi
From: Zsombor <scy...@gm...> - 2007-09-05 15:29:36
|
Igen, az uj, CVS verziot hasznalom. Beleirkaltam a kodokat, az eredmeny ket proba utan a kovetkezo: scythe@scythe-laptop:~$ python /home/scythe/gug/bin/grid.py -c /home/scythe/gug/etc/client.conf.default storage exists proba Traceback (most recent call last): File "/home/scythe/gug/bin/grid.py", line 12, in <module> from gug.client.soap import set_tls File "/home/scythe/gug/gug/client/soap.py", line 168 log.error("\n\n\n***", exception, "***\n\n\n") ^ IndentationError: unexpected indent es scythe@scythe-laptop:~$ python /home/scythe/gug/bin/grid.py -c /home/scythe/gug/etc/client.conf.default storage mkdir proba Traceback (most recent call last): File "/home/scythe/gug/bin/grid.py", line 12, in <module> from gug.client.soap import set_tls File "/home/scythe/gug/gug/client/soap.py", line 168 log.error("\n\n\n***", exception, "***\n\n\n") ^ IndentationError: unexpected indent Zsombor 2007/9/5, Zsombor Nagy <zs...@ni...>: > > On 2007.09.04., at 22:39, Zsombor wrote: > > > File "/home/scythe/gug/gug/client/soap.py", line 168, in __call__ > > exc =3D import_class_from_string(exception) > > File "/home/scythe/gug/gug/common/share.py", line 21, in > > import_class_from_string > > cl =3D __import__(module) # import module > > ImportError: No module named <class 'gug.common.exception > > ha ez megis csak a head ag, akkor ket helyen kellene most beleirni a > kodba debugollas celzattal: > > gug/host/handler/soap.py: > > 103 except Exception, e: > 104 # if there is any exception, first write it to the > log > 105 log.error() # or maybe not > 106 # get the string representation of the Exception > class > 107 # use cgi.escape not to interfere with the xml > syntax of the SOAP message > 108 fail =3D cgi.escape(str(e.__class__)) > ide---> log.error("\n\n\n****", fail, "****\n\n\n") > 109 if not e.args: > 110 # if the exception has no arguments, use the > string representation of it > 111 args =3D cgi.escape(str((str(e),))) > 112 else: > > > gug/client/soap.py: > > 162 except FaultException, e: > 163 if self.unwrap: > 164 exception, arguments, traceback =3D eval > (e.fault.string) > 165 #print exception > 166 #print arguments > 167 #print traceback > meg ide--> log.error("\n\n\n***", exception, "***\n\n\n") > 168 exc =3D import_class_from_string(exception) > 169 args =3D eval(arguments) > 170 raise exc, args > > > azt=E1n megn=E9zni, hogy mit ir ki a logba. > > zs |