[prev in list] [next in list] [prev in thread] [next in thread] 

List:       moblin-dev
Subject:    Re: [Moblin Dev] Error in creating project
From:       "=?ISO-8859-1?Q?Juan_Jes=FAs_Ojeda_Croissier?=" <juanje.ojeda () gmail ! com>
Date:       2008-12-14 20:52:09
Message-ID: 135eeb1d0812141252g234390bct5f05078b7bd0b1e4 () mail ! gmail ! com
[Download RAW message or body]

Hi :-)

I'm not pretty sure about what your problem is, but I've found some
things which seems not to be right. I'll point them to you down here:

On Sat, Dec 13, 2008 at 5:33 AM, Manjunatha Hj <manjunatha.hj@tcs.com> wrote:
> Hi,
> I'm using Fedora 9 Linux distro..
> After installing MIC .I tried to build project but getting Following error
[...]
> [root@01HW106227 ~]# image-creator
> In on_ClearRootstraps_activate
> Deleting rootstraps...
> Deleting rootstrap directory:
> /usr/local/var/lib/moblin-image-creator/rootstraps
> No target image selected!
> Creating Project and Target
> Setting new status label: Creating the project chroot environment
> --------Platform rootstrap creation try: 1 ----------
> Execing command: /usr/sbin/debootstrap --arch lpia --include=apt
> --components=main,restricted,universe,multiverse hardy
> /home/manju/project/hello http://ports.ubuntu.com/ubuntu-ports/
> /usr/local/share/pdk/debootstrap-scripts/hardy
> Traceback (most recent call last):
[...]
> File "/usr/local/share/pdk/lib/Platform.py", line 178, in
> __aptCreateRootstrap
> result = pdk_utils.execCommand(cmd, output = output, callback = callback)
[...]
> OSError: [Errno 2] No such file or directory

Here seems MIC is trying to launch the command "debootstrap", but MIC
doesn't find it, so it fails trying to exec the command and creating
the project. Which actually might explain the follow errors.

> Installing the following fsets: ['asian-fonts',
> 'crownbeach-full-mobile-stack-with-proprietary', 'developer-tools']
> Traceback (most recent call last):
> File "/usr/local/share/pdk/lib/gui.py", line 1554, in
> on_Add_Project_Wizard_activate
> platform = self.current_project().platform
> AttributeError: 'NoneType' object has no attribute 'platform'

This line tries to create a object 'platform' from the current
project, but as we saw before, it couldn't be created. So anything MIC
try to do with project or platform will fail.

> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd

Hummmm... did you got internet connection at that time?

> Setting new status label: Creating the project chroot environment
> Creating rootstrap directory with yum...
> Exec command: yum -y --installroot=/usr/src/projects/myproject install yum
> yum-protectbase
> Loaded plugins: refresh-packagekit
> http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything..
> .
> [Errno 4] IOError:
> Trying other mirror.
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> fedora. Please verify its path and try again

It could be a repository repository or internet connection's fail...

> Traceback (most recent call last):
> File "/usr/local/share/pdk/lib/gui.py", line 374, in
> on_new_project_clicked

So you try to create a new project again (I asume), but a yum based one.

> proj = self.sdk.create_project(dialog.path, dialog.name, dialog.desc,
> self.sdk.platforms[platformName])
> File "/usr/local/share/pdk/lib/SDK.py", line 224, in create_project
> if platform.createChroot(install_path, use_rootstrap, callback =
> self.progress_callback) == False:
> File "/usr/local/share/pdk/lib/Platform.py", line 211, in yumCreateChroot
> self.__yumCreateRootstrap(chroot_dir, rootstrap_file, use_rootstrap,
> callback = callback)
> File "/usr/local/share/pdk/lib/Platform.py", line 238, in
> __yumCreateRootstrap
> raise RuntimeError(_("Failed to create Yum based rootstrap"))
> RuntimeError: Failed to create Yum based rootstrap
[...]

Here, in the last try fails the command yum. I'm not sure if it was
because of the internet connection or because you're on Fedora 9 and
yum try to download his stuff from Fedora 8's repos.

Anyways, in both cases fails trying to create the rootstrap. The first
trying because you don't have the command "debootstrap" (at least on
path MIC be able to find it) and in the second one because yum could
get the his stuff from a proper repository (maybe because of a
internet conection fails).

> please help me to come out of this bug to do next step......

You could check if you have installed "debootstrap" and try again the
apt based project. And also check the repos you have selected for your
distro (I saw something about packagekit, it could be messing up,
check if everything is ok) or at MIC.

I'd like to help more, but I don't run any fedora or yum box and I
can't testing much more things.

Good luck and give us more feedback to try to fix those issues.
Thanks for using MIC and give us info :-)
Greetings
-- 
Juan Jesús Ojeda Croissier

Emergya Consultoría / http://www.emergya.es
Avda. de la Innovación, 3 (Edif. Hércules), Mód 12-13
E41020 Sevilla
Tfno: +34 954 51 75 77 Fax: +34 954 51 64 73

_______________________________________________
Moblin dev Mailing List
dev@lists.moblin.org

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic