On Wed, Nov 11, 2009 at 6:35 PM, Rhodri James
wrote:
> On Wed, 11 Nov 2009 14:00:44 -, Victor Subervi <
> victorsube...@gmail.com> wrote:
>
> 6) you don't indicate which user is executing this script (only root can
>>> write to it)
>>>
>>> Help me on this. All scripts are owned by root. Is i
On Wed, 11 Nov 2009 14:00:44 -, Victor Subervi
wrote:
6) you don't indicate which user is executing this script (only root can
write to it)
Help me on this. All scripts are owned by root. Is it not root that is
executing the script?
Not unless your server setup is very, very stupid.
On Wed, Nov 11, 2009 at 2:46 PM, Rami Chowdhury wrote:
> Now, the problem is that it doesn't print the picture. It prints only the
>> url. Please try:
>> http://angrynates.com/stcroixresort/cart/getpic.py?w=1&i=1
>> Now, if I go into mysql and the correct database and enter:
>> select pic1 from pr
Now, the problem is that it doesn't print the picture. It prints only the
url. Please try:
http://angrynates.com/stcroixresort/cart/getpic.py?w=1&i=1
Now, if I go into mysql and the correct database and enter:
select pic1 from products where ID=1;
it starts printing out all sorts of crap (indicati
Never mind. It appears my old original file from a couple of years ago
prints out the image nicely. Thanks all!
V
On Wed, Nov 11, 2009 at 2:26 PM, Victor Subervi wrote:
> On Wed, Nov 11, 2009 at 1:20 PM, Benjamin Kaplan > wrote:
>
>> On Wed, Nov 11, 2009 at 11:42 AM, Victor Subervi
>> wrote:
>>
On Wed, Nov 11, 2009 at 1:20 PM, Benjamin Kaplan
wrote:
> On Wed, Nov 11, 2009 at 11:42 AM, Victor Subervi
> wrote:
> > On Wed, Nov 11, 2009 at 11:23 AM, Rami Chowdhury <
> rami.chowdh...@gmail.com>
> > wrote:
> >>
> >> On Wed, 11 Nov 2009 06:00:44 -0800, Victor Subervi
> >> wrote:
> >>
> >>> On
On Wed, Nov 11, 2009 at 11:42 AM, Victor Subervi
wrote:
> On Wed, Nov 11, 2009 at 11:23 AM, Rami Chowdhury
> wrote:
>>
>> On Wed, 11 Nov 2009 06:00:44 -0800, Victor Subervi
>> wrote:
>>
>>> On Tue, Nov 10, 2009 at 4:33 PM, Dave Angel wrote:
>>>
Victor Subervi wrote:
>>
Wrong?
2)
Victor Subervi wrote:
> I will do that after I fix the problem
"Doing that" is the fix.
> No, this doesn't fix the problem!
How do you know? You obviously haven't tried it, since you say you have
yet to do it.
--
Carsten Haese
http://informixdb.sourceforge.net
--
http://mail.python.org/mailma
On Wed, Nov 11, 2009 at 11:58 AM, Carsten Haese wrote:
> Victor Subervi wrote:
> > Here's
> > a bigger code snippet with the entire try clause:
> >
> > if 14 < x < 20: # This just shows that it's a pic, not some
> > other type of data
> > y += 1
> > w += 1
> >
Victor Subervi wrote:
> Here's
> a bigger code snippet with the entire try clause:
>
> if 14 < x < 20: # This just shows that it's a pic, not some
> other type of data
> y += 1
> w += 1
> try: # It does this, because I've printed 'getpic1.py' etc.
>
On Wed, 11 Nov 2009 08:42:27 -0800, Victor Subervi
wrote:
On Wed, Nov 11, 2009 at 11:23 AM, Rami Chowdhury
wrote:
On Wed, 11 Nov 2009 06:00:44 -0800, Victor Subervi <
victorsube...@gmail.com> wrote:
On Tue, Nov 10, 2009 at 4:33 PM, Dave Angel wrote:
Victor Subervi wrote:
Wrong?
On Wed, Nov 11, 2009 at 11:23 AM, Rami Chowdhury
wrote:
> On Wed, 11 Nov 2009 06:00:44 -0800, Victor Subervi <
> victorsube...@gmail.com> wrote:
>
> On Tue, Nov 10, 2009 at 4:33 PM, Dave Angel wrote:
>>
>> Victor Subervi wrote:
>>>
>>
> Wrong?
>>>
>>> 2) you don't show the error traceback
>>>
On Wed, 11 Nov 2009 06:00:44 -0800, Victor Subervi
wrote:
On Tue, Nov 10, 2009 at 4:33 PM, Dave Angel wrote:
Victor Subervi wrote:
Wrong?
2) you don't show the error traceback
because there are none
try: # It does this, because I've printed 'getpic1.py' etc.
On Tue, Nov 10, 2009 at 4:33 PM, Dave Angel wrote:
> Victor Subervi wrote:
>
>> Hi;
>> I've determined the problem in a script is I can't open a file to write
>> it:
>> script = open(getpic, "w") # where getpic is already defined
>> Here are the permissions:
>> -rwxr-xr-x 1 root root 4649 Nov
Victor Subervi wrote:
Hi;
I've determined the problem in a script is I can't open a file to write it:
script = open(getpic, "w") # where getpic is already defined
Here are the permissions:
-rwxr-xr-x 1 root root 4649 Nov 10 12:31 start.py
What am I doing wrong?
TIA,
Victor
Wrong?
1) you
On Tue, 10 Nov 2009 12:57:30 -0800, Victor Subervi
wrote:
On Tue, Nov 10, 2009 at 3:41 PM, Rami Chowdhury
wrote:
On Tue, 10 Nov 2009 12:38:36 -0800, Victor Subervi <
victorsube...@gmail.com> wrote:
Hi;
I've determined the problem in a script is I can't open a file to write
it:
script =
On Tue, Nov 10, 2009 at 3:41 PM, Rami Chowdhury wrote:
> On Tue, 10 Nov 2009 12:38:36 -0800, Victor Subervi <
> victorsube...@gmail.com> wrote:
>
> Hi;
>> I've determined the problem in a script is I can't open a file to write
>> it:
>> script = open(getpic, "w") # where getpic is already define
On Tue, 10 Nov 2009 12:38:36 -0800, Victor Subervi
wrote:
Hi;
I've determined the problem in a script is I can't open a file to write
it:
script = open(getpic, "w") # where getpic is already defined
Here are the permissions:
-rwxr-xr-x 1 root root 4649 Nov 10 12:31 start.py
What am I do
Hi;
I've determined the problem in a script is I can't open a file to write it:
script = open(getpic, "w") # where getpic is already defined
Here are the permissions:
-rwxr-xr-x 1 root root 4649 Nov 10 12:31 start.py
What am I doing wrong?
TIA,
Victor
--
http://mail.python.org/mailman/listinfo/
19 matches
Mail list logo