ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] python-module-cx-freeze
@ 2011-02-07 11:45 Alexey Petrakov
  2011-02-07 11:54 ` REAL
  0 siblings, 1 reply; 20+ messages in thread
From: Alexey Petrakov @ 2011-02-07 11:45 UTC (permalink / raw)
  To: ALT Linux Community general discussions

И снова здравствуйте.

В бранче 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

В интернетах эта проблема широко известна и никакого другого решения, кроме 
как обновить предложено не было.
Очень прошу.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-02-14  8:48 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07 11:45 [Comm] python-module-cx-freeze Alexey Petrakov
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

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