Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53141
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-08-28 05:17 -0700 |
| References | (2 earlier) <mailman.272.1377613496.19984.python-list@python.org> <kvif5n$drv$2@news.grnet.gr> <521cdce7$0$29986$c3e8da3$5496439d@news.astraweb.com> <3d299421-7c03-4c92-b860-15b111e75bc1@googlegroups.com> <521de8db$0$6599$c3e8da3$5496439d@news.astraweb.com> |
| Message-ID | <bad26a85-e9d7-4e85-a4aa-e5ff8b7f8c4b@googlegroups.com> (permalink) |
| Subject | Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of |
| From | Ferrous Cranus <nikos.gr33k@gmail.com> |
Τη Τετάρτη, 28 Αυγούστου 2013 3:11:07 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε:
> On Wed, 28 Aug 2013 01:46:01 -0700, Ferrous Cranus wrote:
>
>
>
> > Τη Τρίτη, 27 Αυγούστου 2013 8:07:52 μ.μ. UTC+3, ο χρήστης Steven
>
> > D'Aprano έγραψε:
>
>
>
> >> Hint: you can use
>
> >> "print(type(page), file=open('path/to/some/file', 'w'))"
>
> >>
>
> >> to see the type of the variable 'page' without displaying it on your
>
> >> website.
>
>
>
>
>
> > i tried to do what you said and iam receing this:
>
> >
>
> > [Wed Aug 28 08:43:31 2013] [error] [client 108.162.231.120] Original
>
> > exception was: [Wed Aug 28 08:43:31 2013] [error] [client
>
> > 108.162.231.120] Traceback (most recent call last): [Wed Aug 28 08:43:31
>
> > 2013] [error] [client 108.162.231.120] File
>
> > "/home/nikos/public_html/cgi-bin/metrites.py", line 39, in <module> [Wed
>
> > Aug 28 08:43:31 2013] [error] [client 108.162.231.120] print(
>
> > type(page), file=open('../err.out', 'w') ) [Wed Aug 28 08:43:31 2013]
>
> > [error] [client 108.162.231.120] PermissionError: [Errno 13]
>
> > \\u0386\\u03c1\\u03bd\\u03b7\\u03c3\\u03b7
>
> > \\u03c0\\u03c1\\u03cc\\u03c3\\u03b2\\u03b1\\u03c3\\u03b7\\u03c2:
>
> > '../err.out' [Wed Aug 28 08:43:31 2013] [error] [client 108.162.231.120]
>
> > Premature end of script headers: metrites.py
>
>
>
> Then pick a different location, one where you have permission to write
>
> files!
>
>
>
> Honestly Nikos, I'm not trying to be rude, but if you cannot think of
>
> this on your own after all this time we've been helping you, perhaps
>
> programming is not the right vocation for you. Perhaps you need to
>
> consider a change of career.
>
>
>
> If you do decide to stay as a web developer, you need to start thinking:
>
>
>
> * What is this error message telling me? ("Permission denied")
>
>
>
> * How can I fix that? ("I need permission to read the file. Maybe try a
>
> different file?")
>
>
>
>
>
>
>
> > Also many times when i try to view the error_log by
>
> >
>
> > tail -F /usr/local/apache/logs/error_log &
>
> >
>
> > i get realtime scrolling of other joomla webistes pho errors and i have
>
> > hard time trackign my own webistes erros.
>
> >
>
> > is ther a work around for that?
>
>
>
>
>
> That's an apache logging issue, not Python, and I don't know enough about
>
> apache to do more than guess that there probably is a solution but I have
>
> no idea what it is.
>
>
>
>
>
>
>
> --
>
> Steven
As i have pointed out i as the owner of the accoutn have read and write perimssion bot at www/ and www/cgi-bin
i also chnage the filename and still cant write to the file.
if you as experts cannot help resolve this, how me as a newbiw can?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos@superhost.gr> - 2013-08-27 15:52 +0300
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos@superhost.gr> - 2013-08-27 16:05 +0300
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos@superhost.gr> - 2013-08-27 16:35 +0300
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-08-27 19:20 -0400
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of ishish <ishish@domhain.de> - 2013-08-27 14:59 +0100
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos@superhost.gr> - 2013-08-27 18:04 +0300
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of ishish <ishish@domhain.de> - 2013-08-27 16:22 +0100
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 02:48 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of ishish <ishish@domhain.de> - 2013-08-28 11:11 +0100
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 03:43 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 03:46 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 04:14 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Dave Angel <davea@davea.name> - 2013-08-28 11:32 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 04:35 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 04:38 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Dave Angel <davea@davea.name> - 2013-08-28 18:40 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 04:55 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-08-28 15:38 +0200
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 07:58 -0700
RE: [error] [client 178.59.111.223] (2)No such file or directory: exec of "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-28 18:44 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 22:49 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-28 18:56 -0400
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 23:36 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Chris Angelico <rosuav@gmail.com> - 2013-08-29 08:55 +1000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of ishish <ishish@domhain.de> - 2013-08-28 12:51 +0100
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 05:03 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of ishish <ishish@domhain.de> - 2013-08-28 13:16 +0100
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 12:21 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 05:36 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-27 17:07 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 01:46 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 02:24 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 12:11 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 05:17 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 12:38 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 05:48 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 06:11 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-28 22:56 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-08-28 21:20 -0700
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Steven D'Aprano <steve@pearwood.info> - 2013-08-29 06:30 +0000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Cameron Simpson <cs@zip.com.au> - 2013-08-29 11:01 +1000
Re: [error] [client 178.59.111.223] (2)No such file or directory: exec of Cameron Simpson <cs@zip.com.au> - 2013-08-29 11:04 +1000
csiph-web