Comments (10)
I still run into this issue in 2020, with TabPy client saving the deployed function into its own container's local path and TabPy server attempting to find the function it is own container (which results in error 500).
The only solution indeed seems to be - as suggested by @jstrauss18 to expose the shared location (in our case: persistent volume claim) that both client and server containers can see. Since the volume will be in the same Openshift namespace, the functions and other pickles will be exposed only to a single user running both client and server containers in the same namespace (so no security problems here).
Edit: I can confirm that it worked (client-server file exchange via shared storage), but tabpy
was unable to create a folder in which it tries to initialize its .ini file... surely not ensuring the folder exists before creating the .ini file is a bit of a bug. So the .ini file had to be manually created first in the shared location and then deploying functions to "remote" tabpy server from jupyter notebook started to work.
from tabpy.
Looks to be the same underlying issue as #35. TabPy client can currently only deploy when it is being run on the same machine is TabPy Server - You cannot publish from one client machine to a different server machine.
from tabpy.
I experienced this. Deploying a test function from Windows 7 to TabPy in Linux server gives:
ResponseError: (500) error adding endpoint "OSError : [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/tabpy_server/staging\\endpoints\\exp\\1'"
Linux syntax expect /endpoint/Functionmade/VersionNo but it is receiving Windows syntax \endpoint.
from tabpy.
Has any progress been made on this issue? I ran into this error today trying to deploy from my local machine to tabpy_server.
tabpy_client.rest.ResponseError: (500) error adding endpoint "FileNotFoundError
: [WinError 3] The system cannot find the path specified: 'C:\\Program Files\
\Python35S\\Lib\\site-packages\\tabpy_server\\staging\\endpoints\\a
dd2\\1'"
from tabpy.
@JeffStrauss18, If you are trying to deploy from one machine to another, that currently will not work with the existing code.
from tabpy.
@SlewT Any idea of whether that kind of remote deployment is planned in future? And/or any suggestions on a multi-user workflow without everyone doing all development on the same machine?
from tabpy.
I have a thought how to do this as a workaround. But I haven't fully designed / implemented it yet.
- Data scientists will save their Python predictive algorithms onto a share drive that resides locally on the host that TabPy runs.
- A batch utility will be created that has the tabpy_client.connect, pulls in the business algorithms that has been recently updated on the file share, and has the tapy_client.deploy. The utility will run perhaps every 5 minutes.
from tabpy.
@joshua-barber, I'm not sure if Tableau has it on their roadmap. I haven't seen much about what their plans are. I'm sure someone will release a version (or a patch) if Tableau doesn't fairly soon - it's needed. I plan on having a working version before too long. Primarily just finishing up an authentication piece I want in place for it and potentially the ability to make sure individuals don't overwrite other's endpoints.
We don't yet have this implemented in our environment as we will need the remote publishing, ability to login, and a couple of other features before it will be set up in anything other than a test environment. If we would implement a workflow in the current state, it would probably be something like what @JeffStrauss18 mentioned except that we would likely have a couple of individuals who did the publishing after reviewing the code and testing it in a non-production server environment before it went to the prod platform.
from tabpy.
Hello All,
This is a known issue that has been added to our backlog for TabPy. While we are currently working on adding secured connectivity to TabPy, we are aware of the need for this request as well.
from tabpy.
In reference to my comment from way back on Feb 21, it's now implemented.
from tabpy.
Related Issues (20)
- TabPy on Heroku Quickstart runs on port 443 HOT 3
- Simplify Environment Setup with a package.json file
- Clarify community contributions
- Fail to install TabPy due to the deprecation of sklearn HOT 2
- TabPy offline installation HOT 2
- Remove future lib: https://nvd.nist.gov/vuln/detail/CVE-2022-40899
- Erorr when run TabPy server on Ubuntu HOT 2
- Can we use tabpy function even if TABPY_EVALUATE_ENABLE is set to false HOT 3
- Heroku model deployments: os.path.isfile(path_to_pickle) returns true, but client.deploy(...) returns FileNotFoundError HOT 2
- Input form from https://www.tableau.com/blog/building-advanced-analytics-applications-tabpy-64916
- Disable support for TLS 1.1 and 1.0
- Tabpy server awaits for the user to hit Enter on the tabpy server Console for the Tableau connection to establish/finish HOT 1
- System error: Unknown Error when setting up request to TabPy. null
- Issue: PyArrow Installation Error in Visual Studio Developer Command Prompt for TabPy
- Tableau Prep - Unwanted Date Change in Python script HOT 4
- TabPy初期設定時のユーザーネーム/パスワードの設定方法について
- Hardcoded `0.0.0.0` and lack of passing `address` to Tornado
- No able to open Tabpy from cmd
- Potential Information Leakage
- Support for Python v3.11x or v3.12x
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 tabpy.