Page 1 of 1

New Molecule Software. Python error.

Posted: Fri Jul 25, 2014 1:22
by albfneto
I tried the new Molecule Package, for remasterize one ISO, adding many packages to one XFCE ISO.

therefore, after the command , molecule gives an error:

Code: Select all

# molecule novaremaster.spec

Traceback (most recent call last):
  File "/usr/bin/molecule", line 29, in <module>
    parse_data = molecule.cmdline.parse()
  File "/usr/lib/molecule/molecule/cmdline.py", line 61, in parse
    obj = SpecParser(el)
  File "/usr/lib/molecule/molecule/settings.py", line 218, in __init__
    execution_strategy = self.parse_execution_strategy()
  File "/usr/lib/molecule/molecule/settings.py", line 230, in parse_execution_strategy
    data = self._generic_parser()
  File "/usr/lib/molecule/molecule/settings.py", line 300, in _generic_parser
    content = self._preprocessor.parse()
  File "/usr/lib/molecule/molecule/settings.py", line 190, in parse
    for line in spec_f.readlines():
  File "/usr/lib64/python2.7/codecs.py", line 679, in readlines
    return self.reader.readlines(sizehint)
  File "/usr/lib64/python2.7/codecs.py", line 588, in readlines
    data = self.read()
  File "/usr/lib64/python2.7/codecs.py", line 477, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc7 in position 736: invalid continuation byte

Re: New Molecule Software. Python error.

Posted: Fri Jul 25, 2014 4:09
by wolfden
looks like you need to file that as a bug

Re: New Molecule Software. Python error.

Posted: Tue Aug 05, 2014 14:21
by albfneto

Re: New Molecule Software. Python error.

Posted: Tue Aug 12, 2014 13:29
by albfneto
Fabio see the bug.Is a problem not solved im my system.
I'm trying to solve.
if i solved,i will edit in the bug report.
my locale and UTF is normally seted to Brazilian Portuguese:

Code: Select all

locale
LANG=pt_BR.UTF-8
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=pt_BR.UTF-8

Code: Select all

cat /etc/locale.conf
LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR.UTF-8"
GDM_LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
SYSFONT="latarcyrheb-sun16"

Code: Select all

en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
pt_BR.UTF-8 UTF-8
pt_BR ISO-8859-1
pt_PT.UTF-8 UTF-8
pt_PT ISO-8859-1
[email protected] ISO-8859-15