Re: I cant understand this error when i click a link on my website

2013-03-08 Thread info
Τη Παρασκευή, 8 Μαρτίου 2013 7:04:29 μ.μ. UTC+2, ο χρήστης sven έγραψε: > On 8 March 2013 16:50, Νίκος Γκρ33κ wrote: > > > > > > > > > but that same exact code is executed withour errors when someone is > http://superhost.gr > > > > the erro is produces when he is requesting a link fro

Re: I cant understand this error when i click a link on my website

2013-03-08 Thread MRAB
On 08/03/2013 17:04, Sven wrote: On 8 March 2013 16:50, Νίκος Γκρ33κ mailto:nikos.gr...@gmail.com>> wrote: but that same exact code is executed withour errors when someone is http://superhost.gr the erro is produces when he is requesting a link from that page... -- But with

Re: I cant understand this error when i click a link on my website

2013-03-08 Thread Νίκος Γκρ33κ
Τη Παρασκευή, 8 Μαρτίου 2013 6:46:35 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε: > On Sat, Mar 9, 2013 at 3:35 AM, Νίκος Γκρ33κ wrote: > > >15 htmlpage = htmlpage.replace( '/home/nikos/public_html/', '' ) > > > re = , re.search = > > , htmlpage = ['/home/nikos/public_html/index.ht

Re: I cant understand this error when i click a link on my website

2013-03-08 Thread Chris Angelico
On Sat, Mar 9, 2013 at 3:35 AM, Νίκος Γκρ33κ wrote: >15 htmlpage = htmlpage.replace( '/home/nikos/public_html/', '' ) > re = , re.search = search>, htmlpage = ['/home/nikos/public_html/index.html', 'pelatologio.py'] > : expected string or buffer The regular expression functions expec

I cant understand this error when i click a link on my website

2013-03-08 Thread Νίκος Γκρ33κ
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /home/nikos/public_html/cgi-bin/metrites.py in () 12 13 htmlpage = form.getvalue('htmlpage') 14 if re.search( r'(.html|.py)', htmlpage ): 15 htm