Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in module NameError: name 'B' is not defined #43

Open
shishirong opened this issue Apr 26, 2022 · 4 comments
Open

in module NameError: name 'B' is not defined #43

shishirong opened this issue Apr 26, 2022 · 4 comments

Comments

@shishirong
Copy link

image

@hustlei
Copy link
Owner

hustlei commented Apr 30, 2022

try python ./app.pyc

or create a qssediter.py with following code, and run it

import app

app.main()

it works well on my computer, i han't found the reason.

@rhddlr
Copy link

rhddlr commented Feb 10, 2023

image

@shishirong
Copy link
Author

image

你这个看起来像是因为qsseditor.py文件windows风格换行\r\n的问题,你改成*nix风格的换行\n试试

@hirseboy
Copy link

I have the same error on linux with the magic numbers. How to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants