Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

-d command does not work #33

Closed
bookercodes opened this issue Apr 13, 2015 · 7 comments
Closed

-d command does not work #33

bookercodes opened this issue Apr 13, 2015 · 7 comments

Comments

@bookercodes
Copy link

According to the documentation, this command:

imgur-screenshot.sh -d 10

should delete the image after 10 seconds however, the image is never deleted automatically. Here is the output I got from entering that command:

booker@booker-MS-7681:~$ imgur-screenshot.sh -d 10
Please select area
Uploading '/home/booker/Pictures/imgur-2015_04_13-20:00:19.png'...
Deleting image in 10 seconds.
image  link: https://i.imgur.com/b39rEb9.png
delete link: https://imgur.com/delete/mJGn5VwTrb2F36J
nohup: appending output to ‘nohup.out’
URL copied to clipboard
Opening 'xdg-open https://i.imgur.com/b39rEb9.png'
Version 1.5.1 is up to date.
booker@booker-MS-7681:~$ Created new window in existing browser session.

I am running Ubuntu 14.10.

@jomo
Copy link
Owner

jomo commented Apr 13, 2015

Hmm, that's weird. It definitely works for me.
try this:

  1. Locate the nohup.out file in your file_dir (should be /home/booker/Pictures/nohup.out for you)
  2. Delete the file
  3. Run imgur-screenshot.sh -d 10
  4. Paste file's content here

@bookercodes
Copy link
Author

Here:

sh: 1: delete_image: not found

@jomo
Copy link
Owner

jomo commented Apr 13, 2015

what's your bash --version?

@bookercodes
Copy link
Author

GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

jomo added a commit that referenced this issue Apr 13, 2015
@jomo
Copy link
Owner

jomo commented Apr 13, 2015

Please try if the latest commit fixes it

@bookercodes
Copy link
Author

That did the trick. Thank you.

@jomo
Copy link
Owner

jomo commented Apr 14, 2015

Nice, thanks for reporting.
Have fun on GitHub! :octocat:

jomo added a commit that referenced this issue Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants