Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Import fails
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mitar  
View profile  
 More options Aug 6 2009, 8:41 pm
From: Mitar <mmi...@gmail.com>
Date: Fri, 7 Aug 2009 02:41:34 +0200
Local: Thurs, Aug 6 2009 8:41 pm
Subject: Import fails
Hi!

I am using 2.0.6 version on Mac OS X 10.5.7 with Ruby 1.8.6
(2008-08-11 patchlevel 287) and import fails with:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1055:in
`read': Is a directory -
/Users/mitar/Temp/wlanlj/branches/openwrt/.trunk.tmp/target/linux/ar7/files /arch/mips/include/asm/ar7
(Errno::EISDIR)
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1055:in
`fu_copy_stream0'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1263:in
`copy_file'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1262:in
`open'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1262:in
`copy_file'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1261:in
`open'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:1261:in
`copy_file'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:463:in
`copy_file'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fil eutils.rb:383:in
`cp'
         ... 13 levels...
        from /Users/mitar/Downloads/piston/lib/piston/cli.rb:121
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rub ygems/custom_require.rb:27:in
`gem_original_require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rub ygems/custom_require.rb:27:in
`require'
        from /Users/mitar/Downloads/piston/bin/piston:5

The command was:

piston import svn://svn.openwrt.org/openwrt/trunk/ trunk --repository-type=svn

What is wrong?

Mitar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
François Beausoleil  
View profile  
 More options Aug 7 2009, 7:51 am
From: François Beausoleil <francois.beausol...@gmail.com>
Date: Fri, 7 Aug 2009 07:51:02 -0400
Local: Fri, Aug 7 2009 7:51 am
Subject: Re: Import fails
Seems Piston is trying to copy a directory.  Could you try with --
verbose 5 to give me more information?

Thanks!
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

Le 2009-08-06 à 20:41, Mitar a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitar  
View profile  
 More options Aug 7 2009, 10:10 am
From: Mitar <mmi...@gmail.com>
Date: Fri, 7 Aug 2009 16:10:21 +0200
Local: Fri, Aug 7 2009 10:10 am
Subject: Re: Import fails
Hi!

2009/8/7 François Beausoleil <francois.beausol...@gmail.com>:

> Seems Piston is trying to copy a directory.  Could you try with --
> verbose 5 to give me more information?

I have sent it to you.

Mitar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitar  
View profile  
 More options Aug 11 2009, 3:08 pm
From: Mitar <mmi...@gmail.com>
Date: Tue, 11 Aug 2009 21:08:42 +0200
Local: Tues, Aug 11 2009 3:08 pm
Subject: Re: Import fails
Hi!

I have tested also on a Debian Linux system and it is the same. It
seems that it is the problem of the repository I am trying to import.

Mitar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
François Beausoleil  
View profile  
 More options Aug 11 2009, 3:14 pm
From: François Beausoleil <francois.beausol...@gmail.com>
Date: Tue, 11 Aug 2009 15:14:50 -0400
Local: Tues, Aug 11 2009 3:14 pm
Subject: Re: Import fails
Thanks for the update.  I haven't verified yet locally, and I'm  
swamped, and I'm going on vacation later this week.  So I don't know  
if I'll get back to this before the end of the month.

Anyway, thanks for verifying.

If you want to look, it appears the problem is caused by Piston  
incorrectly thinking a folder is a file.  Unfortunately, Ruby is very  
helpful and cuts the backtrace right where we need it.  Anyway, the  
error should be somewhere in lib/piston/svn/working_copy.rb or lib/
piston/working_copy.rb

Bye!
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

Le 2009-08-11 à 15:08, Mitar a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitar  
View profile  
 More options Aug 16 2009, 2:56 am
From: Mitar <mmi...@gmail.com>
Date: Sun, 16 Aug 2009 08:56:47 +0200
Local: Sun, Aug 16 2009 2:56 am
Subject: Re: Import fails
Hi!

It seems the problem is that the source file was a symlink and
FileUtils.cp went copying its target contents and it did not copy
symlink as it is. I have changed FileUtils.cp to FileUtils.copy_entry
in copy_to method and it seems it works. But probably you should check
also other parts of the source code if symlinks break anything.

Mitar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
François Beausoleil  
View profile  
 More options Aug 17 2009, 1:20 pm
From: François Beausoleil <francois.beausol...@gmail.com>
Date: Mon, 17 Aug 2009 13:20:07 -0400
Local: Mon, Aug 17 2009 1:20 pm
Subject: Re: Import fails
Hey, good catch!

Thanks for the update.  Could you write a test case, either Cucumber  
or Test::Unit, and submit a pull request?

Thanks!
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

Le 2009-08-16 à 02:56, Mitar a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitar  
View profile  
 More options Aug 17 2009, 4:53 pm
From: Mitar <mmi...@gmail.com>
Date: Mon, 17 Aug 2009 22:53:23 +0200
Local: Mon, Aug 17 2009 4:53 pm
Subject: Re: Import fails
Hi!

> Thanks for the update.  Could you write a test case, either Cucumber
> or Test::Unit, and submit a pull request?

Uh, sorry, I have not yet used those tools and I do not have time
currently to start learning them (and Ruby). I would like to put
myself into a role of "just" user, if I may.

Mitar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »