Coder Social home page Coder Social logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
is this related to pypy only or pypyodbc has the same problem on cpython?

Original comment by [email protected] on 19 Mar 2014 at 5:22

from pypyodbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Has the same problem on cpython:
==================
$ python
Python 2.7.2 (default, Jun 19 2012, 12:13:20)
[GCC 4.6.1 20110627 (Mandriva)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyodbc
>>> import pypyodbc
>>> pyodbc.connect("DSN=pyProgress")
<pyodbc.Connection object at 0x7f61f93b4c60>
>>> pypyodbc.connect("DSN=pyProgress")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/pypyodbc-1.3.1-py2.7.egg/pypyodbc.py", line 2402, in __init__
    AllocateEnv()
  File "/usr/lib/python2.7/site-packages/pypyodbc-1.3.1-py2.7.egg/pypyodbc.py", line 995, in AllocateEnv
    check_success(SQL_NULL_HANDLE, ret)
  File "/usr/lib/python2.7/site-packages/pypyodbc-1.3.1-py2.7.egg/pypyodbc.py", line 989, in check_success
    ctrl_err(SQL_HANDLE_ENV, ODBC_obj, ret, False)
  File "/usr/lib/python2.7/site-packages/pypyodbc-1.3.1-py2.7.egg/pypyodbc.py", line 969, in ctrl_err
    raise ProgrammingError('', 'SQL_INVALID_HANDLE')
pypyodbc.ProgrammingError: ('', 'SQL_INVALID_HANDLE')
>>>


Original comment by [email protected] on 19 Mar 2014 at 8:35

from pypyodbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Have just run into this same error.

Python 3.4.1 (Win32)
pypyodbc 1.3.3

Have executed several queries, but then this one I've been fighting with, and 
thought I'd finally got working, results in this [very unhelpful] error message.

Original comment by [email protected] on 18 Jul 2014 at 3:33

from pypyodbc.

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.