Hi Chris,
Have you been able to get the provided test program for testing the Redland
connectivity and storage to Virtuoso as detailed at:
http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFDriverRedland
As that I would assume to be the starting point and once working then seek to
connect from Python and other such languages etc.
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink
On 16 Mar 2010, at 16:28, Chris Wj wrote:
> I originally posted this in the Redland mailing list, but would like to ask
> here as well...
>
> 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.
>
> Software versions:
> Redland 1.0.10 (my compile)
> Redland Bindings 1.0.10.1 (my compile)
> Raptor 1.4.19 (system library)
> Rasqal 0.9.16 (system library)
> Virtuoso 6.1 (my compile)
> Ubuntu 9.10 x64
>
> Built librdf with
> ./configure --with-virtuoso=yes --with-iodbc-lib=/usr/lib
> --with-odbc-inc=/usr/include --prefix=/media/dataext3/opt
>
> In Python, I've tried various combinations of this type of command:
> >>> vstore = RDF.Storage(storage_name="virtuoso", name="db1",
> >>> options_string="dsn='LocalVirtuoso',user='dba',pass='dba'")
>
> Which produces this output:
>
> 1498 if self._storage == "NULL" or self._storage == None:
> 1499 self._storage=None
> -> 1500 raise RedlandError("Creating Storage failed")
> 1501
> 1502 def __del__(self):
>
> RedlandError: 'Creating Storage failed'
>
> This message is pretty bad as I have no idea what part is causing the failure.
>
> Any thoughts as to what the problem may be? Has anyone had luck doing this?
>
> Thanks,
> -Chris
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users