Re: PyChart into web site error

2005-04-13 Thread Damjan
>>>AttributeError: 'module' object has no attribute 'argv' >>> >>>Why my script doesn't have sys.argv? ... >> How are you serving the pages? > > Apache 2.0.48, mod_python 3.1.3 and Python 2.3.3 > on my mdk 10.0 Obviosly when using mod_python there's no sys.argv (and what would it contain if it ex

Re: PyChart into web site error

2005-04-13 Thread Lee Harr
On 2005-04-13, Michele Petrazzo <[EMAIL PROTECTED]> wrote: > Lee Harr wrote: >> On 2005-04-12, Michele Petrazzo <[EMAIL PROTECTED]> wrote: >> >>>I'm using PyChart like a module for create charts into a little web >>>site, but when I try to create one, I have this error: >>> >>>/var/www/html/lgt/dr

Re: PyChart into web site error

2005-04-13 Thread Michele Petrazzo
Lee Harr wrote: On 2005-04-12, Michele Petrazzo <[EMAIL PROTECTED]> wrote: I'm using PyChart like a module for create charts into a little web site, but when I try to create one, I have this error: /var/www/html/lgt/draw.py:19, in draw: can = canvas.init(self.file_name) /usr/lib/python2.3/site-pack

Re: PyChart into web site error

2005-04-12 Thread Lee Harr
On 2005-04-12, Michele Petrazzo <[EMAIL PROTECTED]> wrote: > I'm using PyChart like a module for create charts into a little web > site, but when I try to create one, I have this error: > > /var/www/html/lgt/draw.py:19, in draw: > can = canvas.init(self.file_name) > /usr/lib/python2.3/site-packages

PyChart into web site error

2005-04-12 Thread Michele Petrazzo
I'm using PyChart like a module for create charts into a little web site, but when I try to create one, I have this error: /var/www/html/lgt/draw.py:19, in draw: can = canvas.init(self.file_name) /usr/lib/python2.3/site-packages/pychart/canvas.py:60, in init: can = pngcanvas.T(fname) /usr/lib/pytho