[error] [client 178.59.111.223] (2)No such file or directory: exec of

Ferrous Cranus nikos.gr33k at gmail.com
Wed Aug 28 06:43:08 EDT 2013


Τη Τετάρτη, 28 Αυγούστου 2013 1:11:05 μ.μ. UTC+3, ο χρήστης ishish έγραψε:

> http://wiki.python.org/moin/HandlingExceptions

is this how you mean?

		try:
			#find the needed counter for the page URL
			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()		#URL is unique, so should only be one
		except:
			print repr(query) 
			print type(query) 

			print repr(escaped_args) 
			print type(escaped_args)


but i cannot see the error_log because of constant scrolling of error output.



More information about the Python-list mailing list