Debian Bug report logs -
#399276
SyntaxError installing after python transition
Reported by: Ana Guerrero <ana@ekaia.org>
Date: Sat, 18 Nov 2006 23:03:01 UTC
Severity: important
Tags: confirmed
Found in version boa-constructor/0.4.4cvs20050714-3
Fixed in version boa-constructor/0.6.1-2
Done: Luca Falavigna <dktrkranz@ubuntu.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, anja_isbilia@yahoo.es, Cédric Delfosse <cedric@debian.org>:
Bug#399276; Package boa-constructor.
(full text, mbox, link).
Acknowledgement sent to Ana Guerrero <ana@ekaia.org>:
New Bug report received and forwarded. Copy sent to anja_isbilia@yahoo.es, Cédric Delfosse <cedric@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: boa-constructor
Version: 0.4.4cvs20050714-3
Severity: important
Hi,
installing boa-constructor after being updated for the last Python Policy
i got the following errors:
Unpacking boa-constructor (from .../boa-constructor_0.4.4cvs20050714-3_all.deb) ...
Setting up boa-constructor (0.4.4cvs20050714-3) ...
File "/usr/share/boa-constructor/ZopeLib/zoa/filteredmetatypes.py", line 10
return context.aq_parent.filtered_meta_types()
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/docsrc.py", line 10
return context.aq_parent.document_src()
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/iconpath.py", line 10
return context.aq_parent.icon
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/find.py", line 22
return [(obj.meta_type, id) for id, obj in results]
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/metatypes.py", line 13
return obj.objectMap()
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/items.py", line 10
return [container.metatypes(), container.objectids()]
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/metatype.py", line 10
return context.aq_parent.meta_type
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/objectids.py", line 15
return l
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/ownerinfo.py", line 13
try: return obj.owner_info()
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/properties.py", line 11
return [obj.propertyItems(), obj.propertyMap()]
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/proxyroles.py", line 16
return res
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/subobj_.py", line 17
return subobj
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/undo.py", line 10
return str(context.aq_parent.undoable_transactions(start, end))
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/version.py", line 10
return context.zoa_version
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/DBAdapter.py", line 10
return {'title': context.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/ExternalMethod.py", line 12
return {'title': meth.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/DTMLMethod.py", line 12
return {'title': meth.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/PageTemplate.py", line 12
return {'title': pt.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/MailHost.py", line 11
return {'title': ctx.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/SQLMethod.py", line 10
return {'connection_id': context.connection_id,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/SiteErrorLog.py", line 12
return context.aq_parent.aq_parent.getProperties()
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/User.py", line 12
return {'id': user.getId(),
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/Formulator/GroupedFields.py", line 17
return result
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/Formulator/Field.py", line 27
return fields
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/Formulator/Form.py", line 12
return {'title': ctx.title,
SyntaxError: 'return' outside function
File "/usr/share/boa-constructor/ZopeLib/zoa/props/Formulator/move_field.py", line 14
return ctx.manage_move_field_up(group, REQ)
SyntaxError: 'return' outside function
-- System Information:
Versions of packages boa-constructor depends on:
ii pychecker 0.8.17-3 Finds common bugs in python source
ii python 2.4.4-1 An interactive high-level object-o
ii python-support 0.5.5 automated rebuilding support for p
ii python-wxgtk2.6 2.6.3.2.1.5 wxWidgets Cross-platform C++ GUI t
boa-constructor recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Cédric Delfosse <cedric@debian.org>:
Bug#399276; Package boa-constructor.
(full text, mbox, link).
Acknowledgement sent to "Emmet Hikory" <emmet.hikory@gmail.com>:
Extra info received and forwarded to list. Copy sent to Cédric Delfosse <cedric@debian.org>.
(full text, mbox, link).
Message #10 received at 399276@bugs.debian.org (full text, mbox, reply):
I was attempting a merge of this package for Ubuntu, and also
encountered this issue. Looking at the options available with
python-support, I could not find any resolution. It appears that
python-central includes py_compilefiles, which supports a -x option to
exclude directories from byte-compilation. This may allow the
restoration of the custom postinst and prerm scripts that protect the
ZopeLib directoies. Please let me know if a patch for such a change
would be welcome.
--
Emmet HIKORY
Tags added: confirmed
Request was from Cedric Delfosse <cedric@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Tags added: pending
Request was from Luca Falavigna <dktrkranz@ubuntu.com>
to control@bugs.debian.org.
(Sat, 06 Oct 2007 19:24:07 GMT) (full text, mbox, link).
Reply sent to Luca Falavigna <dktrkranz@ubuntu.com>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Ana Guerrero <ana@ekaia.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #19 received at 399276-close@bugs.debian.org (full text, mbox, reply):
Source: boa-constructor
Source-Version: 0.6.1-2
We believe that the bug you reported is fixed in the latest version of
boa-constructor, which is due to be installed in the Debian FTP archive:
boa-constructor_0.6.1-2.diff.gz
to pool/main/b/boa-constructor/boa-constructor_0.6.1-2.diff.gz
boa-constructor_0.6.1-2.dsc
to pool/main/b/boa-constructor/boa-constructor_0.6.1-2.dsc
boa-constructor_0.6.1-2_all.deb
to pool/main/b/boa-constructor/boa-constructor_0.6.1-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 399276@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luca Falavigna <dktrkranz@ubuntu.com> (supplier of updated boa-constructor package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 06 Oct 2007 03:11:38 +0200
Source: boa-constructor
Binary: boa-constructor
Architecture: source all
Version: 0.6.1-2
Distribution: unstable
Urgency: low
Maintainer: Luca Falavigna <dktrkranz@ubuntu.com>
Changed-By: Luca Falavigna <dktrkranz@ubuntu.com>
Description:
boa-constructor - RAD tool for Python and WxWindows application
Closes: 399276
Changes:
boa-constructor (0.6.1-2) unstable; urgency=low
.
* Move to python-central
* Do not byte-compile ZopeLib/zoa/* files (Closes: #399276)
- Use dh_pycentral -n in debian rules
- Install boa-constructor.postinst script
- Install boa-constructor.prerm script
* Do not call dh_desktop in debian/rules, no MIME types provided
* Remove boa-constructor.preinst, now useless
* Use Applications in menu file to fix menu-item-uses-apps-section
lintian warning
* Remove XS-Vcs-Bzr field in debian/control, not really useful for now
* Add watch file
Files:
b95e3468376d94d7ab33ae167323b821 687 devel optional boa-constructor_0.6.1-2.dsc
c42f540a4e86b180a671d87c4c402d68 8180 devel optional boa-constructor_0.6.1-2.diff.gz
04b3eecf249c3032799b887eb8cd7843 13011496 devel optional boa-constructor_0.6.1-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHDUGE7Ro5M7LPzdgRAl0oAJ9Y3GPViJKKnkm5bjtDDfKc+sD1hACg6UXx
E0M/0KWQTcuLXZPBhLKOFE4=
=vEJo
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 19 Nov 2007 07:34:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 11:27:35 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.