ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ildar Mulyukov <ildar@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>,
	sisyphus@lists.altlinux.org
Subject: [devel] 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

       reply	other threads:[~2011-06-24  7:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24  7:21 ` Ildar Mulyukov [this message]
2011-06-24  8:58   ` Dmitry V. Levin
2011-06-24  9:07     ` Yuri N. Sedunov
2011-06-24  9:17       ` Dmitry V. Levin
2011-06-24  9:45         ` Yuri N. Sedunov
2011-06-24 10:57           ` Dmitry V. Levin
2011-06-24 11:07             ` Yuri N. Sedunov
2011-06-24 11:21               ` Dmitry V. Levin
2011-08-10 23:52                 ` Yuri N. Sedunov
2011-08-11  5:51                   ` Dmitry V. Levin
2011-06-24  9:17       ` Sergei Epiphanov

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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git