Hi ! I am trying to install "ZGDChart" on Zope 2.10.4 (with RedHat Enterprise 5 and Python 2.4.4), but I have not gotten it. I have tried to use: "gd library" (version gd-2.0.34), "gdchart" (version gdchar0.11.5dev), "pygdchart" (version pygdchart2) and "ZGDChart" (version ZGDChart-70), although I have tried different versions, too. I have gotten to compile it and I can to create a graph on Zope, but when I try to view the graph then the ZGDChart product shows the next error: " Module Products.ZGDChart.ZGDChart, line 932, in _setOption" Anybody can help me, about this problem ? Thanks !
--On 17. Mai 2007 12:51:31 +0200 Juan Javier Carrera Obrero <jcarrera@uco.es> wrote:
Hi !
I am trying to install "ZGDChart" on Zope 2.10.4 (with RedHat Enterprise 5 and Python 2.4.4), but I have not gotten it.
I have tried to use: "gd library" (version gd-2.0.34), "gdchart" (version gdchar0.11.5dev), "pygdchart" (version pygdchart2) and "ZGDChart" (version ZGDChart-70), although I have tried different versions, too.
I have gotten to compile it and I can to create a graph on Zope, but when I try to view the graph then the ZGDChart product shows the next error: " Module Products.ZGDChart.ZGDChart, line 932, in _setOption"
Full traceback? -aj
The traceback shows is: ----- Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.ZGDChart.ZGDChart, line 681, in index_html Module Products.ZGDChart.ZGDChart, line 859, in _chart Module Products.ZGDChart.ZGDChart, line 932, in _setOption NameError: global name 'option' is not defined ----- This traceback is produced when I have used: "gd-1.8.4", "gdchart-0.11.4dev", "pygdchart2" and "ZGDChart-7.0", because in another way I have not gotten run it. Thank you ! Andreas Jung escribió:
--On 17. Mai 2007 12:51:31 +0200 Juan Javier Carrera Obrero <jcarrera@uco.es> wrote:
Hi !
I am trying to install "ZGDChart" on Zope 2.10.4 (with RedHat Enterprise 5 and Python 2.4.4), but I have not gotten it.
I have tried to use: "gd library" (version gd-2.0.34), "gdchart" (version gdchar0.11.5dev), "pygdchart" (version pygdchart2) and "ZGDChart" (version ZGDChart-70), although I have tried different versions, too.
I have gotten to compile it and I can to create a graph on Zope, but when I try to view the graph then the ZGDChart product shows the next error: " Module Products.ZGDChart.ZGDChart, line 932, in _setOption"
Full traceback?
-aj
--On 17. Mai 2007 13:37:35 +0200 Juan Javier Carrera Obrero <jcarrera@uco.es> wrote:
The traceback shows is:
-----
Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.ZGDChart.ZGDChart, line 681, in index_html Module Products.ZGDChart.ZGDChart, line 859, in _chart Module Products.ZGDChart.ZGDChart, line 932, in _setOption NameError: global name 'option' is not defined
Latest release from Januar 2000...you should not use such old unmaintained products. Likely the API of the underlying Python modules changed. -aj
Juan Javier Carrera Obrero wrote at 2007-5-17 13:37 +0200:
The traceback shows is:
-----
Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.ZGDChart.ZGDChart, line 681, in index_html Module Products.ZGDChart.ZGDChart, line 859, in _chart Module Products.ZGDChart.ZGDChart, line 932, in _setOption NameError: global name 'option' is not defined
"NameError"s are about 99 per cent indications of programming errors in the last entry of the traceback. Thus, look at the code and try to determine what "option" is supposed to be. Then fix the problem. -- Dieter
participants (3)
-
Andreas Jung -
Dieter Maurer -
Juan Javier Carrera Obrero