errori su buildout

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

errori su buildout

ntarantino

Salve a tutti,

sto testando Plone 5.1.0.1 su centos 6 e durante il buildout ricevo i seguenti errori:

Compiling Python files.
  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py", line 2049
    print("%5d:" % pos, end=' ', file=out)
                           ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 178
    def __init__(self, file, protocol=None, *, fix_imports=True):
                                             ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py", line 145
    class use_metaclass(object, metaclass=metaclass):
                                         ^
SyntaxError: invalid syntax


Compiling locale files.
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /usr/local/Plone/zeocluster/bin/*
Versions had to be automatically picked.


Qualcuno sa cosa significano e come porvi rimedio?

Natale


--
Regione Siciliana
Assessorato dell’Economia

Dipartimento Regionale Bilancio e Tesoro

Ragioneria Generale della Regione

Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del Dipartimento e Valutazioni



_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: errori su buildout

Yuri-11
Ignorali, credo siano per Python 3. Però sarebbe utile segnalarlo, non
dovrebbero stare lì.


Il 04/04/2018 08:38, Natale Tarantino ha scritto:

>
> Salve a tutti,
>
> sto testando Plone 5.1.0.1 su centos 6 e durante il buildout ricevo i
> seguenti errori:
>
> Compiling Python files.
>   File
> "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py",
> line 2049
>     print("%5d:" % pos, end=' ', file=out)
>                            ^
> SyntaxError: invalid syntax
>
>   File
> "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py",
> line 178
>     def __init__(self, file, protocol=None, *, fix_imports=True):
>                                              ^
> SyntaxError: invalid syntax
>
>   File
> "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py",
> line 145
>     class use_metaclass(object, metaclass=metaclass):
>                                          ^
> SyntaxError: invalid syntax
>
> Compiling locale files.
> Error while compiling
> /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
> Error while compiling
> /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
> Updating setpermissions.
> setpermissions: Running # Dummy references to force this to execute
> after referenced parts
> echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
> chmod 600 .installed.cfg
> # Make sure anything we've created in var is r/w by our group
> find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2>
> /dev/null
> find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2>
> /dev/null
> find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2>
> /dev/null
> find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2>
> /dev/null
> chmod 754 /usr/local/Plone/zeocluster/bin/*
> Versions had to be automatically picked.
>
>
> Qualcuno sa cosa significano e come porvi rimedio?
>
> Natale
>
>
> --
> Regione Siciliana
> Assessorato dell’Economia
> Dipartimento Regionale Bilancio e Tesoro
> Ragioneria Generale della Regione
> Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del
> Dipartimento e Valutazioni
>
>
>
>
>
> _______________________________________________
> Plone-IT mailing list
> [hidden email]
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: errori su buildout

Vito
In reply to this post by ntarantino
Ciao,
personalmente non li ho mai visti (ne' tantomeno plone 5.1, a dire la verità...).
Buildout da sorgente o unified installer?

Vito

2018-04-04 8:38 GMT+02:00 Natale Tarantino <[hidden email]>:

Salve a tutti,

sto testando Plone 5.1.0.1 su centos 6 e durante il buildout ricevo i seguenti errori:

Compiling Python files.
  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py", line 2049
    print("%5d:" % pos, end=' ', file=out)
                           ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 178
    def __init__(self, file, protocol=None, *, fix_imports=True):
                                             ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py", line 145
    class use_metaclass(object, metaclass=metaclass):
                                         ^
SyntaxError: invalid syntax


Compiling locale files.
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /usr/local/Plone/zeocluster/bin/*
Versions had to be automatically picked.


Qualcuno sa cosa significano e come porvi rimedio?

Natale


--
Regione Siciliana
Assessorato dell’Economia

Dipartimento Regionale Bilancio e Tesoro

Ragioneria Generale della Regione

Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del Dipartimento e Valutazioni



_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html




--
Vito Falco
Developer & UI designer | Freelance
Bari, IT

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: errori su buildout

ntarantino

Ciao,

il buildout da unified installer.

Come suggerisce Yuri, il sospetto l'avevo con quel *_3.py, potrebbero essere relativi a compilazioni con Python 3 solo che mi danno fastidio gli errori di compilazione.

Spero si limiti ad un fastidio anche perchè la 5.1 un pò di idiosincrasie le sta mostrando (mosaic, plone.app.ldap).

Natale


Il 04/04/2018 09:43, Vito Falco ha scritto:
Ciao,
personalmente non li ho mai visti (ne' tantomeno plone 5.1, a dire la verità...).
Buildout da sorgente o unified installer?

Vito

2018-04-04 8:38 GMT+02:00 Natale Tarantino <[hidden email]>:

Salve a tutti,

sto testando Plone 5.1.0.1 su centos 6 e durante il buildout ricevo i seguenti errori:

Compiling Python files.
  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py", line 2049
    print("%5d:" % pos, end=' ', file=out)
                           ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 178
    def __init__(self, file, protocol=None, *, fix_imports=True):
                                             ^
SyntaxError: invalid syntax

  File "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py", line 145
    class use_metaclass(object, metaclass=metaclass):
                                         ^
SyntaxError: invalid syntax


Compiling locale files.
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
Error while compiling /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /usr/local/Plone/zeocluster/bin/*
Versions had to be automatically picked.


Qualcuno sa cosa significano e come porvi rimedio?

Natale


--
Regione Siciliana
Assessorato dell’Economia

Dipartimento Regionale Bilancio e Tesoro

Ragioneria Generale della Regione

Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del Dipartimento e Valutazioni



_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html




--
Vito Falco
Developer & UI designer | Freelance
Bari, IT


_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

--
Regione Siciliana
Assessorato dell’Economia

Dipartimento Regionale Bilancio e Tesoro

Ragioneria Generale della Regione

Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del Dipartimento e Valutazioni



_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: errori su buildout

Yuri-11
Sono stati fatti dei cambiamenti recenti, vedi questi thread:

https://community.plone.org/t/plone-5-1-1-soft-released/6159

https://community.plone.org/t/porting-plone-to-python-3/6226

magari qualcosa è finito nel posto sbagliato?

Il 04/04/2018 10:02, Natale Tarantino ha scritto:

>
> Ciao,
>
> il buildout da unified installer.
>
> Come suggerisce Yuri, il sospetto l'avevo con quel *_3.py, potrebbero
> essere relativi a compilazioni con Python 3 solo che mi danno fastidio
> gli errori di compilazione.
>
> Spero si limiti ad un fastidio anche perchè la 5.1 un pò di
> idiosincrasie le sta mostrando (mosaic, plone.app.ldap).
>
> Natale
>
>
> Il 04/04/2018 09:43, Vito Falco ha scritto:
>> Ciao,
>> personalmente non li ho mai visti (ne' tantomeno plone 5.1, a dire la
>> verità...).
>> Buildout da sorgente o unified installer?
>>
>> Vito
>>
>> 2018-04-04 8:38 GMT+02:00 Natale Tarantino
>> <[hidden email] <mailto:[hidden email]>>:
>>
>>     Salve a tutti,
>>
>>     sto testando Plone 5.1.0.1 su centos 6 e durante il buildout
>>     ricevo i seguenti errori:
>>
>>     Compiling Python files.
>>       File
>>     "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py",
>>     line 2049
>>         print("%5d:" % pos, end=' ', file=out)
>>                                ^
>>     SyntaxError: invalid syntax
>>
>>       File
>>     "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py",
>>     line 178
>>         def __init__(self, file, protocol=None, *, fix_imports=True):
>>                    ^
>>     SyntaxError: invalid syntax
>>
>>       File
>>     "/usr/local/Plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py",
>>     line 145
>>         class use_metaclass(object, metaclass=metaclass):
>>                ^
>>     SyntaxError: invalid syntax
>>
>>     Compiling locale files.
>>     Error while compiling
>>     /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.po
>>     Error while compiling
>>     /usr/local/Plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.po
>>     Updating setpermissions.
>>     setpermissions: Running # Dummy references to force this to
>>     execute after referenced parts
>>     echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null
>>     chmod 600 .installed.cfg
>>     # Make sure anything we've created in var is r/w by our group
>>     find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {}
>>     \; 2> /dev/null
>>     find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {}
>>     \; 2> /dev/null
>>     find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {}
>>     \; 2> /dev/null
>>     find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {}
>>     \; 2> /dev/null
>>     chmod 754 /usr/local/Plone/zeocluster/bin/*
>>     Versions had to be automatically picked.
>>
>>
>>     Qualcuno sa cosa significano e come porvi rimedio?
>>
>>     Natale
>>
>>
>>     --
>>     Regione Siciliana
>>     Assessorato dell’Economia
>>     Dipartimento Regionale Bilancio e Tesoro
>>     Ragioneria Generale della Regione
>>     Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del
>>     Dipartimento e Valutazioni
>>
>>
>>
>>
>>     _______________________________________________
>>     Plone-IT mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     https://lists.plone.org/mailman/listinfo/plone-plone-it
>>     <https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>     http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>     <http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>
>>
>>
>>
>> --
>> *Vito Falco*
>> Developer & UI designer | Freelance
>> Bari, IT
>> Linkedin it.linkedin.com/in/vitofalco
>> <http://it.linkedin.com/in/vitofalco>
>>
>>
>> _______________________________________________
>> Plone-IT mailing list
>> [hidden email]
>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
> --
> Regione Siciliana
> Assessorato dell’Economia
> Dipartimento Regionale Bilancio e Tesoro
> Ragioneria Generale della Regione
> Unità di Staff 1 – Coordinamento, Monitoraggio dell’attività del
> Dipartimento e Valutazioni
>
>
>
>
>
> _______________________________________________
> Plone-IT mailing list
> [hidden email]
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
Reply | Threaded
Open this post in threaded view
|

Re: errori su buildout

Luca Fabbri-4
2018-04-04 12:24 GMT+02:00 Yuri <[hidden email]>:
> Sono stati fatti dei cambiamenti recenti, vedi questi thread:
>
> https://community.plone.org/t/plone-5-1-1-soft-released/6159
>
> https://community.plone.org/t/porting-plone-to-python-3/6226
>
> magari qualcosa è finito nel posto sbagliato?
>

Direi non ci sia nulla che non va, capita di avere codice python3-only
in pacchetti che tengono la compatibilità python2/3
contemporaneamente.
In Zope non siamo molto abituati, in altri framework con un codebase
più moderno (tipo Django) capita spesso.

Se il buildout arriva alla fine senza problemi secondo me puoi stare tranquillo.



--
-- luca

twitter: http://twitter.com/keul
linkedin: http://linkedin.com/in/lucafbb
_______________________________________________
Plone-IT mailing list
[hidden email]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html