ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] non-standard encoding: utf8
@ 2007-12-20  8:10 Denis Klimov
  2007-12-20  8:14 ` Denis Klimov
  2007-12-20 20:13 ` Alexey Tourbin
  0 siblings, 2 replies; 3+ messages in thread
From: Denis Klimov @ 2007-12-20  8:10 UTC (permalink / raw)
  To: devel

Приветствую. такая проблема с пакетированием проекта Django. после того как в файл
models.py было добавлно определение кодировки, чтобы не было варнинга,
пакет перестал собираться, выходит следующее: 

find-requires: running scripts (files,lib,pam,perl,pkgconfig,pkgconfiglib,python,shebang,shell,static,symlinks)
/usr/lib/rpm/python.req.py: /usr/src/tmp/katrin-web-buildroot/var/www/html/addon-modules/katrin-web/manage.py: line=4 IGNORE module=settings
/usr/lib/rpm/python.req.py: /usr/src/tmp/katrin-web-buildroot/var/www/html/addon-modules/katrin-web/manage.py: line=6 IGNORE module=sys
python.req: /usr/src/tmp/katrin-web-buildroot/var/www/html/addon-modules/katrin-web/stats/models.py: non-standard encoding: utf8
python.req: ERROR: /usr/src/tmp/katrin-web-buildroot/var/www/html/addon-modules/katrin-web/stats/models.py:
Traceback (most recent call last):
  File "/usr/lib/rpm/python.req.py", line 195, in ?
    lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
MemoryError
error: /bin/sh failed
error: Failed to find Requires

в файл models.py была добавлена в начало строчка:
# vim: set fileencoding=utf8 :

было подсмотрено по ссылке http://www.python.org/dev/peps/pep-0263/
которая выдавалась при варнинге.


Кто нибудь может посоветовать как это можно пофиксить?

--
Климов Денис
zver@


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-20 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-20  8:10 [devel] non-standard encoding: utf8 Denis Klimov
2007-12-20  8:14 ` Denis Klimov
2007-12-20 20:13 ` Alexey Tourbin

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