On 11/04/2021 23:16, kuba....@gmail.com wrote:
> Hi,
> 
> I'm having some problems using the debugger in the beangulp project.
> 
> I'm using PyCharm 2021.1.
> Python 3.9.2 (default, Feb 20 2021, 00:00:00) 
> [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux
> 
> When I run pytest normally everything runs fine, but if I try and use
> the debugger, the application bombs out with 
> AttributeError: partially initialized module 'csv' has no attribute
> 'Dialect' (most likely due to a circular import)
> 
> My guess is that since the csv_importer was renamed to csv, the loader
> is getting confused with the importer module name and the csv python
> module. Given this only happens with the debugger, there must be some
> race condition. 
> 
> When I have renamed the csv importer module name to something else, my
> problem is resolved.
> 
> Any thoughts?

Can you reproduce the problem with anything else than PyCharm?

Cheers,
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/ec898210-60b8-45de-eb45-be026b02c06f%40grinta.net.

Reply via email to