05-07-2019, 17:39
Bonjour,
Je viens d'essayer une installation sous Windows et je suis face à une erreur lors de la génération des média.
Est-ce que ça parle à quelqu'un ? :p
Je viens d'essayer une installation sous Windows et je suis face à une erreur lors de la génération des média.
Code :
Generating l10n.js with variation {'language': 'en'}
Generating l10n.js with variation {'language': 'fr'}
Generating lib.js with variation {}
Traceback (most recent call last):
File "C:\wamp64\creme_crm-2.0\mediagenerator\filters\yuicompressor.py", line 26, in get_output
output, error = cmd.communicate(smart_str(input))
File "C:\python_3.7.3\lib\subprocess.py", line 939, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "C:\python_3.7.3\lib\subprocess.py", line 1261, in _communicate
self._stdin_write(input)
File "C:\python_3.7.3\lib\subprocess.py", line 873, in _stdin_write
self.stdin.write(input)
File "C:\python_3.7.3\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 1343144-1343149: character maps to <undefined>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\python_3.7.3\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line
utility.execute()
File "C:\python_3.7.3\lib\site-packages\django\core\management\__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\python_3.7.3\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\python_3.7.3\lib\site-packages\django\core\management\base.py", line 330, in execute
output = self.handle(*args, **options)
File "C:\wamp64\creme_crm-2.0\mediagenerator\management\commands\generatemedia.py", line 12, in handle
generate_media()
File "C:\wamp64\creme_crm-2.0\mediagenerator\api.py", line 31, in generate_media
for key, url, content in backend.get_output():
File "C:\wamp64\creme_crm-2.0\mediagenerator\generators\bundles\bundles.py", line 27, in get_output
name, content = self.generate_file(backend, bundle, {})
File "C:\wamp64\creme_crm-2.0\mediagenerator\generators\bundles\bundles.py", line 79, in generate_file
output = list(backend.get_output(variation))
File "C:\wamp64\creme_crm-2.0\mediagenerator\filters\yuicompressor.py", line 38, in get_output
"Error was: {}".format(e)
ValueError: Failed to execute Java VM or yuicompressor. Please make sure that you have installed Java and that it's in your PATH and that you've configured YUICOMPRESSOR_PATH in your settings correctly.
Error was: 'charmap' codec can't encode characters in position 1343144-1343149: character maps to <undefined>
Est-ce que ça parle à quelqu'un ? :p