ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] python.req error
Date: Sat, 21 Oct 2017 13:12:22 +0700
Message-ID: <558aa688-03e6-d324-f9d5-2118827f08ce@ya.ru> (raw)

Подскажите, пожалуйста, что не понравилось в синтаксисе python.req:

python.req: ERROR: 
/usr/src/tmp/Uranium-buildroot/usr/lib/uranium/plugins/LocalFileOutputDevice/LocalFileOutputDevice.py: 
invalid syntax (line 159)
Traceback (most recent call last):
   File "/usr/lib/rpm/python.req.py", line 230, in <module>
     lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
   File "<string>", line 159
     raise 
OutputDeviceError.PermissionDeniedError(catalog.i18nc("@info:status 
Don't translate the XML tags <filename>!", "Permission denied when 
trying to save <filename>{0}</filename>").format(file_name)) from e
^
SyntaxError: invalid syntax


В терминале ^ указывает на from

Вот ссылка на эту строчку: 
https://github.com/Ultimaker/Uranium/blob/a228929a312a01f21b6024030c159714ca639f4e/plugins/LocalFileOutputDevice/LocalFileOutputDevice.py#L159

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



             reply	other threads:[~2017-10-21  6:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-21  6:12 Антон Мидюков [this message]
2017-10-21  6:32 ` Vitaly Kuznetsov
2017-10-21  8:00   ` Антон Мидюков
2017-10-22  3:46     ` Антон Мидюков

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=558aa688-03e6-d324-f9d5-2118827f08ce@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=devel@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