Your message dated Wed, 28 Sep 2005 11:09:20 +0200
with message-id <[EMAIL PROTECTED]>
and subject line [Fwd: Re: Bug#330136: tailor: experiencing failure with cvs]
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Sep 2005 08:44:36 +0000
>From [EMAIL PROTECTED] Mon Sep 26 01:44:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp2-g19.free.fr [212.27.42.28] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EJobD-0006SU-00; Mon, 26 Sep 2005 01:44:36 -0700
Received: from morgane (pat35-1-82-231-148-189.fbx.proxad.net [82.231.148.189])
        by smtp2-g19.free.fr (Postfix) with ESMTP id ABABFEE0B;
        Mon, 26 Sep 2005 10:44:34 +0200 (CEST)
Received: from fdl by morgane with local (Exim 3.36 #1 (Debian))
        id 1EJobB-0000x2-00; Mon, 26 Sep 2005 10:44:33 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Frederic Daniel Luc LEHOBEY <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: tailor: experiencing failure with cvs
X-Mailer: reportbug 3.17
Date: Mon, 26 Sep 2005 10:44:33 +0200
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Sender: Frederic Daniel Luc LEHOBEY <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: tailor
Version: 0.9.15-1
Severity: normal

Hi,

I am trying to use tailor.  I have used (among others) the following
lines:

$ tailor -D -v --source-kind cvs --target-kind hg --repository :pserver:[EMAIL 
PROTECTED]:/cvs/dak --module dak -r INITIAL --subdir /tmp/dak

and 

$ tailor -D -v --source-kind cvs --target-kind hg --repository :ext:[EMAIL 
PROTECTED]:/cvsroot/gnobog --module gnobog-test -r INITIAL --subdir /tmp/gnobog

Both fail with the same error:

=============================================================================
Error: Checkout of 'project' failed!  -- Exception exceptions.ValueError: Empty 
module name
Traceback (most recent call last):
  File "/usr/bin/tailor", line 32, in ?
    main()
  File "/usr/lib/python2.3/site-packages/vcpx/tailor.py", line 376, in main
    tailorizer()
  File "/usr/lib/python2.3/site-packages/vcpx/tailor.py", line 153, in __call__
    self.bootstrap()
  File "/usr/lib/python2.3/site-packages/vcpx/tailor.py", line 73, in bootstrap
    actual = dwd.checkoutUpstreamRevision(revision)
  File "/usr/lib/python2.3/site-packages/vcpx/source.py", line 220, in 
checkoutUpstreamRevision
    last = self._checkoutUpstreamRevision(revision)
  File "/usr/lib/python2.3/site-packages/vcpx/cvs.py", line 366, in 
_checkoutUpstreamRevision
    last = CvspsWorkingDir._checkoutUpstreamRevision(self, revision)
  File "/usr/lib/python2.3/site-packages/vcpx/cvsps.py", line 285, in 
_checkoutUpstreamRevision
    csets = list(self.getPendingChangesets(revision))
  File "/usr/lib/python2.3/site-packages/vcpx/source.py", line 187, in 
getPendingChangesets
    changesets = self._getUpstreamChangesets(revision)
  File "/usr/lib/python2.3/site-packages/vcpx/cvs.py", line 356, in 
_getUpstreamChangesets
    reader = getreader(self.repository.encoding)
  File "/usr/lib/python2.3/codecs.py", line 642, in getreader
    return lookup(encoding)[2]
  File "/usr/lib/python2.3/encodings/__init__.py", line 84, in search_function
    globals(), locals(), _import_tail)
ValueError: Empty module name

I am new to tailor so there may be a misunderstanding on my side.  I
have tried with upstream version that fails in the same way.  I have
not yet been able to download anything successfully (with different
combinations, like -r HEAD or -r 1.1) from any of the above
repositories.

(From /usr/share/doc/trailor/README.gz) Am I hit by this? 
-----------------------------------------------------------------------
Shortcomings
============

Tailor currently suffers of the following reported problems:

a) It does not handle "empty" CVS checkouts, in other words you cannot
   bootstrap a project that has nothing in its CVS upstream
   repository, or from a point in time where this condition was true.
-----------------------------------------------------------------------

Do you have examples where similar commands work?  (Is it a bug in
upstream or does it come from the above repositories unsuited to
tailor?).

Thanks and best regards,
Frederic Lehobey

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-2-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages tailor depends on:
ii  python                        2.3.5-3    An interactive high-level object-o

tailor recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 330136-done) by bugs.debian.org; 28 Sep 2005 09:09:54 +0000
>From [EMAIL PROTECTED] Wed Sep 28 02:09:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from iona.labri.fr [147.210.8.143] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EKXwo-00064v-00; Wed, 28 Sep 2005 02:09:54 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
        by iona.labri.fr (Postfix) with ESMTP id 821621017BB
        for <[EMAIL PROTECTED]>; Wed, 28 Sep 2005 11:09:22 +0200 (CEST)
Received: from iona.labri.fr ([127.0.0.1])
 by localhost (iona.labri.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 18412-03-3 for <[EMAIL PROTECTED]>;
 Wed, 28 Sep 2005 11:09:22 +0200 (CEST)
Received: from galadriel.labri.fr (mut38-2-82-67-66-239.fbx.proxad.net 
[82.67.66.239])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (Client did not present a certificate)
        by iona.labri.fr (Postfix) with ESMTP id 3639E1017B9
        for <[EMAIL PROTECTED]>; Wed, 28 Sep 2005 11:09:22 +0200 (CEST)
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1])
        by galadriel.labri.fr (Postfix) with ESMTP id C7957EB0D1
        for <[EMAIL PROTECTED]>; Wed, 28 Sep 2005 11:09:20 +0200 (CEST)
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 28 Sep 2005 11:09:20 +0200
From: Vincent Danjean <[EMAIL PROTECTED]>
User-Agent: Debian Thunderbird 1.0.6 (X11/20050802)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: [Fwd: Re: Bug#330136: tailor: experiencing failure with cvs]
Content-Type: multipart/mixed;
 boundary="------------080805050307000506010405"
X-Virus-Scanned: amavisd-new at labri.fr
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part message in MIME format.
--------------080805050307000506010405
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

   The bts does not seem to have recorded this message !
Trying again.

   Vincent

--------------080805050307000506010405
Content-Type: message/rfc822;
 name="Re: Bug#330136: tailor: experiencing failure with cvs"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: Bug#330136: tailor: experiencing failure with cvs"

Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (localhost.localdomain [127.0.0.1])
        by galadriel.labri.fr (Postfix) with ESMTP id 35A43EB12A
        for <[EMAIL PROTECTED]>; Tue, 27 Sep 2005 09:47:15 +0200 (CEST)
Received: from iona.labri.fr [147.210.8.143]
        by localhost with IMAP (fetchmail-6.2.5 polling LABRI account danjean)
        for [EMAIL PROTECTED] (single-drop); Tue, 27 Sep 2005 09:47:15 +0200 
(CEST)
Received: from iona.labri.fr ([unix socket])
         by iona.labri.fr (Cyrus v2.2.12) with LMTPA;
         Tue, 27 Sep 2005 09:44:26 +0200
X-Sieve: CMU Sieve 2.2
Received: from localhost (guismo.drimm.u-bordeaux1.fr [147.210.36.243])
        by iona.labri.fr (Postfix) with ESMTP id 4E1321017C0
        for <[EMAIL PROTECTED]>; Tue, 27 Sep 2005 09:44:26 +0200 (CEST)
Received: from iona.labri.fr ([147.210.8.143])
 by localhost (guismo.drimm.u-bordeaux1.fr [147.210.36.243]) (amavisd-new, port 
10024)
 with LMTP id 05583-02-3 for <[EMAIL PROTECTED]>;
 Tue, 27 Sep 2005 09:44:25 +0200 (CEST)
Received: from penpen.tenebreuse.org (penpen.tenebreuse.org [81.57.102.121])
        by iona.labri.fr (Postfix) with ESMTP id 930EB101767
        for <[EMAIL PROTECTED]>; Tue, 27 Sep 2005 09:44:25 +0200 (CEST)
Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29])
        by penpen.tenebreuse.org (Postfix) with ESMTP id 55B9012B77A
        for <[EMAIL PROTECTED]>; Tue, 27 Sep 2005 09:44:25 +0200 (CEST)
Received: from melusine (pat35-1-82-231-148-189.fbx.proxad.net [82.231.148.189])
        by smtp3-g19.free.fr (Postfix) with ESMTP id D30E324642;
        Tue, 27 Sep 2005 09:44:24 +0200 (CEST)
Received: from lehobey by melusine with local (Exim 3.36 #1 (Debian))
        id 1EKA8W-0000z7-00; Tue, 27 Sep 2005 09:44:24 +0200
Date: Tue, 27 Sep 2005 09:44:24 +0200
To: Vincent Danjean <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#330136: tailor: experiencing failure with cvs
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
From: Frederic Lehobey <[EMAIL PROTECTED]>
X-Virus-Scanned: amavisd-new at u-bordeaux1.fr
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on galadriel
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham 
        version=3.0.4

Hi,

On Tue, Sep 27, 2005 at 01:52:48AM +0200, Vincent Danjean wrote:
>   You need to specify the encoding you are using. Please, try something
> as
> 
> tailor -D -v --source-kind cvs --target-kind hg --repository 
> :pserver:[EMAIL PROTECTED]:/cvs/dak --module dak -r INITIAL 
> --subdir dak --encoding ascii
> (or --encoding utf-8)
> 
> It works for me. Please, tell me if this is ok for you (so that I close
> the bug).

Many, many thanks.  I had read many (maybe outdated ones, for the
older versions of tailor) docs without any clue towards this encoding
stuff.  I had also tried the tailor.config format without any better
luck.

The man page says

       --encoding=CHARSET
              Force  the  output  encoding to given CHARSET, rather then using
              the user's default settings specified in the environment.

I am using utf-8 so maybe tailor is not able for some reason to
recognize it.

Thanks a lot, closing the bug report.

Best regards,
Frederic Lehobey


--------------080805050307000506010405--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to