Comments (16)
Do you know which file is being deployed when you get this error? See #12.
from dandelion.
I think it must be the same issue as your reference.
These were the last two lines before it flagged the error.
Uploading file: wp-content/themes/habitat/assets/sponsors/Home Depot lower res JPG.jpg
Uploading file: "wp-content/themes/habitat/assets/sponsors/Home De\314\201po\314\202t_Canada_Foundation.jpg"
from dandelion.
I'm having a similar issue with a submodule using dandelion 0.3.9
/Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/git.rb:67:in `show': undefined method `data' for #<Grit::Submodule "99c0a992d9d20b8de297d967f0c19c8373ef9a7a"> (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:140:in `deploy'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:135:in `each'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:135:in `deploy'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/command/deploy.rb:50:in `execute'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/application.rb:38:in `execute'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/command.rb:92:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/application.rb:36:in `new'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/application.rb:36:in `execute'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/application.rb:7:in `execute'
from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/dandelion:7
from /usr/bin/dandelion:19:in `load'
from /usr/bin/dandelion:19
edit: Adding full backtrace
from dandelion.
@kidfiction This looks like another issue. I don't think submodules have previously been addressed.
from dandelion.
I had the same issue. Found out that I had another git repository inside my main repository(a js plugin). Worked after I deleted the git files for the second repository.
from dandelion.
#44 should address this, albeit by a heavy-handed ignore of the submodules - but should at least allow you to deploy without error, just need to manually deploy any submodules until a way to handle those has been devised.
from dandelion.
Having probably similiar issue. Cannot find the way or workaround to upload via dandelion. Any suggestions please ?
Skipping file: assets/Prohlasenirodicu12m.pdf Skipping file: assets/Soustredeni_zak_kat_12.pdf /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/git.rb:83:in `show': undefined method `data' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:154:in `block in deploy' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in `each' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in `deploy' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command/deploy.rb:50:in `execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:38:in `block in execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command.rb:92:in `initialize' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in `new' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in `execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:7:in `execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/bin/dandelion:7:in `' from /usr/bin/dandelion:23:in `load' from /usr/bin/dandelion:23:in `'
from dandelion.
@collin35 if you have a second git repository inside your main git repository(the one you're deploying), then that might cause the error. Dandelion doesn't seem to work well with submodules, see issue #37.
from dandelion.
It would be helpful if you guys can solve this problem instead of closing this issue. What if I need to deploy files with spacial characters or submodules?
Btw this is the console log errors I'm getting:
/Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/git.rb:83:in `show': undefined method `data' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:154:in `block in deploy'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in `each'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in `deploy'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command/deploy.rb:50:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:38:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command.rb:92:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in `new'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:7:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/bin/dandelion:7:in `<top (required)>'
from /usr/bin/dandelion:23:in `load'
from /usr/bin/dandelion:23:in `<main>'
from dandelion.
Same issue here. I'm using Composer to keep addons up to date for my web application. It pulls them in as git repos so, even without submodules, Dandelion can't deploy the directories without an error. Basically means I'm SOL when it comes to using Dandelion. Off to find another solution! :(
from dandelion.
@jeffwhitfield Yeah, there's no support for submodules right now. There's a workaround presented in #37 but ideally I'd like to support this use case. I'll leave the other issue open in case I have time to work on this feature or someone else wants to submit a pull request.
from dandelion.
I have the same issue. No idea what causes it.
Skipping file: wp-content/uploads/2013/09/Clown-Fish.jpg /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/git.rb:83:in 'show': undefined method 'data' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:154:in 'block in deploy' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in 'each' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/deployment.rb:150:in 'deploy' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command/deploy.rb:50:in 'execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:38:in 'block in 'execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/command.rb:92:in 'initialize' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in 'new' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:36:in 'execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/lib/dandelion/application.rb:7:in 'execute' from /Library/Ruby/Gems/2.0.0/gems/dandelion-0.3.14/bin/dandelion:7:in '<top (required)>' from /usr/bin/dandelion:23:in 'load' from /usr/bin/dandelion:23:in '<main>'
from dandelion.
I was also getting the same issue. Looks like its related to either issues in file name, file type or file size. I was uploading an assets folder which had a lot of files. I removed that folder & deploy worked properly.
from dandelion.
@nitishdhar What version of Dandelion are you using?
from dandelion.
@scttnlsn I updated to the latest 0.4.3
from dandelion.
@nitishdhar Could you post the full stack trace you're getting with 0.4.3?
from dandelion.
Related Issues (20)
- `+': no implicit conversion of Fixnum into String (TypeError) HOT 2
- Semi-random closed stream (IOError) on SFTP upload HOT 2
- Dandelion is doing nothing HOT 2
- Specify Dev and Live server HOT 1
- Changing Permissions HOT 3
- Windows install issue HOT 2
- ASCII-8BIT to UTF-8 Encoding Error When Transferring PNG HOT 2
- Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text. HOT 1
- Problems deploying to PHP 7 server HOT 2
- undefined symbol: rb_intern2 HOT 5
- macOS High Sierra installation HOT 10
- Not working with ruby 2.5.0 on deploy using sftp HOT 2
- Error trying to install dandelion HOT 5
- Gem install on macos Mojave gives compilation error HOT 1
- Updating to 0.5.4 HOT 2
- macOS Catalina HOT 2
- Net::SFTP::StatusException HOT 1
- FTPS deploy issue HOT 3
- Any good replacement? HOT 2
- Asking for password on non-sudo SSH user HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dandelion.