Skip to contentSkip to conversation

New: external python modules fail to compile to pyc if \\N escapes are used

Buildroot bugzilla at busybox.net 1 participant 3 messages Oct 11, 2013 – Feb 20, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=6542

Summary: external python modules fail to compile to pyc if \\N
escapes are used
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: gvormayr at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 5066
--> https://bugs.busybox.net/attachment.cgi?id=5066
Change always disabled unicodedata to conditionally disabled for python-host

The Host python used to bytecompile modules is always compiled with disable-unicodedata regardless of the BR2_PACKAGE_PYTHON_UNICODEDATA setting. If a python-module is compiled to a pyc-file and the py file contains \N{name} escapes this compilation will fail with:
"\\N escapes not supported (can't load unicodedata module)"
Which further leads to missing files if pycs are used in the target-image.

Attached changes always disabled to conditionally disabled depending on BR2_PACKAGE_PYTHON_UNICODEDATA.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 6542] external python modules fail to compile to pyc if \\N escapes are used

https://bugs.busybox.net/show_bug.cgi?id=6542

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-02-07 10:18:26 UTC --- Patch updated with python3 changes, and sent to the list, awaiting integration.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 6542] external python modules fail to compile to pyc if \\N escapes are used

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6542

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Thomas De Schampheleire <[email protected]> 2014-02-20 08:19:30 UTC --- Problem fixed with commit
http://git.buildroot.org/buildroot/commit/?id=c3d539b53ff0533e91ae849dbdcdd589b0fec0cc

Thanks for reporting!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.