Hi Wing,
On Sat, 2008-09-13 at 13:27 +0800, [EMAIL PROTECTED] wrote:
> Hi Paul,
> I tested on Ubuntu 7.10 and 8.04 but get same error
> On Ubuntu 8.04, I got the follow console message for the image-creator
> It seem like the problems caused by the Python, as you said,
> I found that the "cElementTree" is already installed, but don't know why it
> still complain (No module named cElementTree) !
> Any suggestions ? Is that I should try to update more packages ? Or wich
> Platform do you suggest I should use ?
I use Ubuntu 8.04 - it seems to be a problem with changes between python
2.4 and 2.5. I *think* that in 2.4 elementtree is an external module
whereas in 2.5 it's built in. The fix I've been using is to make sure
that python 2.4 is installed and then change the first line
of /usr/bin/yum to
#!/usr/bin/env python2.4
(Yum seems to assume elementtree is an external module but just calls
system python which if you have 2.5 installed will be 2.5). I guess
another alternative would be to uninstall python 2.5, but I haven't
tried it as I need it around for some other stuff. Let me know if this
doesn't work.
Regards, Paul
> Thanks for your informations anyway.
>
>
>
> <<<<<Error message for the Image-creator >>>>>
>
> Setting new status label: Creating the project chroot environment
> Creating rootstrap directory with yum...
> Exec command: yum -y --installroot=/home/wing/work_nb install yum
> yum-protectbase
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
> No module named cElementTree
>
> Please install a package which provides this module, or
> verify that the module is installed correctly.
>
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
>
> If you cannot solve this problem yourself, please send this
> message to <[EMAIL PROTECTED]>.
>
> Traceback (most recent call last):
> File "/usr/local/share/pdk/lib/gui.py", line 369, in on_new_project_clicked
> 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 206, in yumCreateChroot
> self.__yumCreateRootstrap(chroot_dir, rootstrap_file, use_rootstrap,
> callback = callback)
> File "/usr/local/share/pdk/lib/Platform.py", line 233, in
> __yumCreateRootstrap
> raise RuntimeError(_("Failed to create Yum based rootstrap"))
> RuntimeError: Failed to create Yum based rootstrap
>
>
>
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Paul Cooper [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 6:24 PM
> To: Hui. Wing (TPE)
> Cc: [email protected]
> Subject: Re: [Moblin Dev] Image-creator fail to create Netbook project.
>
> Hi Wing,
>
> On Fri, 2008-09-12 at 10:15 +0800, [EMAIL PROTECTED] wrote:
> > When I try to use the latest image-creator (today version) to get the
> > netbook image (beta).
> > it will show an error "<built-in function exc_info>"
>
> What host system are you running on? Typically the error is caused by a
> python2.4/2.5 problem - which version do you have installed.
>
> Regards, Paul
>
> > Thanks
> > Wing
> >
> >
> > ======================================================================
> > ======================================================================
> > ==================== This message may contain information which is
> > private, privileged or confidential of Compal Electronics, Inc. If you are
> not the intended recipient of this message, please notify the sender and
> destroy/delete the message. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon this information, by
> persons or entities other than the intended recipient is prohibited.
> > ======================================================================
> > ======================================================================
> > ====================
> >
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > https://www.moblin.org/mailman/listinfo/dev
> --
> Intel Open Source Technology Centre
> http://oss.intel.com/
>
--
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev