Gentoo Archives: gentoo-soc

From: Jauhien Piatlicki <jpiatlicki@×××××.com>
To: heroxbd@×××××.com
Cc: gentoo-soc@l.g.o
Subject: [gentoo-soc] Re: exception with gs-pypi
Date: Tue, 12 Nov 2013 23:13:10
Message-Id: 5282B613.3050700@gmail.com
In Reply to: [gentoo-soc] Re: exception with gs-pypi by Jauhien Piatlicki
1 So, I've fixed the issue with install for pypi
2 (https://github.com/jauhien/g-sorcery/issues/3).
3
4 Regards,
5 Jauhien
6
7 12.11.13 23:50, Jauhien Piatlicki написав(ла):
8 > Hi Benda,
9 >
10 > sorry for such a late response: I've been really busy.
11 >
12 > Have you synced overlay with
13 >
14 > gs-pypi -o /usr/local/portage/test -r pypi sync
15 >
16 > before trying to install anything?
17 >
18 > Also I do not understand why you've used your public overlay.
19 >
20 > Your problem seems to be due to lack of sync command before install.
21 > But anyway there is an issue with install for pypi when using it as
22 > user-generated overlay (not with layman) that I've discovered due to
23 > you. ;-)
24 >
25 > Here I repeat my original response to you as I've forgotten to send it
26 > to ml.
27 >
28 > ----------------------------------------------------------
29 > Yeah, it's something bad with install stuff, I'll fix it soon.
30 >
31 > Anyway I recommend to use g-sorcery with layman. If you want to generate
32 > an ebuild only for objgraph you should add
33 >
34 > [gs-pypi]
35 > pypi_packages = objgraph
36 >
37 >
38 > to /etc/g-sorcery/g-sorcery.cfg (it is described in documentation). And
39 > then execute
40 >
41 > # layman -a pypi
42 >
43 > After it you'll be able to
44 >
45 > # emerge -va objgraph
46 >
47 > This method has such a good corollary that an ebuild for objgraph will
48 > be updated automatically whenever you do eix-sync or layman -S.
49 >
50 > Thanks for feedback, I'll write you when I'll fix a problem with install
51 > and pypi.
52 > ----------------------------------------------------------
53 >
54 > Regards,
55 > Jauhien
56 >
57 > 03.10.13 07:41, heroxbd@×××××.com написав(ла):
58 >> Hi, Jauhien,
59 >>
60 >> When trying to use gs-pypi following
61 >>
62 >> http://git.overlays.gentoo.org/gitweb/?p=proj/g-sorcery.git;a=blob;f=README.md
63 >>
64 >> I get this,
65 >>
66 >> # gs-pypi -o heroxbd -r pypi install objgraph
67 >> * checking manifest
68 >> Traceback (most recent call last):
69 >> File "/usr/bin/g-sorcery-python2.7", line 18, in <module>
70 >> sys.exit(g_sorcery.main())
71 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/g_sorcery.py", line 64, in main
72 >> return backend.instance(sys.argv[2:], config, global_config)
73 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 641, in __call__
74 >> return args.func(args, config, global_config)
75 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 581, in install
76 >> self.generate(args, config, global_config)
77 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 221, in generate
78 >> pkg_db.read()
79 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/package_db.py", line 302, in read
80 >> sane, errors = self.check_manifest()
81 >> File "/usr/lib64/python2.7/site-packages/g_sorcery/package_db.py", line 206, in check_manifest
82 >> raise DBStructureError('Bad manifest: no ' + name + ' entry')
83 >> g_sorcery.exceptions.DBStructureError: Bad manifest: no categories.json entry
84 >>
85 >> What seems to be the problem? Hints?
86 >>
87 >> The heroxbd overlay can be obtained by "layman -a heroxbd".
88 >>
89 >> Yours,
90 >> Benda
91 >>
92 >
93 >

Attachments

File name MIME type
signature.asc application/pgp-signature