public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Bob Brusa <bob.brusa@gmail.com>
To: ecos discuss <ecos-discuss@ecos.sourceware.org>
Subject: Fwd: Re: [ECOS] configtool does not find its database
Date: Sat, 27 Feb 2016 10:05:00 -0000	[thread overview]
Message-ID: <56D174D0.7080606@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1602270137200.6009@sg-laptop>


-------- Weitergeleitete Nachricht --------
Betreff: 	Re: [ECOS] configtool does not find its database
Datum: 	Sat, 27 Feb 2016 01:42:13 +0300 (MSK)
Von: 	Sergei Gavrikov <sergei.gavrikov@gmail.com>
An: 	Bob Brusa <bob.brusa@gmail.com>
Kopie (CC): 	ecos discuss <ecos-discuss@ecos.sourceware.org>



On Thu, 25 Feb 2016, Bob Brusa wrote:

> Hi,
> this is a better version - meaning spelling errors and missing parts fix - of
> a previous mail.
> ++++++++++++
> I installed ecos on a windows 10.64/cygwin (32-bit) computer. When starting up
> configtool, it reports the following:
>
> ecos.db:error
>    couldn't read file "/opt/ecos/ecos_cvs/ecos/packages/ecos.db": no such file
> or directory
>
> but the root of the eCos repository is correct:
>
> D:\osy\cygwin\opt\ecos\ecos_cvs\ecos
>
> and the file packages/ecos.db exists.
>
> It seems to be a problem of a missing translation from a windows path
> to a posix path or vice versa. How does one fix this?
> Regards - Bob

Hi Bob,

and what's about

   echo $ECOS_REPOSITORY
   cat "$ECOS_REPOSITORY/ecos.db"

Sergei

Hi Sergei,
yes, the repository is defined and the database-file is there - see the 
lines below, copied from cygwinTerminal:

Robert@w36 ~
$ echo $ECOS_REPOSITORY
/opt/ecos/ecos_cvs/ecos/packages

Robert@w36 ~
$ cd $ECOS_REPOSITORY

Robert@w36 /opt/ecos/ecos_cvs/ecos/packages
$ ls -a
.          compat  devs           error  infra     kernel NEWS     services
..         CVS     ecos.db        fs     io        language pkgconf  
templates
ChangeLog  cygmon  ecosadmin.tcl  hal    isoinfra  net redboot

ECOS_REPOSITORY is also part of the windows environment - copied from 
windowsTerminal(cmd):
C:\Windows\System32>echo %ECOS_REPOSITORY%
D:\osy\cygwin\opt\ecos\ecos_cvs\ecos\packages

Meanwhile I also had some exchange with Alex Schuilenburg, but the 
problem persists: When launching configtools.exe (with a double click on 
a link on my desktop), configtools immediately runs on an error:
Error opening eCos repository: Invalid package database and in its log 
windows it displays:

ecos.db: error
    could'nt read file "/opt/ecos/ecos_cvs/ecos/packages/ecos.db": no 
such file or directory

otherwize, configtools other windows are empty. Clicking the error 
windows away then opens a window to specify the root of the eCos 
repository. However, the entry it displays is already correct:
D:\osy\cygwin\opt\ecos\ecos_cvs\ecos

and it does not help iwhen I change the path to 
D:\osy\cygwin\opt\ecos\ecos_cvs\ecos\packages

Hence, the problem is yet unsolved.
Bob



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2016-02-27 10:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 16:22 Bob Brusa
2016-02-26 22:42 ` Sergei Gavrikov
2016-02-27 10:05   ` Bob Brusa [this message]
2016-02-27 23:28     ` [ECOS] Re: Fwd: " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D174D0.7080606@gmail.com \
    --to=bob.brusa@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).