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

Attachments

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

Replies

Subject Author
[gentoo-soc] Re: exception with gs-pypi Jauhien Piatlicki <jpiatlicki@×××××.com>
[gentoo-soc] Re: exception with gs-pypi heroxbd@×××××.com