Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.5.12 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




[obsolète] Installation de Crème CRM 2.0
#9
Bonjour,

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
  Répondre


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)