Hi all, After I upgraded my Ubuntu version to 14.04, I can't generate a local image using mic tool. I downloaded group.xml and patterns.xml from below: http://download.tizen.org/snapshots/tizen/common/latest/repos/ia32-wayland/packages/repodata/
First of all, I downloaded all packages of ia3a-wayland using wget command: http://download.tizen.org/snapshots/tizen/common/latest/repos/ia32-wayland/packages/ And then, I generated local repos using createrepo/modifyrepo command. This is createrepo results: createrepo -g /newroot/opt/ia32-wayland-staging/repodata/group.xml --database --unique-md-filenames /newroot/opt/ia32-wayland-staging/ Spawning worker 0 with 485 pkgs Spawning worker 1 with 485 pkgs Spawning worker 2 with 485 pkgs Spawning worker 3 with 485 pkgs Spawning worker 4 with 485 pkgs Spawning worker 5 with 485 pkgs Spawning worker 6 with 485 pkgs Spawning worker 7 with 484 pkgs Worker 4: Worker 4: iso-8859-1 encoding on Unifdef is useful for removing ifdef'ed lines from a file while otherwise Worker 4: leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #en� Worker 4: dif lines, and it knows only enough about C to know when one of these is Worker 4: inactive because it is inside a comment, or a single or double quote. Worker 4: Worker 4: %track Worker 4: prog unifdef = { Worker 4: url = http://dotat.at/prog/unifdef/ Worker 4: version = 2.8 Worker 4: regex = unifdef-(__VER__)\.tar\.gz Worker 4: } Worker 4: Workers Finished Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete modifyrepo /newroot/opt/ia32-wayland-staging/repodata/patterns.xml /newroot/opt/ia32-wayland-staging/repodata/ Wrote: /newroot/opt/ia32-wayland-staging/repodata/patterns.xml.gz type = patterns location = repodata/a4f30f1681e29db7657f0f8f4f8f7d456fabc057c551c422311a98875f553851-patterns.xml.gz checksum = a4f30f1681e29db7657f0f8f4f8f7d456fabc057c551c422311a98875f553851 timestamp = 1412909833 open-checksum = c5f5bc08cccfdd7c4909e6234ec058c428b0abd4588e89ad6eb5bba68dc00169 size = 1941 open-size = 17271 Wrote: /newroot/opt/ia32-wayland-staging/repodata/repomd.xml I also downloaded a kickstarter file from below: http://download.tizen.org/snapshots/tizen/common/latest/images/ia32-wayland/common-wayland-mbr-i586/ I only modified the url:// to local file:///. When I made a snapshot image using mic tool, I met below errors: sudo mic cr auto tizen-common-i586.ks --tmpfs [sudo] password for cometzero: mic 0.24.2 (cometzero-exa2 Ubuntu 14.04 trusty) INFO: Retrieving repo metadata: Traceback (most recent call last): File "/usr/bin/mic", line 231, in <module> sys.exit(MIC.main()) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 257, in main return self.cmd(args) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd retval = self.onecmd(argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1084, in _dispatch_cmd return handler(argv) File "/usr/bin/mic", line 104, in do_create crobj.main(argv[1:]) File "/usr/lib/pymodules/python2.7/mic/creator.py", line 319, in main return self.cmd(args) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd retval = self.onecmd(argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1100, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/pymodules/python2.7/mic/creator.py", line 391, in do_auto self.main(argv) File "/usr/lib/pymodules/python2.7/mic/creator.py", line 319, in main return self.cmd(args) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd retval = self.onecmd(argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1100, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/mic/plugins/imager/raw_plugin.py", line 64, in do_create configmgr._ksconf = ksconf File "/usr/lib/pymodules/python2.7/mic/conf.py", line 135, in __set_ksconf self._parse_kickstart(ksconf) File "/usr/lib/pymodules/python2.7/mic/conf.py", line 240, in _parse_kickstart self.create['cachedir']) File "/usr/lib/pymodules/python2.7/mic/utils/misc.py", line 653, in get_metadata_from_repos checksums['comps'] = elm.find("%sopen-checksum" % ns).text AttributeError: 'NoneType' object has no attribute 'text' Is there any changes of createrepo/mic tools? Best Regards, Chanho Park _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
