Hi Anton,

Can you please provide an iODBC trace of your attempts to insert unicode
data with the Virtuoso unicode driver (virtodbc32u_r.so) with the mxODBC and
pyodbc drivers. The iODBC tracing can be enabled by adding the following
entry to your odbc.ini file:

[ODBC]
Trace=1
TraceFile=<filename>

This will enable us to see where the Memory Allocation error is occuring
during the attempt to insert the data and hopefully to diagnose the cause of
the problem

Regards,
Hugh


On 2/4/07 23:39, "Anton Krasovsky" <anton_krasov...@yahoo.com> wrote:

> Hi Hugh,
> 
> I tried to do some tests, and found that pyodbc when
> used with virtodbc32u_r.so fails to execute any
> queries with error:
> 
>  "[HY001] [iODBC][Driver Manager]Memory allocation
> error (-1211581185)"
> 
> though it works for non-unicode queries with
> virtodbc32_r.so.
> 
> The mxODBC seem to work with virtodbc32u_r.so (at
> least for non-unicode queries) but it crashes when
> compiled for python25.
> 
> My intention would be to use pyodbc with Python 2.5,
> so I'll try to have closer look at this, perhaps I'll
> contact pyodbc maintainer.
> 
> Regards,
> Anton
> 
> --- Hugh Williams <hwilli...@openlinksw.com> wrote:
> 
>> Hi Anton,
>> 
>> Can you please provide details on how you are
>> attempting to save these
>> unicode strings as RDF literals ?
>> 
>> From on OpenLink point of view both iODBC and the
>> Virtuoso ODBC driver
>> support unicode, although note for the Virtuoso ODBC
>> Driver you need to
>> ensure you are using the virtodbc32u_r.so which is
>> the Unicode variant of
>> this driver.
>> 
>> What I am not sure about is the unicode support
>> available in mxODBC or
>> pyodbc, thus do you know if either of these drivers
>> support unicode ?
>> 
>> 
>> Best Regards,
>> Hugh Williams
>> Professional Services
>> OpenLink Software
>> Web: http://www.openlinksw.com
>> Universal Data Access & Data Integration Technology
>> Providers
>> 
>> On 2/4/07 11:24, "Anton Krasovsky"
>> <anton_krasov...@yahoo.com> wrote:
>> 
>>> Hi,
>>> 
>>> yesterday I tried to do few simple tests saving
>> python
>>> unicode string as RDF literals in Virtuoso, but
>> with
>>> no success. So I wonder if there is any existing
>> guide
>>> on
>>> setting system up for Unicode support?
>>> 
>>> What db driver should I use mxODBC or pyodbc?
>>> What ODBC manager unixODBC or iODBC?
>>> What Virtuoso ODBC driver?
>>> 
>>> Regards,
>>> Anton
>>> 
>>> 
>>> 
>>> 
>>> 
>>>  
>>> 
>> 
> ______________________________________________________________________________
>>> ______
>>> Finding fabulous fares is fun.
>>> Let Yahoo! FareChase search your favorite travel
>> sites to find flight and
>>> hotel bargains.
>>> http://farechase.yahoo.com/promo-generic-14795097
>>> 
>>> 
>> 
> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of
>> IT
>>> Join SourceForge.net's Techsay panel and you'll
>> get the chance to share your
>>> opinions on IT & business topics through brief
>> surveys-and earn cash
>>> 
>> 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net
>>> 
>> 
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
>  
> ______________________________________________________________________________
> ______
> Food fight? Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Best Regards,
Hugh Williams
VP Product Development
OpenLink Software
Tel: +44 (0) 8681 7701
Web: http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers



Reply via email to