New Molecule Software. Python error.

If you are using the daily ISO, please report issues here to keep confusion down in other forums. Questions or issues with Molecule also here

Moderator: Moderators

New Molecule Software. Python error.

Postby albfneto » Fri Jul 25, 2014 1:22

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
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: New Molecule Software. Python error.

Postby wolfden » Fri Jul 25, 2014 4:09

looks like you need to file that as a bug
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: New Molecule Software. Python error.

Postby albfneto » Tue Aug 05, 2014 14:21

ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: New Molecule Software. Python error.

Postby albfneto » Tue Aug 12, 2014 13:29

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
pt_PT@euro ISO-8859-15
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to ISO Testing & Molecule

Who is online

Users browsing this forum: No registered users and 1 guest

cron