* Re: [devel] crossfire-maps-bigworld-1.10.0-alt1: i586 rebuild failed
@ 2007-11-20 16:03 ` Alexey Tourbin
0 siblings, 0 replies; only message in thread
From: Alexey Tourbin @ 2007-11-20 16:03 UTC (permalink / raw)
To: devel; +Cc: Eugene Vlasov
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-20 16:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 16:03 ` [devel] crossfire-maps-bigworld-1.10.0-alt1: i586 rebuild failed 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