From: Ildar Mulyukov <ildar@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>,
sisyphus@lists.altlinux.org
Subject: [sisyphus] calibre / python-module-json / python API
Date: Fri, 24 Jun 2011 13:21:17 +0600
Message-ID: <1308900077.9595.4@ildar.innovations.kz> (raw)
In-Reply-To: <1308826290.10108.3@ildar.innovations.kz>
КРОССПОСТ!
On 23.06.2011 16:51:30, Ildar Mulyukov wrote:
> Добрый день всем, кто не разъехался по отпускам!
>
> У меня вопросов 2:
> 1. только у меня перестал calibre запускаться?
> ...
> File "/usr/lib64/calibre/calibre/ebooks/metadata/opf2.py",
> line 535, in OPF
> formatter=json.loads,
> AttributeError: 'module' object has no attribute 'loads'
Причина найдена: это пакет python-module-json, который удовлетворяет
зависимости python2.6(json), но не предоставляет нужный API.
Убив его, и поставив вместо него python-modules-json , получил
работающий calibre.
Внимание, вопрос: Как и кто должен регулировать эту ситуацию? Оба
пакета предоставляют python2.6(json) , но они неодинаковы по API!
--
Ildar
prev parent reply other threads:[~2011-06-24 7:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-23 10:51 [sisyphus] calibre / python2.7 Ildar Mulyukov
2011-06-23 11:37 ` Terechkov Evgenii
2011-06-24 6:08 ` Ildar Mulyukov
2011-06-24 6:34 ` Sergei Epiphanov
2011-06-24 7:21 ` Ildar Mulyukov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308900077.9595.4@ildar.innovations.kz \
--to=ildar@altlinux.ru \
--cc=devel@lists.altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git