Running python file leads to Seg FaultRunning Python on ChromeOSRepairing python setupRunning python script,...
Brute-force the switchboard
Why does Plot only sometimes use different colors for each curve
Is there an English word to describe when a sound "protrudes"?
Why should fork() have been designed to return a file descriptor?
Why would word of Princess Leia's capture generate sympathy for the Rebellion in the Senate?
Is it ethical to tell my teaching assistant that I like him?
Do you need to have the original move to take a "Replaces:" move?
Does the Bracer of Flying Daggers really let a thief make 4 attacks per round?
Why didn't Balak request Bilam to bless his own people?
What is the minimum wait before I may I re-enter the USA after a 90 day visit on the Visa B-2 Program?
Satellite in orbit in front of and behind the Moon
3D cursor orientation
Could Europeans in Europe demand protection under UN Declaration on the Rights of Indigenous Peoples?
Aren't all schwa sounds literally /ø/?
How deep is the Underdark? What is its max and median depth?
I want light controlled by one switch, not two
How does the Gameboy's memory bank switching work?
How was Luke's prosthetic hand in Episode V filmed?
She told me that she HAS / HAD a gun
What is this light passenger prop airplane which crash landed in East Kalimantan, Borneo in 1983?
Do I have to mention my main characters age?
Linux ext4 restore file and directory access rights after bad backup/restore
Why can't a country print its own money to spend it only abroad?
Where can I find standards for statistical acronyms and whether they should be capitalized or lower case?
Running python file leads to Seg Fault
Running Python on ChromeOSRepairing python setupRunning python script, error appearsODBC Authentication with .pem files on Ubuntu server with PythonInstall python library on non-default python versionDebugging a running python processUbuntu 18.04 LTS only boots with Recovery Mode with Linux 4.7.2 After UpgradeUpgrade from Ubuntu 17.10 to 18.04 Broke Texstudio/QtPython project not able to find fileRunning Multiple Line Commands with Python
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have a python3 script to connect to a database using pyodbc but every time it runs or if I run it from a interactive python prompt via the terminal I get a Segmentation fault.
The error message is as follows:
python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Segmentation fault (core dumped)
This is from a machine running Kubuntu 19.04 with all updates and I have been able to replicate the issue on Ubunutu Server 18.04
My python code looks like this:
conn = pyodbc.connect(connection_string)
cursor = conn.cursor()
I have used this exact snippet on a windows machine for months without any issue, so I am not sure what the issue is.
I am using the latest version of the MSSQLServer17 driver that is found here
I am new to linux so any help would be appreciated, thanks!
ubuntu python kubuntu odbc
New contributor
add a comment |
I have a python3 script to connect to a database using pyodbc but every time it runs or if I run it from a interactive python prompt via the terminal I get a Segmentation fault.
The error message is as follows:
python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Segmentation fault (core dumped)
This is from a machine running Kubuntu 19.04 with all updates and I have been able to replicate the issue on Ubunutu Server 18.04
My python code looks like this:
conn = pyodbc.connect(connection_string)
cursor = conn.cursor()
I have used this exact snippet on a windows machine for months without any issue, so I am not sure what the issue is.
I am using the latest version of the MSSQLServer17 driver that is found here
I am new to linux so any help would be appreciated, thanks!
ubuntu python kubuntu odbc
New contributor
add a comment |
I have a python3 script to connect to a database using pyodbc but every time it runs or if I run it from a interactive python prompt via the terminal I get a Segmentation fault.
The error message is as follows:
python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Segmentation fault (core dumped)
This is from a machine running Kubuntu 19.04 with all updates and I have been able to replicate the issue on Ubunutu Server 18.04
My python code looks like this:
conn = pyodbc.connect(connection_string)
cursor = conn.cursor()
I have used this exact snippet on a windows machine for months without any issue, so I am not sure what the issue is.
I am using the latest version of the MSSQLServer17 driver that is found here
I am new to linux so any help would be appreciated, thanks!
ubuntu python kubuntu odbc
New contributor
I have a python3 script to connect to a database using pyodbc but every time it runs or if I run it from a interactive python prompt via the terminal I get a Segmentation fault.
The error message is as follows:
python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
Segmentation fault (core dumped)
This is from a machine running Kubuntu 19.04 with all updates and I have been able to replicate the issue on Ubunutu Server 18.04
My python code looks like this:
conn = pyodbc.connect(connection_string)
cursor = conn.cursor()
I have used this exact snippet on a windows machine for months without any issue, so I am not sure what the issue is.
I am using the latest version of the MSSQLServer17 driver that is found here
I am new to linux so any help would be appreciated, thanks!
ubuntu python kubuntu odbc
ubuntu python kubuntu odbc
New contributor
New contributor
New contributor
asked 40 mins ago
ChrisChris
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Chris is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531396%2frunning-python-file-leads-to-seg-fault%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Chris is a new contributor. Be nice, and check out our Code of Conduct.
Chris is a new contributor. Be nice, and check out our Code of Conduct.
Chris is a new contributor. Be nice, and check out our Code of Conduct.
Chris is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531396%2frunning-python-file-leads-to-seg-fault%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown