Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Trying to Deploy #22

Closed
jo-snips opened this issue Dec 5, 2012 · 10 comments
Closed

Error Trying to Deploy #22

jo-snips opened this issue Dec 5, 2012 · 10 comments

Comments

@jo-snips
Copy link

jo-snips commented Dec 5, 2012

Hi there,

I'm getting this error when trying to deploy:

/Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/git.rb:58:in `initialize': Dandelion::Git::RevisionError (Dandelion::Git::RevisionError)
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:23:in `new'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:23:in `initialize'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:72:in `initialize'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:12:in `new'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/deployment.rb:12:in `create'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/command.rb:122:in `deployment'
        from /Library/Ruby/Gems/1.8/gems/dandelion-0.3.9/bin/../lib/dandelion/command/status.rb:15: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

I've tried changing config options and recreating my repo but nothing is working. Any ideas?

Thanks,
Jonah

@scttnlsn
Copy link
Owner

scttnlsn commented Dec 5, 2012

My guess is that the remote revision does not exist in your local working copy. Did someone else deploy to the server without first pushing to the remote that you pull from?

To test this theory, try reading the SHA from the .revision file that is stored on the server and running a git show <sha> in your local copy.

@jo-snips
Copy link
Author

jo-snips commented Dec 5, 2012

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...

I get an error running git show <sha>:
-bash: syntax error near unexpected token `newline'

I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.

Thanks,
Jonah

@scttnlsn
Copy link
Owner

scttnlsn commented Dec 5, 2012

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).

@jo-snips
Copy link
Author

jo-snips commented Dec 5, 2012

Yep, I just did another commit too. Same error. So weird because other repo's work and I recreated this one just to see if that was the problem.

On Dec 5, 2012, at 11:19 AM, Scott Nelson notifications@github.com wrote:

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).

Reply to this email directly or view it on GitHub.

@scttnlsn
Copy link
Owner

scttnlsn commented Dec 5, 2012

And you're certain that there's no .revision file on the remote server?

On Wednesday, December 5, 2012 at 1:21 PM, Jonah West wrote:

Yep, I just did another commit too. Same error. So weird because other repo's work and I recreated this one just to see if that was the problem.

On Dec 5, 2012, at 11:19 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).

@jo-snips
Copy link
Author

jo-snips commented Dec 5, 2012

Yep, just toggled show hidden files...

On Dec 5, 2012, at 11:22 AM, Scott Nelson notifications@github.com wrote:

And you're certain that there's no .revision file on the remote server?

On Wednesday, December 5, 2012 at 1:21 PM, Jonah West wrote:

Yep, I just did another commit too. Same error. So weird because other repo's work and I recreated this one just to see if that was the problem.

On Dec 5, 2012, at 11:19 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).

Reply to this email directly or view it on GitHub.

@scttnlsn
Copy link
Owner

scttnlsn commented Dec 5, 2012

What Dandelion scheme are you using? Is there any way you could push the Git repository somewhere public so I can test it out?

On Wednesday, December 5, 2012 at 1:24 PM, Jonah West wrote:

Yep, just toggled show hidden files...

On Dec 5, 2012, at 11:22 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

And you're certain that there's no .revision file on the remote server?

On Wednesday, December 5, 2012 at 1:21 PM, Jonah West wrote:

Yep, I just did another commit too. Same error. So weird because other repo's work and I recreated this one just to see if that was the problem.

On Dec 5, 2012, at 11:19 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).

@jo-snips
Copy link
Author

jo-snips commented Dec 5, 2012

I've tried ftp and sftp and I'm trying to deploy to a very similar place where I can deploy other repo's just fine so it's something specific to this one...

I'd be happy to push somewhere, I don't have any free repo space anywhere though - do you have one I could push to?

On Dec 5, 2012, at 11:25 AM, Scott Nelson notifications@github.com wrote:

What Dandelion scheme are you using? Is there any way you could push the Git repository somewhere public so I can test it out?

On Wednesday, December 5, 2012 at 1:24 PM, Jonah West wrote:

Yep, just toggled show hidden files...

On Dec 5, 2012, at 11:22 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

And you're certain that there's no .revision file on the remote server?

On Wednesday, December 5, 2012 at 1:21 PM, Jonah West wrote:

Yep, I just did another commit too. Same error. So weird because other repo's work and I recreated this one just to see if that was the problem.

On Dec 5, 2012, at 11:19 AM, Scott Nelson <notifications@github.com (mailto:notifications@github.com)> wrote:

Have you made any commits locally? If you're trying to deploy an empty Git repo that could be causing this error.

On Wednesday, December 5, 2012 at 1:17 PM, Jonah West wrote:

Well I haven't even deployed at all to this particular location on the server, this is my initial push so there's no .revision file on the remote...
I get an error running git show :
-bash: syntax error near unexpected token `newline'
I'm a beginner Git guy though so don't really know what I'm doing aside from the basics.
Thanks,
Jonah


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#22 (comment)).

Reply to this email directly or view it on GitHub.

@jo-snips
Copy link
Author

Just wanted to post an update on this. I got it fixed, it was my bad. It seems there are some issues with Git upon installing Mountain Lion. I checked out this post: http://pradeepnayak.in/technology/2012/07/26/git-command-not-found-error-in-mountain-lion-quickfix/ - and installed the latest version of xCode and Command Line Tools and everything is working again! Hallelujah! It was getting pretty tiresome manually FTP'ing changes every time.

I hope this helps someone else!

@jo-snips
Copy link
Author

FYI, I need to install the latest xCode and Command Line Tools to get Dandelion to work again. Hallelujah! Here's what led me to figuring it out: http://pradeepnayak.in/technology/2012/07/26/git-command-not-found-error-in-mountain-lion-quickfix/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants