Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D86C99D8 for ; Thu, 11 Dec 2014 09:53:50 +0000 (UTC) Received: (qmail 50075 invoked by uid 500); 11 Dec 2014 09:53:50 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 50010 invoked by uid 500); 11 Dec 2014 09:53:50 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 49835 invoked by uid 99); 11 Dec 2014 09:53:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 09:53:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daddywri@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-yk0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 09:53:44 +0000 Received: by mail-yk0-f175.google.com with SMTP id 200so2020492ykr.34 for ; Thu, 11 Dec 2014 01:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=azBPcDhic8bB3JZelokf3uUj4wvlX6Dutj7WFepMnTc=; b=AmzECF8ep9VWJjoLT+KyZYwyap+mthq9EVTrp/vi1hrCvikp2wHqE0SGvxFTLZSek8 KJjTY5JWRkWhUex69Dkh0IRxgricA9Dn6vRcxAxCV8U7vfPB6ng4VB1h2bbrJU4lz5ul lcOdzF5rVYpEwcbnRYK0iQXzggT2kz155AD0wPSng5icTWyGu2mDEwM0fbDh/IqXQRDg 1Gj6Mcwe69p0fUv6pof6dTS43eR5vkSCA+hP8khqG8QKk1Nr2zj2YCOcXcX3hau4Za2q 9odDxPi+hvL8cOiC6j2Z8AhGkzacRbcKZAqot/80EswWIrZ8LCqBghVOWmQdERzp7h95 wEbg== MIME-Version: 1.0 X-Received: by 10.236.24.225 with SMTP id x61mr6475583yhx.39.1418291604182; Thu, 11 Dec 2014 01:53:24 -0800 (PST) Received: by 10.170.205.65 with HTTP; Thu, 11 Dec 2014 01:53:24 -0800 (PST) In-Reply-To: References: <1418290338.24239.YahooMailNeo@web141506.mail.bf1.yahoo.com> Date: Thu, 11 Dec 2014 04:53:24 -0500 Message-ID: Subject: Re: Import configuration does not work properly From: Karl Wright To: "user@manifoldcf.apache.org" , Kambiz Niktabar Content-Type: multipart/alternative; boundary=089e0112ce2a415d020509edbf34 X-Virus-Checked: Checked by ClamAV on apache.org --089e0112ce2a415d020509edbf34 Content-Type: text/plain; charset=UTF-8 Hi Kambiz, The dev_1x svn rev is: r1632065 You can create a patch this way: svn diff -c 1632065 https://svn.apache.org/repos/asf/manifoldcf/branches/dev_1x >mypatch.patch Thanks, Karl On Thu, Dec 11, 2014 at 4:51 AM, Karl Wright wrote: > > Hi Kambiz, > > I believe that a fix for this problem was committed to the dev_1x branch. > I'd get you a ticket number and an svn rev, but unfortunately jira appears > to be down at the moment. > > Thanks, > Karl > > > On Thu, Dec 11, 2014 at 4:32 AM, Kambiz Niktabar > wrote: >> >> Hi Karl, >> >> I use PostgreSQL as database for ManifoldCF and I wanted to test >> import/export configuration functionality. It seems export works fine and I >> got "configuration exported" message at the end but when I try importing >> the same configuration I got the below error message. >> >> E:\apache-manifoldcf-1.7.2\example>executecommand.bat >> org.apache.manifoldcf.crawler.ImportConfiguration exported_config >> Configuration file successfully read >> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Error reading >> configuration file: Unknown authority configuration version: 3 >> at >> org.apache.manifoldcf.crawler.system.ManifoldCF.importConfiguration(ManifoldCF.java:910) >> at >> org.apache.manifoldcf.crawler.ImportConfiguration.doExecute(ImportConfiguration.java:42) >> at >> org.apache.manifoldcf.crawler.BaseCrawlerInitializationCommand.execute(BaseCrawlerInitializationCommand.java:37) >> at >> org.apache.manifoldcf.crawler.ImportConfiguration.main(ImportConfiguration.java:60) >> Caused by: java.io.IOException: Unknown authority configuration version: 3 >> at >> org.apache.manifoldcf.authorities.authority.AuthorityConnectionManager.importConfiguration(AuthorityConnectionManager.java:260) >> at >> org.apache.manifoldcf.crawler.system.ManifoldCF.importConfiguration(M >> anifoldCF.java:865) >> ... 3 more >> >> --089e0112ce2a415d020509edbf34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Kambiz,

The dev_1x svn rev is:
r1632065

You can create a patch this way:

sv= n diff -c 1632065 https://svn.apache.org/repos/asf/manifoldcf/branches/dev_1x<= /a> >mypatch.patch

Thanks,
Karl


On Thu, Dec 11, 2014 at 4:5= 1 AM, Karl Wright <daddywri@gmail.com> wrote:
Hi Kambiz,

I believe th= at a fix for this problem was committed to the dev_1x branch.=C2=A0 I'd= get you a ticket number and an svn rev, but unfortunately jira appears to = be down at the moment.

Thanks,
Karl


On Thu, Dec 11, 2014 at 4:32 AM, Kambiz Niktabar &= lt;niktabar@yahoo.c= om> wrote:
Hi Karl,

I use PostgreSQL as database for ManifoldC= F and I wanted to test import/export configuration functionality. It seems = export works fine and I got "configuration exported" message at t= he end but when I try importing the same configuration I got the below erro= r message.

E:\apache-manifoldcf= -1.7.2\example>executecommand.bat org.apache.manifoldcf.crawler.ImportConfiguration exported_config
Configuration file successfully re= ad
org.apache.manifoldcf.c= ore.interfaces.ManifoldCFException: Error reading configuration file: Unkno= wn authority configuration version: 3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.crawler.sy= stem.ManifoldCF.importConfiguration(ManifoldCF.java:910)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ma= nifoldcf.crawler.ImportConfiguration.doExecute(ImportConfiguration.java:42)=
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 at org.apache.manifoldcf.crawler.BaseCrawlerInitializationCommand.execu= te(BaseCrawlerInitializationCommand.java:37)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.cra= wler.ImportConfiguration.main(ImportConfiguration.java:60)
Caused by: java.io.IOException: Unknown a= uthority configuration version: 3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.authorities.au= thority.AuthorityConnectionManager.importConfiguration(AuthorityConnectionM= anager.java:260)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.crawler.system.ManifoldCF.imp= ortConfiguration(M
anifold= CF.java:865)
=C2=A0 =C2=A0= =C2=A0 =C2=A0 ... 3 more

--089e0112ce2a415d020509edbf34--