Hi,

this sounds like a git installation problem.

What you should do is following:
1. Remove the mic2 package: dpkg -r mic2 or rpm -e mic2

2. Remove old mic files from system with:
$ rm -rf /usr/bin/mic* /usr/lib/python2.6/site-packages/mic*
NOTE: you might have different python version.

3. Get latest git version

4. Run make clean

5. Run make and sudo make install

Regards,
Marko

On 04/28/2011 03:47 PM, [email protected] wrote:
Hi All,

Trying to create armv7l , ubi image from .ks file and i am getting the
following error.

Any idea how to resolve this?

arun@arun-laptop:~/work/image$ sudo mic-image-creator
--config=meego-handset-armv7l-n900-1.1.99.3.20110419.9.ks --format=ubi
--cache=mycache --arch=armv7l
MIC2 version: 0.24.8
[main]
use_comps=0
default_ks=default.ks
cachedir=/var/tmp/cache
distro_name=MeeGo
image_format=livecd
outdir=.
tmpdir=/var/tmp
run_mode=1



Local linux distribution:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

Ubuntu 10.10 \n \l


Local Kernel version: 2.6.35-28-generic
Run mode: bootstrap
Using /var/tmp as tmpdir.
Using /home/arun/work/image/mycache as cache directory.
Using /home/arun/work/image as output directory.
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//repodata/repomd.xml
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//repodata/41e97b4cf299f79780bca98ab80264073df41d612751383a5319493842f57043-primary.sqlite.bz2
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//repodata/9be1561850b11d52620c0f1a29c70ddcc50cb6dc94946657c897aaf694ce62ac-patterns.xml.gz
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//repodata/767d3c9d094671a7cdc324d35635dcb0a97a8de18d4e1b791f2e28a70fc72dec-group.xml.gz
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//repodata/repomd.xml.key
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/non-oss/armv7l/packages//repodata/repomd.xml
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/non-oss/armv7l/packages//repodata/301d35e0d4293c61898e05235840d5965a36dc83deaab826c8c1baa6406170fb-primary.sqlite.bz2
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/non-oss/armv7l/packages//repodata/repomd.xml.key
...OK
Retrieving
http://download.meego.com/snapshots/1.1.99.3.20110419.9/repos/oss/armv7l/packages//noarch/meego-release-1.1.99-1.1.noarch.rpm
...OK
Available target architectures in repositories: [u'armv7l']

MeeGo release 1.1.99

Traceback (most recent call last):
File "/usr/bin/mic-image-creator", line 1003, in <module>
ret = main()
File "/usr/bin/mic-image-creator", line 702, in main
imgcreate.kickstart.support_patterns(ks, repometadata, options.use_comps)
AttributeError: 'module' object has no attribute 'support_patterns'


Regards
Arun



_______________________________________________
MeeGo-handset mailing list
[email protected]
http://lists.meego.com/listinfo/meego-handset

_______________________________________________
MeeGo-handset mailing list
[email protected]
http://lists.meego.com/listinfo/meego-handset

Reply via email to