Comments (6)
Thanks for reporting. This should be fixed in 0.8.2. Let me know if you encounter any other issues with Windows - I've not had the opportunity to test instawow on platforms other than Mac.
from instawow.
Now it installs successfully, but I'm getting the following when I try to use instawow install
:
$ instawow install curse:20338
Resolving add-ons
Updating Curse cache
Installing
Traceback (most recent call last):
File "c:\program files\python36\lib\site-packages\instawow\cli.py", line 149, in install
raise result
instawow.manager.PkgInstalled
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Python36\Scripts\instawow-script.py", line 11, in <module>
load_entry_point('instawow==0.8.2', 'console_scripts', 'instawow')()
File "c:\program files\python36\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "c:\program files\python36\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\program files\python36\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files\python36\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files\python36\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\program files\python36\lib\site-packages\click\decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "c:\program files\python36\lib\site-packages\instawow\cli.py", line 151, in install
click.echo(MESSAGES[result.__class__](addon, result))
File "c:\program files\python36\lib\site-packages\click\utils.py", line 259, in echo
file.write(message)
File "c:\program files\python36\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2713' in position 0: character maps to <undefined>
and a similar error when I try to use instawow list preexisting
:
$ instawow list preexisting
Traceback (most recent call last):
File "C:\Program Files\Python36\Scripts\instawow-script.py", line 11, in <module>
load_entry_point('instawow==0.8.2', 'console_scripts', 'instawow')()
...
File "c:\program files\python36\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 416: character maps to <undefined>
If you prefer to see the full traceback for the latter, let me know.
from instawow.
err, this looks like it might have something to do with the way click handles Unicode in the Windows terminal. I don't know how comfortable you are with Python, but would you like to try replacing all click.echo
s in instawow's cli.py
with print
s?
from instawow.
I've made the change in a separate branch. If you'd like to try it out issue:
pip3 install -U git+https://github.com/layday/instawow@print-test
from instawow.
Yeah, that was it, works perfectly with print
. Thanks!
from instawow.
Cheers. Don't forget to revert to mainline (pip3 install -U instawow
) to continue receiving updates.
from instawow.
Related Issues (20)
- Folder browse just shows Desktop HOT 4
- Internal JSON-RPC Error in new ARM macs HOT 2
- CLI 2.1.0 Windows binary fails to start HOT 1
- ms-win-core-path missing from 2.1.1 HOT 1
- Windows 2.2.0 install fails (Windows 10 Pro) HOT 21
- CLI Search Fails Silently on Enter HOT 3
- Unable to update ElvUI (maybe all tukui stuff?) HOT 2
- AIOHTTP: Event loop closed HOT 5
- `db.sqlite` path is not compliant with the XDG base directory specification HOT 3
- Request to adopt AUR package HOT 3
- Feature request: basic download and extract HOT 3
- AppImage hangs on close HOT 9
- Can users add custom addon sources? HOT 7
- Add support for other archive formats HOT 5
- No Files Found for Githb Hosted Addon HOT 5
- appimage not uptodate HOT 4
- cant find addons on windows HOT 5
- blank program HOT 6
- CurseForge addons not installing HOT 1
- Update addonโs target and priority order HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instawow.