Re: ReportLab 3.0 alpha 1 available - Python 2.7 & 3.3 support

Michael Hipp <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 2/4/2014 4:11 PM, Andy Robinson wrote:

> At long last, our first pre-release version of ReportLab 3.0 is out.

I attempted to "freeze" my app using PyInstaller. The RL 2.7 version worked 
fine. But the RL 3.0 app is coming up with this traceback:

...
   File "packaging/build\reports2\out00-PYZ.pyz\reportlab.platypus.flowables", 
line 32, in <module>
   File 
"c:\dev\virtenvs\reports2\Lib\site-packages\PyInstaller\loader\pyi_importers.py", 
line 270, in load_module
     exec(bytecode, module.__dict__)
   File "packaging/build\reports2\out00-PYZ.pyz\reportlab.lib.styles", line 28, 
in <module>
   File 
"c:\dev\virtenvs\reports2\Lib\site-packages\PyInstaller\loader\pyi_importers.py", 
line 270, in load_module
     exec(bytecode, module.__dict__)
   File "packaging/build\reports2\out00-PYZ.pyz\reportlab.rl_config", line 14, 
in <module>
   File "packaging/build\reports2\out00-PYZ.pyz\reportlab.lib.utils", line 229, 
in rl_exec
   File "<string>", line 1, in <module>
   File "<string>", line 1, in <module>
ImportError: No module named rl_settings

This means PyInstaller did not find rl_settings and include it in the frozen 
files. But looking thru the ReportLab files, I don't find a module named 
rl_settings. Where should I tell PyInstaller to look?

Thanks,
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.