aptonic / dropzone4-actions Goto Github PK
View Code? Open in Web Editor NEWAdd-on actions and API Docs for Dropzone 4
Home Page: https://aptonic.com
Add-on actions and API Docs for Dropzone 4
Home Page: https://aptonic.com
Currently, I was developing a plugin for dropzone3, I found dropzone3 can only support Login, ExtendedLogin, APIKey, UsernameAPIKey, ChooseFolder, ChooseApplication and GoogleAuth.
But I want to have another OptionsNIB, something like "new_name_suffix".
Is it possible ?
Would you consider adding #!/bin/bash
shell script support? Is that even possible?
I run a build.sh
script that builds a zip file. I want to add that zip file to dropzone.
Is there a way to add items to Drop Bar via the cli ?
I tried to import the dropzone
package but it says module not found
But if run the python from the /Applications/Dropzone 4.app/Contents/Actions/lib
directory the module imports and all call is successful but it doesn't add the item to the dropzone
What is the issue here is there a way to do to add items to Drop Bar via the cli ?
For clarification I tired the Develop Action
form there it works fine
I previously opened #108 when i was having trouble uploading mp4
files, and thanks to the timely fix, I'm now able to upload most mp4 files without issue! So thanks again.
Unfortunately, it looks like I'm now running into a different issue, and my preliminary guess at a prognosis is due to file size. Most of the videos I upload are over 500MB, and whenever I try to upload any longer than a short 30-second clip, I'm getting the error below. Any help would be greatly appreciated!
[Launching task with command line: runner.rb task-72175]
Task description file task-72175:
ACTION: "/Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle"
EVENT: "dragged"
VARIABLE: "support_folder" "/Users/gregallen/Library/Application Support/Dropzone"
VARIABLE: "dragged_type" "files"
VARIABLE: "app_version" "4.0.5"
VARIABLE: "expires_at" "1587596563"
VARIABLE: "refresh_token" "••••"
VARIABLE: "privacy" "Private"
VARIABLE: "access_token" "••••"
VARIABLE: "client_id" "••••"
VARIABLE: "client_secret" "••••"
ITEMS: "/Users/gregallen/Google Drive/Louis_CK/Horace & Pete/HORACE_AND_PETE_01x04_1080.mp4"
Determinate: 0
Begin_Message: Connecting to YouTube...
Save_Value_Name: privacy
Save_Value: Private
Begin_Message: Uploading HORACE_AND_PETE_01x04_1080.mp4 to YouTube...
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:322:in `syswrite': execution expired (Google::Apis::TransmissionError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:322:in `do_write'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:339:in `block in write'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `inject'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `write'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:80:in `<<'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:582:in `dump_file'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:508:in `dump'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:962:in `dump'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:517:in `block in query'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:103:in `timeout'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in `follow_redirect'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:854:in `request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:228:in `send_upload_command'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:254:in `execute_once'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:113:in `block (2 levels) in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:110:in `block in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:102:in `execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/generated/google/apis/youtube_v3/service.rb:4029:in `insert_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/youtube.rb:63:in `upload_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:26:in `block in dragged'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `each'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `dragged'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `call'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `<main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:322:in `syswrite': execution expired (HTTPClient::SendTimeoutError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:322:in `do_write'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:339:in `block in write'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `inject'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/openssl/buffering.rb:338:in `write'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:80:in `<<'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:582:in `dump_file'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:508:in `dump'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:962:in `dump'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:517:in `block in query'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:103:in `timeout'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in `follow_redirect'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:854:in `request'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:228:in `send_upload_command'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:254:in `execute_once'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:113:in `block (2 levels) in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:110:in `block in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:102:in `execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/generated/google/apis/youtube_v3/service.rb:4029:in `insert_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/youtube.rb:63:in `upload_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:26:in `block in dragged'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `each'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `dragged'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `call'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `<main>'
[Task completed]
Hi. Some of my actions stopped working with an error saying that 'cocoa_dialog' method is undefined. I checked the doc and I don't see any changes, did I miss something?
/Users/*/Library/Application Support/Dropzone 3/Actions/Clone Git Repository.dzbundle/action.rb:36:in `dragged': undefined method `cocoa_dialog' for #<Dropzone:0x00007fd32a1e11f8> (NoMethodError)
from /Applications/Dropzone 3.app/Contents/Actions/lib/runner.rb:75:in `call'
from /Applications/Dropzone 3.app/Contents/Actions/lib/runner.rb:75:in `<main>'
/Users/*/Library/Application Support/Dropzone 3/Actions/Pushover.dzbundle/action.rb:54:in `send': undefined method `cocoa_dialog' for #<Dropzone:0x00007ffa851e9b78> (NoMethodError)
from /Users/*/Library/Application Support/Dropzone 3/Actions/Pushover.dzbundle/action.rb:67:in `dragged'
from /Applications/Dropzone 3.app/Contents/Actions/lib/runner.rb:75:in `call'
from /Applications/Dropzone 3.app/Contents/Actions/lib/runner.rb:75:in `<main>'
/Applications/Dropzone 4.app/Contents/Actions/lib/runner.rb:73:in exec': No such file or directory - python (Errno::ENOENT) from /Applications/Dropzone 4.app/Contents/Actions/lib/runner.rb:73:in
It seems this is supposed to be executed as python3 (not python). I'm not sure where to change that since the package only contains python scripts.
@aptonic Team - I'm a long-time customer of Dropzone, i love your product and use it every day. I'm just now getting into software development, and i'd like to take a shot at creating an action.
The action i want to create is: Download a file from the URL on the clipboard. For example, I'd like to copy a URL such as https://gdg.sc.egov.usda.gov/GDGDL/3796330/soils_GSMCLIP_pa_3796330_02.zip
and then use a Dropzone action to download that file to a specific location on my computer.
I've gone through the documentation, but I haven't seen anything about how to access clipboard content. Did i perhaps miss this somewhere?
Anyone reading this - I'm just looking for a small amount of guidance, if anybody is willing to lend a hand here i would greatly appreciate it!
I think it would be great to add options for action like this to prevent to send text without wanting to. It's can be a security issue because text cannot be modified after upload.
I propose that because instead of dragging a text file to save on the desktop, I unintentionally drag-it into the Pastie action.
It looks as though Bitly no longer supports API keys, and wants all applications to register with a Client ID
and Client Secret
. I'm unfortunately not a good enough programmer to tackle this on my own otherwise i'd take a stab at it. Any support or help would be greatly appreciated!
Here is what Bitly says when you try to grab an API key:
I've been trying to drag URLs from my url bar to DropZone to send as an SMS or AirDrop to my friend, but it looks like these actions don't support text. I tried seeing if I could copy and edit the AirDrop script, however that option is not available (I guess the AirDrop action is special). Could you add this as a feature and/or how might I go about making this work? I am clicking and dragging from chrome-based browsers, and this same issue applies regardless of what type of selection I make in chrome i.e. I can select text on a page and try dragging it and none of the actions will be able to receive it with the exception of the url shortener action if the texts happens to be a URL.
When I drag text containing double quotes to Dropzone 3, all the double quotes seem to be escaped with a backslash. For instance, consider the following simple action:
def dragged
$dz.alert("Dragged text:", $items[0])
end
Drag "''"
to the action, and the printed text is \"''\"
. Is this happening by design? (I failed to see how this escaping is useful, and I would expect $items[0]
to be a faithful reproduction of the dragged text.)
SCP is returning an authentication error, but ssh'ing in works fine:
ssh -p 2550 [email protected]
works fine, but doing the same with SCP fails.
Downloaded the 'Trash' action but it's not working.
Hi raguay,
I want to remove a value sometimes, I tried dz.save_value('key', '')
, but it doesn't work!
Is there a method like dz.remove_value(key)
?
Best regards!
I updated the version of Qiniu.dzbundle to 1.2, but the download link still point to version of 1.1. Could you check this problem? Thanks.
Hi! I developed a action for scanning files using VirusTotal. Here it's:
https://github.com/ttuygun/VirusTotal-Dropzone
I'm trying to write an action for uploading a file to the Rackspace CloudFiles service, and in trying to do so I'm running against a number of issues which I believe trace back to the fact that the wrong version of Ruby is being used (not an usual issue on Mac):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb
even though there is a newer version of ruby installed (I believe the newer version is actually the original version installed with the OS - Mac OS X Mavericks). Any thoughts? Any way I can force Dropzone to use the newer version of Ruby?
I'm having this weird issue with SCP Upload.
Permissions for images uploaded using this script is set to -rw-------
. Therefore, they can't be accessed with the URL returned by Dropzone.
Since a direct URL is being returned after uploading a file using the SCP Upload script, it would make more sense to forcefully change the file's permission on the server to 644
(-rw-r--r--
) to make sure it's accessible.
I've skimmed through the code (both scp_uploader.rb
and action.rb
) and there doesn't seem to be any permissions modifications to the uploaded files. To my knowledge, it would only take a simple ssh
+ chmod
command to solve this.
I hope this will help:
http://superuser.com/questions/291835/change-permissions-upon-uploading-with-scp
The dropdown menu for the gear icon no longer shows the debug console. How are we to get the output of the actions now?
Kaleidoscope can open with one file. This is ok because I may have a diff to compare from the clipboard. Currently the workflow requires two files to be dropped onto dropzone, which is inconsistent with Kaleidoscope's capabilities.
I have 50 items in my menu. I could easily put 50 more. Don't set an arbitrary limit on the number of items that can be placed in the menu bar.
Additionally, if I am at that limit, I cannot add anything to the dropbar, which doesn't make sense to me either.
Great app otherwise!
I know I can use OptionsNIB like Login or ExtendedLogin, but can I add some other custom fields?
So it seems the following actions (and possibly more) used to exist but don't any longer? Any reason they don't?
Hello,
Thanks for this awesome app! It's a joy to work with it and build small helper tools that make life easier.
I'm programming a small script that is supposed to display an input box. However, if I add the code you've provided in the documentation, I get the following error:
Task description file task-27345:
ACTION: "/Users/USERNAME/Library/Application Support/Dropzone/Actions/Image Tagger.dzbundle"
EVENT: "dragged"
VARIABLE: "app_version" "4.0.3"
VARIABLE: "dragged_type" "files"
VARIABLE: "sandboxed" "1"
VARIABLE: "support_folder" "/Users/USERNAME/Library/Application Support/Dropzone"
ITEMS: "/Users/USERNAME/Desktop/image.jpg"
Traceback (most recent call last):
File "/Applications/Dropzone 4.app/Contents/Actions/lib/python_runner.py", line 13, in <module>
getattr(action, action_name)()
File "/Users/USERNAME/Library/Application Support/Dropzone/Actions/Image Tagger.dzbundle/action.py", line 56, in dragged
filename = dz.inputbox("Filename Required", "Enter filename:")
**File "/Applications/Dropzone 4.app/Contents/Actions/lib/dropzone.py", line 37, in inputbox
if result['cb'] == "1":
KeyError: 'cb'**
[Task completed]
I'm using Python 3.7.7.
I hope you can help.
The python api currently doesn't support accessing variables set in the edit menu of an action.
At least I didn't found anything in the documentation.
This action used to work great but since my Arch Linux server updated to Openssh 6.7 it gives me an error "could not settle on kex algorithm". I seems that Openssh 6.7 has disabled certain ciphers in the 6.7p1-1 release (see release notes) including the following:
3des-cbc
blowfish-cbc
cast128-cbc
arcfour
arcfour128
arcfour256
aes128-cbc
aes192-cbc
aes256-cbc
[email protected]
That leaves the following available:
aes128-ctr
aes192-ctr
aes256-ctr
[email protected]
[email protected]
[email protected]
https://bbs.archlinux.org/viewtopic.php?id=188613
I don't know if this is something that needs to be updated in NET::SSH in ruby or what, but now no compatible kex or cipher is found. I can work around the problem by enabling a compatible cipher on my SSH server but this is not recommended for various reasons. Any recommendations to get this working with the recommended ciphers? Too bad as I loved moving files to my server with this action.
Hey @aptonic - Thank you for being so responsive to the issues i posted earlier today. It made a big difference for me; i could continue integrating Dropzone even further into my daily workflow. It's been a huge time saver so far!
It looks as though the YouTube Uploader action fails with any mp4
file. I've tried uploading mov
, avi
, and mpg
, all which worked just fine. However whenever I try and upload an mp4
video i get the media type
console error below.
Here is the 3.2MB MP4 video that i tried to upload in case its helpful.
[Launching task with command line: runner.rb task-28495]
Task description file task-28495:
ACTION: "/Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle"
EVENT: "dragged"
VARIABLE: "client_secret" "••••"
VARIABLE: "dragged_type" "files"
VARIABLE: "app_version" "4.0.3"
VARIABLE: "expires_at" "1586910222"
VARIABLE: "refresh_token" "••••"
VARIABLE: "access_token" "••••"
VARIABLE: "client_id" "••••"
VARIABLE: "support_folder" "/Users/gregallen/Library/Application Support/Dropzone"
ITEMS: "/Users/gregallen/Desktop/video_anytrans_2020-04-14-17-02-33/preparing_for_blastoff.mp4"
Determinate: 0
Begin_Message: Connecting to YouTube...
Save_Value_Name: access_token
Save_Value: ya29.a0Ae4lvC2QFOQWHFTn4vpCvNRlIhz22wpXRV5UIqYWH37sMeyQdZ5A0Ci2-fpjgZyyBt29dwYA7xU1Qp6SHgnveRktiHor04N_4FL1XgFipkG-1e15eCRBsfvVZPj9Icz4iMboNUQ-O9cq24k10WJ58LGHkpyFbjlc8jQ
Save_Value_Name: expires_at
Save_Value: 1586916900
Save_Value_Name: privacy
Save_Value: Unlisted
Begin_Message: Uploading preparing_for_blastoff.mp4 to YouTube...
/Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:228:in `check_status': badContent Media type 'application/mp4' is not supported. Valid media types [video/*, application/octet-stream] (Google::Apis::ClientError)
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/api_command.rb:117:in `check_status'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:193:in `process_response'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:170:in `process_response'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/upload.rb:246:in `execute_once'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:113:in `block (2 levels) in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:110:in `block in execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/http_command.rb:102:in `execute'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/lib/google/apis/core/base_service.rb:360:in `execute_or_queue_command'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/bundled-gems/ruby/2.6.0/gems/google-api-client-0.32.1/generated/google/apis/youtube_v3/service.rb:4029:in `insert_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/youtube.rb:62:in `upload_video'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:26:in `block in dragged'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `each'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/YouTube Uploader.dzbundle/action.rb:25:in `dragged'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `call'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:74:in `<main>'
[Task completed]
I am not getting the file link in my clipboard after uploading.
One thing that prevented me to fully utilize the power of dropzone is that I have item in my grid with long name:
will you consider make improvement on the UI so that item with long name can be identify or read easier ?
Perhaps at least allow two line for name and wrap them:
But the above is not sufficient b/c of the ellipse ... so user can hover over to see tooltip ?
I also think the icons for item in the grid are too large, if their size are reduced then users can fit more and see longer name.
Hello,
The SCP action works fine, however it should change the permissions of the uploaded files to 755 or something other, maybe changeable by the user. This helps to fix issues.
Thank you.
Traceback (most recent call last):
File "/Applications/Dropzone 3.app/Contents/Actions/lib/python_runner.py", line 7, in
import action
File "/Users/liaoting/Library/Application Support/Dropzone 3/Actions/Tinify.dzbundle/action.py", line 20, in
import tinify
File "/Users/liaoting/Library/Application Support/Dropzone 3/Actions/Tinify.dzbundle/tinify/init.py", line 78, in
from .client import Client
File "/Users/liaoting/Library/Application Support/Dropzone 3/Actions/Tinify.dzbundle/tinify/client.py", line 7, in
import requests
ImportError: No module named 'requests'
In cases where there's a common default value that would be fine for most people, it would be nice to not bother the user at the time the bundle is installed. But it seems that if OptionsNIB is set, then SkipConfig is ignored and the user is always prompted for the configuration (using Dropzone 3.2.3).
(I understand we can use Cocoa Dialog to prompt only when necessary and save the values for future use; but that doesn't give the user a way to modify the setting at any time like the built-in config page would.)
I can drag items placed in the Drop Bar
to actions, but I can't drag items placed in the Grid
to actions. Please, add this feature. It can significantly increase productivity.
It looks as though there's currently a problem with the GitHub Gist Dropzone bundle. When i try to upload either files or text, i get the same error. I've double-checked to ensure that my access key works. The debug console seems to point to the action script itself.
[Launching task with command line: runner.rb task-95834]
Task description file task-95834:
ACTION: "/[redacted]/Library/Application Support/Dropzone/Actions/Gist.dzbundle"
EVENT: "dragged"
VARIABLE: "app_version" "4.0.3"
VARIABLE: "dragged_type" "files"
VARIABLE: "api_key" "••••"
VARIABLE: "support_folder" "/Users/gregallen/Library/Application Support/Dropzone"
ITEMS: "/Users/gregallen/github/[redacted]]/developer-chrome-extensions.md"
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- gist (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/gregallen/Library/Application Support/Dropzone/Actions/Gist.dzbundle/action.rb:18:in `<top (required)>'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:73:in `load'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:73:in `<main>'
[Task completed]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.