From: Alexey Petrakov <lex@asd.iao.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] python-module-cx-freeze Date: Mon, 7 Feb 2011 17:45:47 +0600 Message-ID: <201102071745.47750.lex@asd.iao.ru> (raw) И снова здравствуйте. В бранче p5 cx_Freeze попросту нерабочий. При попытке собрать что-угодно (даже на его собственных сэмплах) валится с руганью: $ python setup.py build running build running build_exe creating directory build/exe.linux-i686-2.5 coyping /usr/lib/python2.5/site-packages/cx_Freeze/bases/Console -> build/exe.linux-i686-2.5/test_matplotlib coyping /usr/lib/libpython2.5.so.1.0 -> build/exe.linux- i686-2.5/libpython2.5.so.1.0 Traceback (most recent call last): File "setup.py", line 26, in <module> executables = executables) File "/usr/lib/python2.5/site-packages/cx_Freeze/dist.py", line 284, in setup distutils.core.setup(**attrs) File "/usr/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/usr/lib/python2.5/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/usr/lib/python2.5/site-packages/cx_Freeze/dist.py", line 171, in run freezer.Freeze() File "/usr/lib/python2.5/site-packages/cx_Freeze/freezer.py", line 419, in Freeze self.compress, self.copyDependentFiles) File "/usr/lib/python2.5/site-packages/cx_Freeze/freezer.py", line 340, in _WriteModules initModule = finder.IncludeFile(initScript, "cx_Freeze__init__") File "/usr/lib/python2.5/site-packages/cx_Freeze/finder.py", line 388, in IncludeFile deferredImports) File "/usr/lib/python2.5/site-packages/cx_Freeze/finder.py", line 261, in _LoadModule module.code = compile(fp.read() + "\n", path, "exec") TypeError: compile() expected string without null bytes В интернетах эта проблема широко известна и никакого другого решения, кроме как обновить предложено не было. Очень прошу.
next reply other threads:[~2011-02-07 11:45 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-07 11:45 Alexey Petrakov [this message] 2011-02-07 11:54 ` REAL 2011-02-07 12:07 ` Alexey Petrakov 2011-02-08 6:23 ` REAL 2011-02-08 8:41 ` Alexey Petrakov 2011-02-08 9:00 ` REAL 2011-02-08 9:55 ` Alexey Petrakov 2011-02-08 10:37 ` REAL 2011-02-08 10:42 ` Alexey Petrakov 2011-02-12 11:32 ` Dmitry Chistikov 2011-02-12 13:45 ` Afanasov Dmitry 2011-02-12 13:52 ` Andrii Dobrovolskii 2011-02-12 14:14 ` REAL 2011-02-12 14:14 ` Andriy Dobrovol`s`kii 2011-02-12 14:36 ` [Comm] python-module-cx-freeze [JT] Dmitry Chistikov 2011-02-12 19:42 ` [Comm] python-module-cx-freeze Michael Shigorin 2011-02-12 19:37 ` Alexey Petrakov 2011-02-12 19:51 ` Afanasov Dmitry 2011-02-12 21:13 ` Michael Shigorin 2011-02-14 8:48 ` Alexey Petrakov
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=201102071745.47750.lex@asd.iao.ru \ --to=lex@asd.iao.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git