Menu

#246 Unexpected Error Occurred

closed
None
1.0.2
2021-08-08
2021-08-07
No

Just installed wxGlade, and have Python 3.9 intalled, but when trying to open wxGlade, I get the following errors? My platform is Windows 10

C:\wxGlade-1.0.2>wxglade.py

C:\wxGlade-1.0.2>python wxglade.py
INFO : Starting wxGlade version "1.0.2" on Python 3.9.0
INFO : Using wxPython 4.1.1
INFO : Load code generators:
ERROR : "cpp_codegen.py" is not a valid code generator module
An unexpected error occurred!

Exception type: <class 'modulenotfounderror'="">
Exception details: No module named 'wcodegen'</class>

Application stack traceback:
File "C:\wxGlade-1.0.2\common.py", line 112, in load_code_writers
writer = import(name).writer
File "C:\wxGlade-1.0.2\codegen\cpp_codegen.py", line 13, in <module>
from codegen import BaseLangCodeWriter, BaseSourceFileContent, _replace_tag
File "C:\wxGlade-1.0.2\codegen__init__.py", line 12, in <module>
import wcodegen</module></module>

Related

Bugs: #246

Discussion

  • Dietmar Schwertberger

    • assigned_to: Carsten Grohmann --> Dietmar Schwertberger
     
    • Michael Hammersley

      I see a codegen/init.py in the wxGlade-1.0.2 folder

      Sent from my iPhone

      On Aug 7, 2021, at 12:40 PM, Dietmar Schwertberger dschwertberger@users.sourceforge.net wrote:

      
      assigned_to: Carsten Grohmann --> Dietmar Schwertberger
      Comment:
      This looks like an incomplete download or similar.
      Does wcodegen/init.py exist?

      [bugs:#246] Unexpected Error Occurred

      Status: open
      Created: Sat Aug 07, 2021 07:29 PM UTC by Michael Hammersley
      Last Updated: Sat Aug 07, 2021 07:29 PM UTC
      Owner: Dietmar Schwertberger

      Just installed wxGlade, and have Python 3.9 intalled, but when trying to open wxGlade, I get the following errors? My platform is Windows 10

      C:\wxGlade-1.0.2>wxglade.py

      C:\wxGlade-1.0.2>python wxglade.py
      INFO : Starting wxGlade version "1.0.2" on Python 3.9.0
      INFO : Using wxPython 4.1.1
      INFO : Load code generators:
      ERROR : "cpp_codegen.py" is not a valid code generator module
      An unexpected error occurred!

      Exception type: <class 'modulenotfounderror'="">
      Exception details: No module named 'wcodegen'</class>

      Application stack traceback:
      File "C:\wxGlade-1.0.2\common.py", line 112, in load_code_writers
      writer = import(name).writer
      File "C:\wxGlade-1.0.2\codegen\cpp_codegen.py", line 13, in <module>
      from codegen import BaseLangCodeWriter, BaseSourceFileContent, _replace_tag
      File "C:\wxGlade-1.0.2\codegen__init__.py", line 12, in <module>
      import wcodegen</module></module>

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/wxglade/bugs/246/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #246

  • Dietmar Schwertberger

    This looks like an incomplete download or similar.
    Does wcodegen/__init__.py exist?

     

    Last edit: Dietmar Schwertberger 2021-08-07
  • Michael Hammersley

    I see the following under the C:\wxGlade-1.0.2 folder as follows:
    C:\wxGlade-1.0.2\codegen__init__.py

    I don't see a wcodegen folder or the init.py file

     
  • Michael Hammersley

    I downloaded the 1.0.0 version, and it opens without any issues. I did see the C:\wxGlade-1.0.0\wcodegen you mentioned in the earlier thread

     
  • Dietmar Schwertberger

    Your 1.0.2 download is incomplete.

     
  • Michael Hammersley

    i copied the wcodegen and widgets folders over the 1.0.2 folder, and it opened with the same symbols as shown in the 1.0.0 GUI?

     
  • Dietmar Schwertberger

    • status: open --> closed
     

Log in to post a comment.