Code Monkey home page Code Monkey logo

Comments (10)

tosher avatar tosher commented on July 4, 2024

Which Ubuntu version you are using? It's x32 or x64 edition?

from tsqleasy.

vin-yu avatar vin-yu commented on July 4, 2024

I am x64. When opening ./sqlodbccon.py i get the error of
TSQLEasy: PyODBC is not available: ./lib/st2_linux_x64/pyodbc.so: undefined symbol: PyUnicodeUCS2_FromObject

is this cause the binaries that come by default are compiled with UCS2 and my system wants to use UCS4 binaries? i tried to replace these binaries with ones i built from the pyodbc source but am running into a whole slew of other problems.

Thanks for the follow up,
Vin

from tsqleasy.

tosher avatar tosher commented on July 4, 2024

but am running into a whole slew of other problems
With the same python version as Sublime text used, and the same pyodbc version?

from tsqleasy.

tosher avatar tosher commented on July 4, 2024

About UCS, i'll try to check pyodbc libs with latest st2/st3 builds.

from tsqleasy.

vin-yu avatar vin-yu commented on July 4, 2024

Confrimed that pyodbc alone works on my system.

when I replaced the pyodbc.so with other pyodbc binaries (built with python2.7, 3.4 and even with the pyodbc.so used with my other test app) I got this error when opening sqlodbccon.py:

Reloading plugin /home/tiger/.config/sublime-text-2/Packages/TSQLEasy/sqlodbccon.py
TSQLEasy: PyODBC is not available: ./lib/st2_linux_x64/pyodbc.so: undefined symbol: _PyObject_NextNotImplemented

from tsqleasy.

tosher avatar tosher commented on July 4, 2024

ST2 using python 2.6.5 as i know.

from tsqleasy.

vin-yu avatar vin-yu commented on July 4, 2024

just tried to built pyodbc with python 2.6.5. didn't get it to work

from tsqleasy.

tosher avatar tosher commented on July 4, 2024

With the same error?

from tsqleasy.

vin-yu avatar vin-yu commented on July 4, 2024

yeah, used the pyodbc.so built with 2.6.5

./lib/st2_linux_x64/pyodbc.so: undefined symbol: _PyObject_NextNotImplemented

from tsqleasy.

tosher avatar tosher commented on July 4, 2024

Please, check the updated version.
With ubuntu 14.04 x64, st2, unixodbc/freetds on my test machiine works fine.
P.S. Python version is 2.6.6 in ST2 on Linux

from tsqleasy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.