Hi Kurt,
You indicate the file is in your ./vsp folder, but is the Virtuoso
Server Allowed Access to this location as indicated in the the
"DirsAllows" parameter of the configuration file (virtuoso.ini) ? By
default the config file contains:
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/
vad, /usr/local/virtuoso-opensource/var/lib/virtuoso/db
So I would suggest placing the file in the "db" folder assuming this
is in your DirsAllowed param ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
On 12 Jun 2009, at 18:20, Kurt J wrote:
Hi All,
I want to insert a local rdf into the store thru an odbc connection.
Is this doable?
If i put the file in the ./vsp dir, i get this:
In [29]: con = pyodbc.connect
('DSN=SysVirt;UID=dba;PWD=dba;HOST=localhost:1112')
In [30]: con.execute('''sparql load <file://cmn2.rdf> into
<http://test.cmn.graph>''')
----------------------------------------------------------------------
-----
Error Traceback (most recent
call last)
/Users/kurtjx/Documents/workspace/myspace-serv/src/<ipython console>
in <module>()
Error: ('39000', "[39000] [OpenLink][Virtuoso iODBC Driver][Virtuoso
Server]FA005: Can't open file
'/test-virtuoso/vsp/
D5=17eaf0b98fe28b8448405cdb159b7b58&graphMD5=fa0c30ab328817713407d402b
927a311',
error 2 (-1) (SQLExecDirectW)")
also note that i first tried:
con.execute('''sparql load <cmn2.rdf> into <http://
test.cmn.graph>''')
(no 'file://') and this crashed virtuoso 5.11 w/ a segfault. just
fyi.
thanks,
Kurt J
----------------------------------------------------------------------
--------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users