Public bug reported:

Binary package hint: nautilus

In Ubuntu 7.10 was ok but in 8.04

nautilus-scripts doesn't handle arguments anymore.
Arguments are saved only inside the os environment variables.
So it's impossible to use old scripts that handled the arguments in the "old 
style" way.
( $ ./script arg1 arg2 arg3) 

You need to edit them like this (if you are using python):

# arguments = os.environ["NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"].split()
# for imgPath in arguments:

instead of

# for imgPath in sys.argv[1:]:

And makes them no more usable from command line..

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
nautilus-scripts doesn't handle arguments anymore
https://bugs.launchpad.net/bugs/225214
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to