deanishe Posted February 4, 2014 Share Posted February 4, 2014 The workflow is throwing an error for me. #<NoMethodError: undefined method `[]' for nil:NilClass> /Volumes/Users/XXX/Dropbox/Config/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.C1317428-1511-401C-A41B-FE46B52EC364/transmit.rb:65:in `block in cache_xml' I did a bit of debugging, and it's choking on an open access FTP site that has no username. The error is caused by: 'username' => fav['attribute'].detect { |attr| attr['name'] == 'username' }['content'] I'm not familiar enough with Ruby to fix the error, but the workflow shouldn't assume favourites have usernames because they don't always require them. Link to comment
deanishe Posted March 14, 2014 Share Posted March 14, 2014 Any chance the bug might get fixed? Link to comment
ramiro.araujo Posted March 14, 2014 Author Share Posted March 14, 2014 wooops, I've missed your previous comment. I don't usually use FTP accounts without username I'll check it cheers Link to comment
deanishe Posted March 14, 2014 Share Posted March 14, 2014 I'd appreciate it. I had a crack at doing it myself, but I haven't used Ruby since before gems and rake and bundler, and I couldn't even get it to run Link to comment
ramiro.araujo Posted March 14, 2014 Author Share Posted March 14, 2014 ok, looks corrected, please let me know https://github.com/ramiroaraujo/alfred-transmit-workflow cheers Link to comment
deanishe Posted March 14, 2014 Share Posted March 14, 2014 It loads my favourites super fast now! Thanks very much! Link to comment
Arne Posted June 1, 2015 Share Posted June 1, 2015 I have tested this and found it extremely useful! Thank you so much for this workflow - I do not know of any faster way to connect via ftp than this. This is amazing. Since I saw how excellent this is working, I was wondering if there would not be a possibility to have a similar workflow setup for coda 2 from panic. Since these are the same favories. And I sure would appreciate to connect just as fast to the websites with the live editor via coda 2 as it is now possible to connect via transmit in light speed, thanks to your plugin. Ah - I just saw other Transmit workflows as well - and will post there too. I really hope someone was already thinking about this, or maybe there is a workflow for coda 2 already out there. I so I would really appreciate getting in touch. Looking very much forward to your answer. - Arne Arne 1 Link to comment
benlwong Posted September 25, 2015 Share Posted September 25, 2015 Okay, I just tried installing the script and got the following errors. I am using Alfred 2.8 and Transmit 4.4.8. OS is Yosemite (10.10.5) Starting debug for 'Transmit' [ERROR: alfred.workflow.input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `mkdir': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14 (Errno::EACCES) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `fu_mkdir' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:219:in `block (2 levels) in mkdir_p' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `reverse_each' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `block in mkdir_p' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `mkdir_p' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:210:in `write_gem_make_out' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:132:in `build_error' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:171:in `rescue in build_extension' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:156:in `build_extension' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:198:in `block in build_extensions' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `each' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `build_extensions' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1436:in `block in build_extensions' from /Library/Ruby/Site/2.0.0/rubygems/user_interaction.rb:45:in `use_ui' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1434:in `build_extensions' from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:60:in `build_extensions' from /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:925:in `block in find_inactive_by_path' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `each' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find_inactive_by_path' from /Library/Ruby/Site/2.0.0/rubygems.rb:185:in `try_activate' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require' from /Users/benw/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21251A6D-D810-4BDC-AAD6-75DDF01B617D/bundle/ruby/2.0.0/gems/sqlite3-1.3.8/lib/sqlite3.rb:4:in `<top (required)>' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/benw/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21251A6D-D810-4BDC-AAD6-75DDF01B617D/transmit.rb:3:in `<top (required)>' from ./feedback.rb:7:in `require_relative' from ./feedback.rb:7:in `<main>' Link to comment
meeffe Posted July 20, 2017 Share Posted July 20, 2017 Hello, any chances of update this workflow to work with newest transmit 5? schrodinger_cat and nibelune 2 Link to comment
V2n Posted October 17, 2017 Share Posted October 17, 2017 not working after HighSierra uprade [2017-10-17 11:01:39][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/ kernel_require.rb:55:in `require': cannot load such file -- alfred (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./feedback.rb:6:in `<main>' macOS High Sierra v10.13 Alfred v3.5 [876] Transmit 4.4.13 I'm syncing Alfred prefs via Dropbox .. if it might have anything to do with those "cannot load such file" errors Any ideas? Thanks Link to comment
deanishe Posted October 17, 2017 Share Posted October 17, 2017 The problem is that High Sierra has a different version of Ruby, so the workflow is looking in the wrong directory for its gems. You need to dig around in the workflow and rename the directory the gems are in to match the version number of your installed Ruby (2.3.0). That should fix it. retrokosmonaut and kbil4eva 2 Link to comment
retrokosmonaut Posted November 13, 2017 Share Posted November 13, 2017 On 17.10.2017 at 11:47 AM, deanishe said: The problem is that High Sierra has a different version of Ruby, so the workflow is looking in the wrong directory for its gems. You need to dig around in the workflow and rename the directory the gems are in to match the version number of your installed Ruby (2.3.0). That should fix it. Okay I don't get it. Can you help me to work this out? Link to comment
kbil4eva Posted December 6, 2017 Share Posted December 6, 2017 On 10/17/2017 at 5:54 AM, V2n said: fixed! thanks @deanishe Would it be possible that you share the solution, I'd love to get this fixed. Perhaps share the code you changed, or even all of it and I can run a diff to discover and let everyone else know how to fix, thanks. On 10/17/2017 at 5:47 AM, deanishe said: The problem is that High Sierra has a different version of Ruby, so the workflow is looking in the wrong directory for its gems. You need to dig around in the workflow and rename the directory the gems are in to match the version number of your installed Ruby (2.3.0). That should fix it. Can you provide some additional details about this issue please. Link to comment
robdbirch Posted December 7, 2017 Share Posted December 7, 2017 (edited) @kbil42va Here's instructions on how I fixed the same issue with the terminal workflow: Edited December 7, 2017 by robdbirch Link to comment
retrokosmonaut Posted December 7, 2017 Share Posted December 7, 2017 9 hours ago, robdbirch said: @kbil42va Here's instructions on how I fixed the same issue with the terminal workflow: Thank you for sharing. Works perfect. Link to comment
Sridhar Katakam Posted December 13, 2017 Share Posted December 13, 2017 I renamed 2.0.0 to 2.4.1 which is the version number of ruby installed on my Mac and restarted Alfred. Still no dice. Link to comment
robdbirch Posted December 13, 2017 Share Posted December 13, 2017 (edited) @Sridhar Katakam Even though you have 2.4.1 I think it still needs to be 2.4.0. I know, not exactly intuitive. Edited December 13, 2017 by robdbirch Link to comment
Sridhar Katakam Posted December 13, 2017 Share Posted December 13, 2017 8 minutes ago, robdbirch said: @Sridhar Katakam Even though you have 2.4.1 I think it still needs to be 2.4.0. I know, not exactly intuitive. Did this. Still doesn't work. Link to comment
robdbirch Posted December 13, 2017 Share Posted December 13, 2017 If your running MacOS High Sierra the system Ruby is 2.3 not 2.4. Link to comment
Sridhar Katakam Posted December 13, 2017 Share Posted December 13, 2017 5 hours ago, robdbirch said: If your running MacOS High Sierra the system Ruby is 2.3 not 2.4. That does fix this a bit. My Transmit favorites do appear in Alfred. But launching any of them does not actually connect to that FTP server in Transmit. Does it work for you? Link to comment
Taz Posted February 8, 2018 Share Posted February 8, 2018 Here's a Transmit 5 workaround that simulates the old Transmit 4 workflow. Not perfect, but super handy! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now