Coder Social home page Coder Social logo

Comments (7)

jwetzell avatar jwetzell commented on June 7, 2024 1

@rspencer01 I did get a workaround up by doing something like cp %f /tmp/file.txt and then pointing the python script to the /tmp/file.txt

from workflow_script.

blizzz avatar blizzz commented on June 7, 2024

Vexingly this works if the path to my script is replaced by head -c 10 for example.

Right, so the placeholder appears to be replaced fine. The location as in the error output seems correct. Did you double check there is nothing else needed to use the parameter in python?

from workflow_script.

rspencer01 avatar rspencer01 commented on June 7, 2024

I am quite positive. I think it may have something to do with the /tmp/systemd-private-3b3f0...2-apache2.service-dg...e/tmp folder which has some files that match the format of the filename I am expecting. Is this some kind of sandboxing issue?

from workflow_script.

blizzz avatar blizzz commented on June 7, 2024

Aye, on systemd-based distros the /tmp of a service is jailed in the specific folder (here: /tmp/systemd-private-3b3f0...2-apache2.service-dg...e/). Trying another location like dev/shm/ (memory!) should work.

from workflow_script.

jwetzell avatar jwetzell commented on June 7, 2024

@rspencer01 did you ever get this resolved I'm having the same issue trying to pass the file into a python script, getting the same No such file or directory: error. If I do something like cat %f > /tmp/test_output and add a file that triggers the flow everything runs just fine.

from workflow_script.

rspencer01 avatar rspencer01 commented on June 7, 2024

I did not unfortunately, and will not be pursuing this further.

from workflow_script.

blizzz avatar blizzz commented on June 7, 2024

Should be fixed with #71, please reopen if not.

from workflow_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.