Bug 499944

Summary: Arguments are not passed to nautilus-action scripts
Product: [Fedora] Fedora Reporter: Edouard Bourguignon <madko>
Component: nautilus-actionsAssignee: Deji Akingunola <dakingun>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: dakingun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-10 00:26:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edouard Bourguignon 2009-05-09 11:14:11 UTC
Description of problem:
All arguments like %f %M etc are not passed to the script called by nautilus-action.

Version-Release number of selected component (if applicable):
nautilus-actions-1.9-0.4.svn20081020.fc11.x86_64

How reproducible:
static

Steps to Reproduce:
1. create a script that will use args
2. add a nautilus action that will call the script with some args
3. click on the context menu to run this action
  
Actual results:
script is launched but args list is empty.


Expected results:
script should be launched with args

Additional info:
I try with this script:
----------------------------------------
#!/bin/bash

echo $* > /tmp/args.log
zenity --info --text="Arguments: $*."
----------------------------------------

Add it to nautilus-action with %M as argument. restart nautilus, then right click on any file. Log stay empty, zenity infobox also do.

Comment 1 Deji Akingunola 2009-05-09 13:59:39 UTC
Can you please confirm that the package at http://koji.fedoraproject.org/koji/taskinfo?taskID=1344963 fix this bug for you?
Thanks.

Comment 2 Edouard Bourguignon 2009-05-09 16:49:49 UTC
I can confirm that this package nautilus-actions-1.9-0.5.svn20090508.fc11.x86_64.rpm fix this bug. Thanks.

Comment 3 Fedora Update System 2009-05-11 00:35:11 UTC
nautilus-actions-1.9-0.5.svn20090508.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/nautilus-actions-1.9-0.5.svn20090508.fc11

Comment 4 Fedora Update System 2009-05-12 04:01:52 UTC
nautilus-actions-1.9-0.5.svn20090508.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.