New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Mac OS X 10.9.4 doesn't locate sqlite3 (no build error) #588

Closed
dakoop opened this Issue Aug 30, 2014 · 3 comments

Comments

Projects
None yet
4 participants
@dakoop
Contributor

dakoop commented Aug 30, 2014

The python build doesn't build _sqlite3. From build/Python-prefix/src/Python-stamp/Python-build-out.log

Python build finished, but the necessary bits to build these modules were not found:
_bsddb             _sqlite3           _ssl            
bsddb185           dbm                dl              
gdbm               imageop            linuxaudiodev   
nis                ossaudiodev        spwd            
sunaudiodev                                           

The build completes without error since this is in the normal stdout log, but running UV-CDAT produces an issue where sqlite3 cannot be loaded (used for the GUI display of projects). Mac OS X should have the necessary headers to build sqlite3 python support so I don't know why this occurs.

@doutriaux1 doutriaux1 added this to the 2.0.0 milestone Sep 2, 2014

@doutriaux1 doutriaux1 added bug labels Sep 2, 2014

@williams13 williams13 assigned aashish24 and dakoop and unassigned aashish24 Sep 3, 2014

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 15, 2014

I am not able to reproduce this bug (and so far no one else).

@aashish24 aashish24 closed this Sep 15, 2014

@remram44

This comment has been minimized.

Contributor

remram44 commented Sep 26, 2014

Ran into this today. If the sqlite3 development library is not present (debian: libsqlite3-dev), build completes without error, but UVCDAT cannot start.

Uncaught exception on initialization: ImportError: No module named _sqlite3
Traceback (most recent call last):
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/uvcdat.p
y", line 89, in <module>
    v = gui.application.start_application()
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/gui/appl
ication.py", line 703, in start_application
    x = VistrailsApplication.init(optionsDict)
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/gui/application.py", line 160, in init
    self.createWindows()
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/gui/application.py", line 547, in createWindows
    from gui.vistrails_window import QVistrailsWindow
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/gui/vistrails_window.py", line 59, in <module>
    from core.collection import Collection
  File "/home/vagrant/uvcdat/build-e8083010/install/vistrails/vistrails/core/collection/__init__.py", line 36, in <module>
    import sqlite3
  File "/home/vagrant/uvcdat/build-e8083010/install/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/home/vagrant/uvcdat/build-e8083010/install/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3

@remram44 remram44 reopened this Sep 26, 2014

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 26, 2014

@remram44 It is listed as one of the dependencies here:
https://github.com/UV-CDAT/uvcdat/wiki/System-Requirements

At this point we cannto do much other than point users to this page. Later we will can run scripts to check for the missing package.

@aashish24 aashish24 closed this Sep 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment