Comments (7)
@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.
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.
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.
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.
@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.
I did not unfortunately, and will not be pursuing this further.
from workflow_script.
Should be fixed with #71, please reopen if not.
from workflow_script.
Related Issues (20)
- %n parameter is broken on GROUP FOLDERS HOT 3
- Add Support for nextcloud 24 HOT 8
- Does the App follow semantic versioning? HOT 3
- add support für Nextcloud 25 HOT 2
- Fix lang resource not appearing on Transifex please HOT 2
- NC 24.x to 25.0.2,25.0.3,25.0.4 HOT 3
- Replace lint.yml with split workflows
- ffmpeg throwing "Invalid data found when processing input" HOT 3
- Update to 1.11.0: Failed opening required '/PATH/apps/workflow_script/composer/../vendor/autoload.php' in occ
- Adding a watermark to PDF files in Nextcloud HOT 1
- placeholder %i is not replaced because of wrong replacement of %s HOT 1
- Only 5 Tags available for Tag trigger HOT 1
- View::getLocalFolder() was removed HOT 1
- error when updating from 20.0.2 to 20.0.14 HOT 1
- Script is not executed with automatically assigned keyword HOT 1
- Add scripts management UI
- `shell_exec(): Unable to execute` HOT 2
- Just some question about the app… HOT 1
- [Feature request] Add display name as placeholder HOT 2
- Failed to update nextcloud/ocp package on branch stable28
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 workflow_script.