in case there is another option in my virtuoso.ini file that might be wrong, it is here:
http://pastebin.com/m7494e063 cheers, kurt j On Mon, Jun 15, 2009 at 10:58 AM, Kurt J<kur...@gmail.com> wrote: > Hi Hugh, > > thanks but this still does not seem to work. from the virtuoso.ini file: > > DirsAllowed = ., > /usr/local/virtuoso-opensource/share/virtuoso/vad, > /test-virtuoso > > i've but the file in '.' and '/test-virtuoso' and '/usr/local/... > /vad' to no avail. > > i get the same error message: > > In [42]: connect.execute('''sparql load > <file://usr/local/virtuoso-opensource/share/virtuoso/vad/cmn.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=ec2d5ae1a16231d222dfb7ecbdfd60cf', > error 2 (-1) (SQLExecDirectW)") > > thanks for your help. > > -kurt > > > On Sat, Jun 13, 2009 at 12:49 AM, Hugh Williams<hwilli...@openlinksw.com> > wrote: >> 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=fa0c30ab328817713407d402b927a311', >> 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 >> >