Charles, What do your "role" declarations look like? If it's sensitive info that you don't want to post to the list, please feel free to email me directly. From the output you pasted, it looks like there may be something misformatted in your server declarations.
- Jamis On May 31, 2007, at 11:00 PM, Charles Selvarajan wrote: > Hi Jamis, > > I installed the SVN Command line utility(1.4.3) as per your note. > After having installed it when i ran the deploying script, again i > got some issues. The output i got is: > > E:\MyRoRapps\membrane2.3.1\mbserv>cap -f config/deploy.rb -a test > deploy > tag or branch not specified > * executing task test > * executing task deploy > * executing task update > ** transaction: start > * executing task update_code > * querying latest revision... > * executing "if [[ ! -d <--path--> ]]; then\n > svn co --no-auth-cache --username <username> --password > <password> -q -r1 > 514 <SVN URL> <--path--> &&\n (test -e <--path-->/revisions.log || > (touch <--path-->/revisions.log && chmod 666 <--path--> > revisions.log)) && > echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 1514 20070601044639 >> > <--path-->/revisions.log;\n fi" > servers: [" 65.74.169.199:8201"] > *** [update_code] transaction: rollback > * [update_code] rolling back > * executing "rm -rf <--path-->" > servers: ["65.74.169.199:8201 "] > ** [update_code] exception while rolling back: Errno::EBADF, Bad > file descripto > r - connect(2) > E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ssh/transport/ > session.rb:89 > :in `initialize': Bad file descriptor - connect(2) (Errno::EBADF) > from E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ > ssh/transport/ > session.rb:89:in `open' > from E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ > ssh/transport/ > session.rb:89:in `initialize' > from E:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout' > from E:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout' > from E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ > ssh/transport/ > session.rb:88:in `initialize' > from E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ > ssh/transport/ > services.rb:121:in `new' > from E:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.0/lib/net/ > ssh/transport/ > services.rb:121:in `register_services' > from E:/ruby/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/ > lifecycle/si > ngleton.rb:42:in `call' > ... 53 levels... > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano- 1.4.1/lib/ > capistrano/cli. > rb:12:in `execute!' > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/bin/ > cap:11 > from E:/ruby/bin/cap:18:in `load' > from E:/ruby/bin/cap:18 > > This time it throws some session issues. Kindly help me to sort out > this issue and > to deploy my files successfully!! > > > > On 6/1/07, Charles Selvarajan <[EMAIL PROTECTED] > > wrote:Hi Jamis, > > Yes, I don't have the command-line version of SVN (TortoiseSVN > 1.3.5) in my system. > I can't run any command starting with "svn ... .. ". > I'll try deploying by installing the command-line version and get > back.. > > thanx a lot for the note!! > > > On 6/1/07, Jamis Buck <[EMAIL PROTECTED]> wrote: > It looks like you may not have a command-line version of Subversion > installed, or that the svn command is not in the path. From a DOS > terminal, can you type "svn" and have it print something besides "bad > command or filename"? > > - Jamis > > On May 29, 2007, at 3:13 AM, scrajesh wrote: > > > > > Hi, > > > > When I tried to deploy my project(in SVN) to test-environment, I got > > the > > following error: > > > > tag or branch not specified > > * executing task test > > * executing task deploy > > * executing task update > > ** transaction: start > > * executing task update_code > > * querying latest revision... > > *** [update_code] transaction: rollback > > * [update_code] rolling back > > * executing "rm -rf <path>" > > servers: ["<IP:port>"] > > ** [update_code] exception while rolling back: Errno::EBADF, Bad > file > > descriptor - connect(2) > > E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/scm/ > > subversion.rb > > :87:in ``': No such file or directory - svn log --no-auth-cache -- > > username <uname> --password <pass> -q --limit 1 <SVN URL> > > (Errno::ENOENT) > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ > capistrano/ > > scm/subversion.rb:87:in `svn_log' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > scm/subversion.rb:23:in `latest_revision' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > configuration.rb :62:in `initialize' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > configuration.rb:89:in `call' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > configuration.rb:89:in `[]' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > configuration.rb:236:in `method_missing' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano- 1.4.1/lib/ > capistrano/ > > scm/subversion.rb:63:in `checkout' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > recipes/standard.rb:80:in `load' > > ... 15 levels... > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/ > > cli.rb:12:in `execute!' > > from E:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/bin/cap:11 > > from E:/ruby/bin/cap:18:in `load' > > from E:/ruby/bin/cap:18 > > > > NB: I'm working in Windows XP SP2 pack. > > > > Can anyone kindly help me out to fix this issue? > > > > thanx, > > - Charles. > > > > > > > > > > > > > > > thanx, > - Charles. > > > > thanx, > - Charles. > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
