informix DB with RobotFramework











up vote
0
down vote

favorite












I am trying to connect to informix DB from Robotframework script running on Mac. I have installed Robotframework-Database-Library[1.0.1] from http://franz-see.github.io/Robotframework-Database-Library/.



tried to install Informix DB per https://wiki.python.org/moin/Informix. Ran into issue




error: Can't find esql. Please set INFORMIXDIR correctly.




tried to install mxODBC using python. still running into error



I have installed egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt as this is precondition. Tried to verify the mx-base using.




$ pip install egenix-mx-base
Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages.




Then tried to install egenix-mxodbc-3.3.6-py2.7_ucs2-macosx-10.4-fat-prebuilt.




msuresh$ python setup.py install
running install
found usable build data file 'build/build-py2.7_ucs2.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'macosx-10.4-fat'
adjusting distutils platform string from 'macosx-10.13-x86_64' to 'macosx-10.4-fat'
restoring build data from a previous build run
loaded build data for platform 'macosx-10.4-fat'
running install_lib
writing byte-compilation script '/var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py'
/usr/local/opt/python@2/bin/python2.7 -O /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
removing /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info
Writing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info




But on trying to verify mxodbc --> does through me error.




>>> import mx.ODBC.Manager
Traceback (most recent call last):
File "", line 1, in
File "mx/ODBC/Manager/__init__.py", line 48, in
ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper, dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper, No module named DataDirect




.. Any help to get informix connection via Robotframework would be appreciated.










share|improve this question
























  • Have you walked through the installation procedure on the egenix-mxodbc page?
    – A. Kootstra
    Nov 8 at 19:56










  • Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
    – MSQA
    Nov 8 at 20:42












  • Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
    – A. Kootstra
    Nov 8 at 20:44










  • Thank you for the tip. i hope i have made the issue clear
    – MSQA
    Nov 8 at 21:16










  • On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
    – A. Kootstra
    Nov 8 at 21:32

















up vote
0
down vote

favorite












I am trying to connect to informix DB from Robotframework script running on Mac. I have installed Robotframework-Database-Library[1.0.1] from http://franz-see.github.io/Robotframework-Database-Library/.



tried to install Informix DB per https://wiki.python.org/moin/Informix. Ran into issue




error: Can't find esql. Please set INFORMIXDIR correctly.




tried to install mxODBC using python. still running into error



I have installed egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt as this is precondition. Tried to verify the mx-base using.




$ pip install egenix-mx-base
Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages.




Then tried to install egenix-mxodbc-3.3.6-py2.7_ucs2-macosx-10.4-fat-prebuilt.




msuresh$ python setup.py install
running install
found usable build data file 'build/build-py2.7_ucs2.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'macosx-10.4-fat'
adjusting distutils platform string from 'macosx-10.13-x86_64' to 'macosx-10.4-fat'
restoring build data from a previous build run
loaded build data for platform 'macosx-10.4-fat'
running install_lib
writing byte-compilation script '/var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py'
/usr/local/opt/python@2/bin/python2.7 -O /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
removing /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info
Writing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info




But on trying to verify mxodbc --> does through me error.




>>> import mx.ODBC.Manager
Traceback (most recent call last):
File "", line 1, in
File "mx/ODBC/Manager/__init__.py", line 48, in
ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper, dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper, No module named DataDirect




.. Any help to get informix connection via Robotframework would be appreciated.










share|improve this question
























  • Have you walked through the installation procedure on the egenix-mxodbc page?
    – A. Kootstra
    Nov 8 at 19:56










  • Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
    – MSQA
    Nov 8 at 20:42












  • Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
    – A. Kootstra
    Nov 8 at 20:44










  • Thank you for the tip. i hope i have made the issue clear
    – MSQA
    Nov 8 at 21:16










  • On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
    – A. Kootstra
    Nov 8 at 21:32















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to connect to informix DB from Robotframework script running on Mac. I have installed Robotframework-Database-Library[1.0.1] from http://franz-see.github.io/Robotframework-Database-Library/.



tried to install Informix DB per https://wiki.python.org/moin/Informix. Ran into issue




error: Can't find esql. Please set INFORMIXDIR correctly.




tried to install mxODBC using python. still running into error



I have installed egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt as this is precondition. Tried to verify the mx-base using.




$ pip install egenix-mx-base
Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages.




Then tried to install egenix-mxodbc-3.3.6-py2.7_ucs2-macosx-10.4-fat-prebuilt.




msuresh$ python setup.py install
running install
found usable build data file 'build/build-py2.7_ucs2.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'macosx-10.4-fat'
adjusting distutils platform string from 'macosx-10.13-x86_64' to 'macosx-10.4-fat'
restoring build data from a previous build run
loaded build data for platform 'macosx-10.4-fat'
running install_lib
writing byte-compilation script '/var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py'
/usr/local/opt/python@2/bin/python2.7 -O /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
removing /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info
Writing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info




But on trying to verify mxodbc --> does through me error.




>>> import mx.ODBC.Manager
Traceback (most recent call last):
File "", line 1, in
File "mx/ODBC/Manager/__init__.py", line 48, in
ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper, dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper, No module named DataDirect




.. Any help to get informix connection via Robotframework would be appreciated.










share|improve this question















I am trying to connect to informix DB from Robotframework script running on Mac. I have installed Robotframework-Database-Library[1.0.1] from http://franz-see.github.io/Robotframework-Database-Library/.



tried to install Informix DB per https://wiki.python.org/moin/Informix. Ran into issue




error: Can't find esql. Please set INFORMIXDIR correctly.




tried to install mxODBC using python. still running into error



I have installed egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt as this is precondition. Tried to verify the mx-base using.




$ pip install egenix-mx-base
Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages.




Then tried to install egenix-mxodbc-3.3.6-py2.7_ucs2-macosx-10.4-fat-prebuilt.




msuresh$ python setup.py install
running install
found usable build data file 'build/build-py2.7_ucs2.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'macosx-10.4-fat'
adjusting distutils platform string from 'macosx-10.13-x86_64' to 'macosx-10.4-fat'
restoring build data from a previous build run
loaded build data for platform 'macosx-10.4-fat'
running install_lib
writing byte-compilation script '/var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py'
/usr/local/opt/python@2/bin/python2.7 -O /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
removing /var/folders/dc/nwlkjl0129d3qm1j8m5czmgsnkqkf_/T/tmpRNEu3H.py
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info
Writing /usr/local/lib/python2.7/site-packages/egenix_mxodbc-3.3.6-py2.7.egg-info




But on trying to verify mxodbc --> does through me error.




>>> import mx.ODBC.Manager
Traceback (most recent call last):
File "", line 1, in
File "mx/ODBC/Manager/__init__.py", line 48, in
ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so: no matching architecture in universal wrapper, dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper
/usr/local/lib/python2.7/site-packages/mx/ODBC/iODBC/mxODBC.so: no matching architecture in universal wrapper, No module named DataDirect




.. Any help to get informix connection via Robotframework would be appreciated.







python-3.x robotframework informix






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 21:20

























asked Nov 7 at 22:02









MSQA

83




83












  • Have you walked through the installation procedure on the egenix-mxodbc page?
    – A. Kootstra
    Nov 8 at 19:56










  • Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
    – MSQA
    Nov 8 at 20:42












  • Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
    – A. Kootstra
    Nov 8 at 20:44










  • Thank you for the tip. i hope i have made the issue clear
    – MSQA
    Nov 8 at 21:16










  • On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
    – A. Kootstra
    Nov 8 at 21:32




















  • Have you walked through the installation procedure on the egenix-mxodbc page?
    – A. Kootstra
    Nov 8 at 19:56










  • Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
    – MSQA
    Nov 8 at 20:42












  • Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
    – A. Kootstra
    Nov 8 at 20:44










  • Thank you for the tip. i hope i have made the issue clear
    – MSQA
    Nov 8 at 21:16










  • On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
    – A. Kootstra
    Nov 8 at 21:32


















Have you walked through the installation procedure on the egenix-mxodbc page?
– A. Kootstra
Nov 8 at 19:56




Have you walked through the installation procedure on the egenix-mxodbc page?
– A. Kootstra
Nov 8 at 19:56












Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
– MSQA
Nov 8 at 20:42






Yes, I have installled egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt, then tried to install egenix-mx-base-3.2.9-py2.7_ucs2-macosx-10.5-x86_64-prebuilt. Tried to verify the mx-base using --> $ pip install egenix-mx-base Requirement already satisfied: egenix-mx-base in /Library/Python/2.7/site-packages. But on trying to verify mxodbc --> does through me error. > ** ImportError: None of the supported ODBC managers unixODBC, iODBC or DataDirect could be imported: dlopen(/usr/local/lib/python2.7/site-packages/mx/ODBC/unixODBC/mxODBC.so, 2): no suitable image found. Did find:**
– MSQA
Nov 8 at 20:42














Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
– A. Kootstra
Nov 8 at 20:44




Can you add the information to the question itself, instead of posting as a comment. This will allows you more formatting options and keeps all your information in one place.
– A. Kootstra
Nov 8 at 20:44












Thank you for the tip. i hope i have made the issue clear
– MSQA
Nov 8 at 21:16




Thank you for the tip. i hope i have made the issue clear
– MSQA
Nov 8 at 21:16












On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
– A. Kootstra
Nov 8 at 21:32






On the Robotframework-Database-Library going to the linked A Database API Specification 2.0 Python Module page you'll find Informix under [General Purpose Databases]( wiki.python.org/moin/…). Under the section for mxODBC you'll find the following note: The Informix ODBC drivers needed for mxODBC are included in the Informix CSDK. Do you have this installed?
– A. Kootstra
Nov 8 at 21:32



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198535%2finformix-db-with-robotframework%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198535%2finformix-db-with-robotframework%23new-answer', 'question_page');
}
);

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







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()