In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Python tool erroring on Server - "Attempt to seek past the end of the file"

jsandona
7 - Meteor

Hi everyone, we have a workflow using the Python tool, which runs fine on users' desktops and on the virtual machine's desktop where we have the server installed. However, when we try to upload the workflow to the Server we are now running into this error message:

 

jsandona_0-1615220352380.png

 

  • Traceback (most recent call last): File "X:\ProgramData\Alteryx\Service\Staging\8660_b93c4a086e8e4d55843472a20eb64fd6\__StageTemp\Engine_15012_a9a272cc4d4548db9922c4ad0629ac6b~\abb5857e-b10e-4108-beca-e28f43faf761\workbook.py", line 23, in <module> df= Alteryx.read("#1") File "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\lib\site-packages\ayx\export.py", line 35, in read return __CachedData__(debug=debug).read(incoming_connection_name, **kwargs) File "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\lib\site-packages\ayx\CachedData.py", line 306, in read data = db.getData() File "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\lib\site-packages\ayx\Datafiles.py", line 500, in getData data = self.connection.read_nparrays() RuntimeError: DataWrap2WrigleyDb::GoRecord: Attempt to seek past the end of the file (Tool Id: 23)

 

 

Has anyone run into anything similar and have any steps for us to troubleshoot? This is our first time trying to mesh the Python tool with the server. Thank you!

 

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

Hi, have you looked through this knowledge base article on this issue? 

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Python-Tool-Error-DataWrap2WrigleyD...

 

Ben

nickwawee
5 - Atom

Hi Ben and jsandona,

I have the same issue when saving on the Alteryx server, but not when running and saving on my local machine. There are more than zero recording coming in on the input. Any input?

jsandona did you find a solution?