ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Eugene Vlasov <eugvv@altlinux.org>
Subject: Re: [devel] crossfire-maps-bigworld-1.10.0-alt1: i586 rebuild failed
Date: Tue, 20 Nov 2007 19:03:52 +0300
Message-ID: <20071120160352.GO23589@solemn.turbinal> (raw)
In-Reply-To: <20071119195645.2F59028232@hint1.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]

On Mon, Nov 19, 2007 at 10:56:45PM +0300, QA Team Robot wrote:
> Package: crossfire-maps-bigworld-1.10.0-alt1
> Packager: Eugene Vlasov <eugvv@altlinux>
> Status: i586 rebuild failed.

> python.req: ERROR: /usr/src/tmp/crossfire-maps-bigworld-buildroot/usr/share/games/crossfire/maps-bigworld/python/items/weapon_occidental_mages.py: invalid syntax (line 25)
> Traceback (most recent call last):
>   File "/usr/lib/rpm/python.req.py", line 173, in ?
>     lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1)
>   File "<string>", line 25
>     me.AttackType=Crossfire.AttackTypeCold() + Crossfire.AttackTypePhysical())
>                                                                              ^
> SyntaxError: invalid syntax

Тут отловилась реальная ошибка в питоновском коде.

/usr/share/games/crossfire/maps-bigworld/python/items/weapon_occidental_mages.py:
    23  elif (r <= 0.04):
    24      ac.Write("Your weapon suddenly seems colder !")
    25      me.AttackType=Crossfire.AttackTypeCold() + Crossfire.AttackTypePhysical())
    26      me.Identified=0
    27      me.BeenApplied=0
    28  elif (r <= 0.05):
    29      ac.Write("Your weapon suddenly seems warmer !")
    30      me.AttackType=Crossfire.AttackTypeFire() + Crossfire.AttackTypePhysical())
    31      me.Identified=0
    32      me.BeenApplied=0
    33  elif (r <= 0.06):
    34      ac.Write("Your weapon suddenly emits sparks !")
    35      me.AttackType=Crossfire.AttackTypeElectricity() + Crossfire.AttackTypePhysical())
    36      me.Identified=0
    37      me.BeenApplied=0

В трёх строчках несбалансированы скобки (последняя закрывающая лишняя).
Желательно об этом известить апстрим.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

           reply	other threads:[~2007-11-20 16:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20071119195645.2F59028232@hint1.office.altlinux.org>]

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=20071120160352.GO23589@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=eugvv@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