You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Successfully creating a new charm dir for operator framework
What I got
/var/lib/snapd/snap/charm/502/bin/wrappers/charm: line 8: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
INFO: Generating charm for test1 in ./test1
INFO: No test1 in apt cache; creating an empty charm instead.
User-friendly name for this charm: test1
Developer contact email: [email protected]
Developer name: tlm
URL where bugs can be filed for this Charm: github.com
Cloning into '/tmp/tmpmzvy_wcg'...
warning: templates not found /snap/charm/502/share/git-core/templates
remote: Enumerating objects: 104, done.
remote: Counting objects: 100% (104/104), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 104 (delta 35), reused 98 (delta 30), pack-reused 0
Receiving objects: 100% (104/104), 14.95 KiB | 14.95 MiB/s, done.
Resolving deltas: 100% (35/35), done.
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
Traceback (most recent call last):
File "/snap/charm/502/bin/charm-create", line 33, in <module>
sys.exit(load_entry_point('charm-tools==2.7.7', 'console_scripts', 'charm-create')())
File "/snap/charm/502/lib/python3.6/site-packages/charmtools/create.py", line 98, in main
generator.create_charm()
File "/snap/charm/502/lib/python3.6/site-packages/charmtools/generators/generator.py", line 82, in create_charm
self.plugin.create_charm(user_config, tempdir)
File "/snap/charm/502/lib/python3.6/site-packages/charmtools/templates/operator_python/template.py", line 74, in create_charm
self._template_file(config, path.join(root, outfile))
File "/snap/charm/502/lib/python3.6/site-packages/charmtools/templates/operator_python/template.py", line 90, in _template_file
template = Template(file=outfile, searchList=(config))
File "/snap/charm/502/lib/python3.6/site-packages/Cheetah/Template.py", line 1281, in __init__
self._compile(source, file, compilerSettings=compilerSettings)
File "/snap/charm/502/lib/python3.6/site-packages/Cheetah/Template.py", line 1573, in _compile
keepRefToGeneratedCode=True)
File "/snap/charm/502/lib/python3.6/site-packages/Cheetah/Template.py", line 752, in compile
settings=(compilerSettings or {}))
File "/snap/charm/502/lib/python3.6/site-packages/Cheetah/Compiler.py", line 1551, in __init__
source = f.read()
File "/snap/charm/502/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 79: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Checklist
What version am I running?
I ran the following command:
snap info charm
and got the following ouput:I am using: Arch Linux
Issue/Feature
I expect/expected the following
Successfully creating a new charm dir for operator framework
What I got
The text was updated successfully, but these errors were encountered: