[error] [client 178.59.111.223] (2)No such file or directory: exec of
Ferrous Cranus
nikos.gr33k at gmail.com
Wed Aug 28 07:14:37 EDT 2013
Okey, continue trying and trying i came up with this:
try:
if os.path.exists( path + page ) or os.path.exists( cgi_path + page ):
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
data = cur.fetchone()
except:
with open("err.out", "a") as f:
f.write( repr(query), type(query) )
f.write( repr(escaped_args), type(escaped_args) )
But i cannot test it without looking at the error log which is scrolling like hell and doesn't even quit with a ctrl+c
How will i manage to troubleshoot?
Please confirm the above is correct and is what you were propsoing i shoudl test.
More information about the Python-list
mailing list