To pick up on my own note:

Turns out I had an unneeded dependency on numpy and scipy. I wanted to
remove that anyway, 'cause those are huge, and when I did, this
recursion issue went away.

But I do sometimes need scipy -- so it would good it could work.

I suspect that PyInstaller could be a little smarter about not getting
caught in deep recursions ...

-CHB











On Tue, Jan 28, 2020 at 9:05 AM Chris Barker <[email protected]> wrote:

> When running pyinstaller, it churns away for a long time, and results in
> an recursion limit exceeded error.
>
> I even cranked up the recursion limit in the spec file (as suggested
> elsewhere in this list) and it took longer, but same error.
>
> I am highly suspicious that this is an infinite recursion.
>
> I've boiled it down to one module -- if I don't import that, it all works
> fine (except for not getting that critical functionality :-( ).
>
> But I can't see anything wrong with that module -- no circular imports,
> for instance.
>
> How can I debug this? I'd like to see where it's getting caught in that
> deep if not infinite recursion.
>
> Alternatively, can I tell pyinstaller to include a module but not scan it
> for imports?
>
> Thanks,
>
> -CHB
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> [email protected]
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/CALGmxEK6xq_4JHT2eYQNK9%2BeB6PC%2B1Zk5KaOFHbsDfVhNGv5Ew%40mail.gmail.com.

Reply via email to