Comments (7)
I am testing on ubuntu and never had such issue. Just tested again with Python 3.5.2:
git clone https://github.com/SAP/PyRFC.git
python3 setup.py install --user
cd tests
python3
from pyrfc import *
Eventually a python(s) path/environment issue, in this direction: scikit-learn/scikit-learn#7542 ?
from pyrfc.
Is this issue still open?
from pyrfc.
I still have to test this on ubuntu, tried on Debian the last time. As I'm on vacation right now, I'll close the issue. I'll open a new one if the error persists. Thanks :)
from pyrfc.
Hi there,
I've been checking and conclussions are that PyRFC is not working for RHEL systems (Centos included)
[root@ip-172-31-2-170 tmp]# python
Python 2.7.5 (default, Aug 2 2016, 04:20:16)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyrfc import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pyrfc-1.9.4-py2.7-linux-x86_64.egg/pyrfc/__init__.py", line 22, in <module>
from pyrfc._pyrfc import get_nwrfclib_version, Connection, TypeDescription, FunctionDescription, Server
ImportError: /usr/lib/python2.7/site-packages/pyrfc-1.9.4-py2.7-linux-x86_64.egg/pyrfc/_pyrfc.so: undefined symbol: PyFPE_jbuf
Same configuration on a SuSE box:
ip-172-31-6-59:/usr/sap/nwrfcsdk # python
Python 2.7.9 (default, Dec 21 2014, 11:02:59) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyrfc import *
>>> exit()
To be transparent, we use this provisioning script (very simple):
#!/bin/bash
sudo zypper -n in python-setuptools
sudo cp /tmp/SAPCAR /usr/local/bin/SAPCAR
sudo chmod +x /usr/local/bin/SAPCAR
sudo mkdir -p /usr/sap
cd /
sudo tar zxvf /tmp/nwrfcsdk.tgz
sudo echo "/usr/sap/nwrfcsdk/lib" > /etc/ld.so.conf.d/nwrfcsdk.conf
sudo ldconfig
cd /tmp
sudo easy_install pyrfc-1.9.4-py2.7-linux-x86_64.egg
from pyrfc.
Hi there,
I've been able to build an egg that works for centos and redhat 7.
from pyrfc.
Hi,
glad to hear it works on centos and redhat. I see 1.9.4 version is used and just to mention that 1.9.6 is also available, with few bugs fixed.
from pyrfc.
Hi warp3r. Could you please let me know how to build an egg to be working on Centos 7 ? I am facing the same issue :/
from pyrfc.
Related Issues (20)
- pyrfc._exception.ExternalRuntimeError: 13 (rc=13): key=RFC_INVALID_HANDLE, caused due to a table parameter without column filed? HOT 3
- ImportError: cannot import name 'Connection' on Suse Linux HOT 3
- Connot establish a connection: RFC_COMMUNICATION_FAILURE & Connection refused HOT 4
- paths_fix.sh fails HOT 1
- BW Query with Parameters - ERROR: IVALID INPUT HOT 2
- [rl-license_file-2] Violation against OSS Rules of Play
- [rl-reuse_tool-2] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- timeout halting main thread exit HOT 1
- Creation of sapuc standard filebuf failed HOT 4
- IIS: module 'pyrfc' has no attribute 'Connection' HOT 2
- Is there an equivalent to Java sapidoc3.jar HOT 2
- Cannot call Connection from the pyrfc import or any other object HOT 7
- Failed to compile under Raspberry Pi Bookworm (unrecognized command-line option ‘-minline-all-stringops’) HOT 3
- How to solve key=RFC_COMMUNICATION_FAILURE issue?! HOT 1
- Module 'pyrfc' has no attribute Connection HOT 3
- The connection works with other systems, but this system has several internal RFC destinations." HOT 1
- Enhance Query Engine
- PyRFC failing in server example server_app_thread.py
- Registering Pyrfc-Server does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrfc.