That's a good point. My thoughts:

1. The cycle of modify .spec / freeze / run / identify missing modules in
.spec file can become tedious and, particularly for a new user,
discouraging. This would Just Make It Work and provide helpful feedback on
how to do so programmatically.

2. The ImportError message may not be particularly revealing. From a recent
post:

Traceback (most recent call last):
  File "<string>", line 21, in <module>
  File "<string>", line 17, in test
  File "C:\Python27\Lib\site-packages\obspy\core\stream.py", line 2105, in
detre
nd
    tr.detrend(type=type)
  File "C:\Python27\Lib\site-packages\obspy\core\trace.py", line 1619, in
detren
d
    func = _getFunctionFromEntryPoint('detrend', type)
  File "C:\Python27\Lib\site-packages\obspy\core\util\base.py", line 343,
in _ge
tFunctionFromEntryPoint
    raise ImportError(msg % (group.capitalize()))
ImportError: Your current ObsPy installation does not support any Detrend
functi
ons. Please make sure SciPy is installed properly.

It's not clear to me exactly which module is missing -- it would take some
digging through ObsPy source to figure it out.

Bryan


On Wed, Feb 20, 2013 at 2:04 PM, Hartmut Goebel
<[email protected]>wrote:

>  Am 20.02.2013 20:54, schrieb Bryan A. Jones:
>
> I wonder if the PyInstaller loader could be modified to add a "development
> mode" so that imports which fail will then be pulled from the local Python
> installation and a note / entry made to a log file specifying which imports
> PyInstaller didn't find.
>
>
> At first I tought, this is a great idea. But then:
>
> What is the difference of getting an ImportError raised?
>
> --
>  Schönen Gruß
> Hartmut Goebel
>  Dipl.-Informatiker (univ), CISSP, CSSLP
>
> Goebel Consult
> http://www.goebel-consult.de
>
> Monatliche Kolumne:
> http://www.cissp-gefluester.de/2012-04-compliance-bringt-keine-sicherheit
> Blog: http://www.goebel-consult.de/blog/20050707
>
> Goebel Consult ist Mitglied bei http://www.7-it.de/
>



-- 
Bryan A. Jones, Ph.D.
Associate Professor
Department of Electrical and Computer Engineering
231 Simrall / PO Box 9571
Mississippi State University
Mississippi state, MS 39762
http://www.ece.msstate.edu/~bjones
bjones AT ece DOT msstate DOT edu
voice 662-325-3149
fax 662-325-2298

Our Master, Jesus Christ, is on his way. He'll show up right on
time, his arrival guaranteed by the Blessed and Undisputed Ruler,
High King, High God.
- 1 Tim. 6:14b-15 (The Message)

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to