reportlab - Bad Marshall data when Installing private python lib in zc.buildout -


I am getting poor martial data errors when installing dependencies for one of my projects. If we install standard virtuales by using So, it works fine without errors.

Here is a part of my zc.buildout (error is currently due to that part):

  [buildout] version = version extension = mr .developer unzip = true include-site-packages = false # FIXME # Trying to install via buildout from here raises a bad martial data error # I should keep in mind that these errors are _not_ when we get a # clean Install in the virtual environment. It is only in the buildout # Find-links = https: //   

traceback:

  distribution for 'rlextra == 3.1.9' To receive . Zip_safe flag not set; Analyze the contents of the archive ... rlextra.thirdparty.xlrd.xlsx: module reference __file__ rlextra.utils.buildutils: module reference __file__ traceback (most recent call final): file "& lt; string & gt;", line 1 , & Lt; Module & gt; Main file "build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py", in line 1954, "build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py", line 1973 , With_ei_usage file "build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py", in line 1977, & lt; Lambda & gt; File "/usr/lib/python2.7/distutils/core.py", line 151, in the dist.run_commands () file "/usr/lib/python2.7/distutils/dist.py", in line 953, in Setup Run_commands self.run_command (cmd) file "/usr/lib/python2.7/distutils/dist.py", line 972, run_command cmd_obj.run () in the file "build / bdist.linux-x86_64 / egg / setuptools / command /easy_install.py ", line 360," build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py "in line, file run, line 584, in easy_install file" build / bdist.linux-x86_64 / egg / setuptools " /command/easy_install.py ", line 634, install_item file" build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py ", line 829, in the install_eggs file" build / bdist.linux-x86_64 / egg / Setuptools / command / easy_in "Build / bdist.linux-x86_64 / egg / setuptools" in the Run_setup file, in line 1095, in the line1109, build_and_install file "build / bdist.linux-x86_64 / egg / setuptools / command / easy_install.py" Sandbox.py ", line 33, run_setup file" build / bdist.linux-x86_64 / egg / setuptools / sandbox.py ", line 81, file" build / BDIT in run. Linux-x86_64 / egg / set aptalls / sandbox use ", line 35, in the  file" setup.py ", line 78," module ", file" setup.py ", line 73 In the main file "/usr/lib/python2.7/distutils/core.py", line 151, the dist.run_commands () file "/usr/lib/python2.7" /distutils/dist.py "in setup, In line 953, run_commands self.run_command (cmd) file "/usr/lib/python2.7/distutils/dist.py", line 972, run_command cmd_obj.run () file "build /bdist.linux-x86_64/egg /setuptools/command/bdist_egg.py ", line 227, run file" build / bdist.linux-x86_64 / egg / setuptools / command / bdist_egg.py ", line 266," B "in zip_safe file Uild / bdist.linux-x86_64 / egg / setuptools / command / bdist_egg.py ", line 402, in the analysis_ egg file" build / bdist.linux-x86_64 / egg / setuptools / command / bdist_egg.py ", line 433, in Scan_module Value error: An error occurred while trying to install bad martial data (unknown type code) rlextra 3.1.9. For any errors outputed by Easy_install, see above this message   

Does anyone know what this problem might be, and how it can be resolved. We are currently managing this manually by downloading and including the package (as you can see in the Buildout Config), which is not ideal.

I think it may be related to the ways in which we used to obscure those files Ownership was supposed to be 3 months ago, the modules we wanted to hide were transmitted as raw PVC files with a suffix of their python version such as rml2pdf_27,2c, rml2pdf_33.pyc, etc.

Now that we have included a single python file as embedded compiled code as data, it should no longer be visible to the packagers. This change was made after 3.1.9.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -