Success - Redland/Python on Windows!
UPDATE: An updated version is available; see the official announcement.
This is a DEBUG port of the Redland 1.0.0.2 Python bindings (and the underlying Redland 1.0.0 code). I’ve created a Windows installer for the binaries using distutils. If you can, please mirror it (and give the location in the comments) - my allocated bandwidth is meager.
Thanks to this tip from Suzan Foster, I was able to get everything sorted. I’ll need to figure out exactly what I did, document it, and push it back to Dave for inclusion in the standard distribution. I’ll also split out the C dlls and put a zip for people who are not using Python (like the folks working on other bindings).
Probably I’ve dropped some stuff; I’ll look into that after the cleanup and debrief.
I can run example.py and test.py from the standard bindings package; both run all the way through. After the cleanup I’ll look at assembling a real unit test package for the Python bindings. In the meantime, please leave a comment if you have any issues; it’ll give me an idea of what things I may have dropped/disabled.
For those that care, I’m using libxml2 and compiled with multithreaded support. This was compiled against Python 2.4 using the Visual C+ compiler that ships as part of the .NET Framework 1.1 SP1 (cl.exe reports version 13.10.3077).
April 29th, 2005 at 9:18 pm
Redland/Python on Windows
April 29th, 2005 at 9:27 pm
[…] indows!
Filed under: Semantic Web — Danny @ 09:29
John Barstow reports success on getting this to work. I’ve been enjoying using Red […]
April 30th, 2005 at 2:43 am
Congratulations. The cross-library alloc/free crashes shouldn’t happen - they are bugs - so if there’s any diagnosis of what was crashing suck as a call stack, that might help me look into it.
May 13th, 2005 at 7:06 am
How to create a mysql storage with this python binding distribution ?
May 13th, 2005 at 9:59 am
See the documentation at http://librdf.org/docs/pydoc/RDF.html#Storage or try the support options at http://librdf.org/lists/
I don’t have MySQL installed, so I can’t give a working example. If you have code that works on Linux but not on Windows, that’s a bug and you should let me know.
I should also point out that an updated version is available at https://nzlinux.org.nz/blogs/2005/05/12/redland-windows-release-100/
May 14th, 2005 at 7:22 am
I followed the instructions, set storage-name to mysql and some optional strings, but still got a RDF.RDF.RedlandError: ‘Creating Storage failed’.
I also checked into your code in RDF.py, there is just a None-checking line to handle creation failure, so I couldn’t provide more error information.
I’m using the latest binary build.
Thanks for your work on the binary build, it’s a mess work to build a redland on windows manually
May 14th, 2005 at 9:18 am
I probably need to tweak some defines to get MySQL support compiled correctly; I’ll work up some sample code on my Linux box and see about getting MySQL installed on my Linux box.