I'm trying to get Redland to connect to a Virtuoso instance and I am having some issues. I built the latest stable Redland with virtuoso support with iODBC. I did a test iODBC connection to Virtuoso through the iodbc tool 'iodbcadm-gtk', and it tests ok. <br>
<br>Software versions:<br>Redland 1.0.10 (my compile)<br>Redland Bindings 1.0.10.1 (my compile)<br>Raptor 1.4.19 (system library)<br>Rasqal 0.9.16 (system library)<br>Virtuoso 6.1 (my compile)<br>Ubuntu 9.10 x64<br><br>Built librdf with<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">./configure --with-virtuoso=yes --with-iodbc-lib=/usr/lib --with-odbc-inc=/usr/include --prefix=/media/dataext3/opt<br>
</blockquote><br>In Python, I've tried various combinations of this type of command:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
>>> vstore = RDF.Storage(storage_name="virtuoso", name="db1", options_string="dsn='LocalVirtuoso',user='dba',pass='dba'")<br></blockquote><br>Which produces this output:<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> 1498 if self._storage == "NULL" or self._storage == None:<br> 1499 self._storage=None<br>
-> 1500 raise RedlandError("Creating Storage failed")<br> 1501 <br> 1502 def __del__(self):<br><br>RedlandError: 'Creating Storage failed'<br></blockquote><br>Not for anything, but this message is pretty bad. I have no idea what part is causing the failure.<br>
<br>Any thoughts as to what the problem may be? Has anyone had luck doing this?<br><br>Thanks,<br>-Chris<br>