-
Notifications
You must be signed in to change notification settings - Fork 57
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
odbc connections #395
Comments
I would suspect that if you need to start jupyter with LD_LIBRARY_PATH defined?
(or |
This helped me find part of the solution (for me, Mac OS):
While this solves the
The result: "Stata | Busy" and no reporting / results from the cell. Simply, only the first run of an Is there some issue with the kernel talking to |
@michaelewens Can you post the log? |
Spoke too soon. It works, but slowly. It is just that |
It's hard to say without more details (and given I've never used When you say 15x, do you mean a difference between 1s and 15s, or more like 1 minute vs 15? If the former then maybe it's some timeout issue (where the way the kernel works is that it expects certain stuff to be printed to the log/console, and if it doesn't find it right away then it loops). That wouldn't explain it if the difference in the times is too big. It's also possible that some internal functions of the kernel don't play nice with Stata when there is an open odbc connection, but that is harder to debug. If you |
The log I mean is in the stata kernel cache folder. For me it's in |
Here it is saved (minor modifications) while the |
@michaelewens You can try |
Unfortunately that does not change the behavior of the log (even after a 20 minute wait). Is there any other place where I can see the kernel activity? |
I use the
odbc
command to load mysql and sqlite databases. The commands work in a Stata instance, but it appears that the kernel's Stata instance does not recognizeodbc list
. I get the standard error related to missing ODBC drivers.The ODBC file libiodbc.dylib could not be found on this system. Setting the unix LD_LIBRARY_PATH environment variable may correct this error.
I would not call this a bug because I continue to ask myself why I keep using Stata + SQL (it is difficult to set up with Stata on its own). How to replicate:
odbc list
odbc list
Is there a configuration in the kernel that ensures it sees the odbc databases available on the system in the way that Stata sees? i.e. how can I get
odbc list
to return the correct list?The text was updated successfully, but these errors were encountered: