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

Python 2 getheaders is used instead of Python 3 get_all #132

Closed
digital-flowers opened this issue Apr 27, 2016 · 8 comments
Closed

Python 2 getheaders is used instead of Python 3 get_all #132

digital-flowers opened this issue Apr 27, 2016 · 8 comments

Comments

@digital-flowers
Copy link

hi currently i decided to move from nw-builder to this project because there is too much missing features in nw-builder i am using mac os cli version of your project the execution giving me Done with no issues but there is no output anywhere ! here is my command:

./web2exe-mac "../builds-cache" --main "../builds-cache/app/app.html" --nw-version 0.14.0 --output-dir "../builds" --export-to mac-x64

@jyapayne
Copy link
Collaborator

Looks like some error probably happened. The default behavior is to not show much output. If you add the flag "--verbose" what is the output?

@digital-flowers
Copy link
Author

i got this error "AttributeError: 'HTTPMessage' object has no attribute 'getheaders'"

@tinystarship
Copy link

does the GUI version work at all?

@jyapayne jyapayne changed the title No output ! Python 2 getheaders is used instead of Python 3 get_all Apr 28, 2016
@jyapayne
Copy link
Collaborator

@digital-flowers I've found the issue and it seems it's some Python 2 code that hadn't been swapped yet. Most people use the GUI version, so sometimes the cmd version gets neglected a bit :)

@jonmulcahy Yep!

@jyapayne
Copy link
Collaborator

@digital-flowers Please try the latest CMD download from the releases page to see if it works for you now.

@digital-flowers
Copy link
Author

thank you, but sorry i had no time so is write my own script to build nwjs anyway maybe i will try it in my next project i like the idea it is really great tool keep it up :)

@digital-flowers
Copy link
Author

another thing i also have noticed that you need to update all download links inside settings.cfg, the files names now in the form of http://dl.nwjs.io/v{version}/nwjs-v{version}-{platform}-{arch}.zip i noticed the links inside your tool still pointing to old links witch is deprecated and maybe removed soon

@jyapayne
Copy link
Collaborator

@digital-flowers No worries. And thank you for the information. My tool actually transforms to those links inside the Python code if the version is >= 0.13.0.

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

3 participants