-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix >> decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 445: character maps to #79
Comments
im getting the same error , but i tried diffrent version of Latest.csv |
im using conda env / python 3.6 / az 1.3.1 |
i tried also this |
found a fix to my problem class Source(Entity):
}}} |
then rebuild az and pip install it |
env> windows 11/ conda / python 3.6 / az 1.3.1 /
used > az -n 10 -d 2015-12-11: -s :3000000 -m play.google.com,appchina
& az -n 1 -d 2020-01-01: -s :5000000 -t 6 -m play.google.com,appchina,PlayDrone
with latest.csv got this error >>
Traceback (most recent call last):
File "C:\Users\anaconda3\envs\az1\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\anaconda3\envs\az1\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\anaconda3\envs\az1\Scripts\az.exe_main.py", line 7, in
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\main.py", line 52, in run
az.run(input_file, key, number, criteria, out_dir=out if out else os.getcwd(), metadata=metadata, seed=seed, threads=threads)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\az.py", line 18, in run
random_subset = RandomPicker(seed=seed).get_random_subset(dataset, number)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\services\random_picker.py", line 18, in get_random_subset
for num, apk in enumerate(input_dataset, 1):
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\entities\dataset\filtered_dataset.py", line 27, in next
apk = next(self.source)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\entities\source.py", line 20, in next
line = next(self.reader)
File "C:\Users\anaconda3\envs\az1\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 0x9d in position 445: character maps to
used > az -n 10 -d 2015-12-11: -s :3000000 -m play.google.com,appchina
& az -n 1 -d 2020-01-01: -s :5000000 -t 6 -m play.google.com,appchina,PlayDrone
with latest_with-added-date.csv got this error >>
Traceback (most recent call last):
File "C:\Users\anaconda3\envs\az1\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\anaconda3\envs\az1\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\anaconda3\envs\az1\Scripts\az.exe_main.py", line 7, in
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\main.py", line 52, in run
az.run(input_file, key, number, criteria, out_dir=out if out else os.getcwd(), metadata=metadata, seed=seed, threads=threads)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\az.py", line 18, in run
random_subset = RandomPicker(seed=seed).get_random_subset(dataset, number)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\services\random_picker.py", line 18, in get_random_subset
for num, apk in enumerate(input_dataset, 1):
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\entities\dataset\filtered_dataset.py", line 23, in next
apk = next(self.source)
File "C:\Users\anaconda3\envs\az1\lib\site-packages\modules\entities\source.py", line 24, in next
return Apk(*line)
TypeError: init() takes from 1 to 12 positional arguments but 13 were given
thanks in advance
The text was updated successfully, but these errors were encountered: