Ticket #52 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Python binding broken in 1.2.15

Reported by: todd.valentic@… Owned by: oetiker
Priority: major Milestone:
Component: misc Version: 1.2.15
Keywords: python Cc: todd.valentic@…

Description

The Python binding no longer works since updating to 1.2.15 (tested on both Fedora Core 5/Python 2.4 and Fedora Core 4/Python 2.3).

The following error occurs when importing the module:

Python 2.4.3 (#1, Jun 13 2006, 11:46:08)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rrdtool
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initrrdtool)
>>>

The release notes mention a change in the naming convention and checking the subversion site shows the relevant change was made in revision 839:

 http://people.ee.ethz.ch/~oetiker/webtools/rrdtool-trac/changeset/839

Backing out these changes fixes the problem. I think the original version correctly follows the expected naming convention.

Change History

comment:1 Changed 6 years ago by Jarod Wilson <jwilson@…>

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in svn revision [864]. Patch included in latest Fedora Extras rrdtool builds.

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.