Ciao a tutti,<br>ho recentemente installato Plone 3 su un PC con S.O. Fedora Core 6.<br><br>Purtroppo ho 2 problemi che non riesco a risolvere:<br><br>il primo riguarda ArchGenXML:<br>sto leggendo il tutorial presente in <a href="http://plone.org">
plone.org</a><br><a href="http://plone.org/documentation/tutorial/archgenxml-getting-started/intro">http://plone.org/documentation/tutorial/archgenxml-getting-started/intro</a><br><br>ho installato la versione 1.6 beta1 utilizzando il python di Plone3
<br>durante l&#39;installazione mi da alcuni errori:<br><br>byte-compiling build/bdist.linux-i686/egg/archgenxml/templates/widget.py to widget.pyc<br>&nbsp; File &quot;build/bdist.linux-i686/egg/archgenxml/templates/widget.py&quot;, line 12
<br>&nbsp;&nbsp;&nbsp; from Products.&lt;dtml-var &quot;klass.getPackage().getProduct().getName()&quot;&gt; import config<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>SyntaxError: invalid syntax<br>byte-compiling build/bdist.linux-i686/egg/archgenxml/templates/view_class.py to view_class.pyc
<br>&nbsp; File &quot;build/bdist.linux-i686/egg/archgenxml/templates/view_class.py&quot;, line 1<br>&nbsp;&nbsp;&nbsp; &lt;dtml-let assocs=&quot;klass.getFromAssociations(aggtypes=[&#39;none&#39;,&#39;aggregation&#39;,&#39;composite&#39;])&quot;
<br>&nbsp;&nbsp;&nbsp; ^(...)<br><br>poi ancora:<br>Extracting archgenxml-1.6.b1-py2.4.egg to /opt/Plone-3.0/Python-2.4.4/lib/python2.4/site-packages<br>&nbsp; File &quot;/opt/Plone-3.0/Python-2.4.4/lib/python2.4/site-packages/archgenxml-1.6.b1-py2.4.egg
/archgenxml/templates/widget.py&quot;, line 12<br>&nbsp;&nbsp;&nbsp; from Products.&lt;dtml-var &quot;klass.getPackage().getProduct().getName()&quot;&gt; import config<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>SyntaxError: invalid syntax<br>(...)<br><br>
ma alla fine completa comunque l&#39;installazione.<br>Poi con Umbrello UML Modeler (1.5.71) creo il content-type esattemente come spiegato nel tutorial e poi eseguo il comando &quot;archgenxml nomecontenttype.xmi&quot;,<br>
copio la cartella ottenuta in Products e riavvio Plone, installo il prodotto tramite portal setup/AddRemove products.<br>Fino&nbsp; a qui tutto sembra andar bene ma quando vado nella mia cartella personale non posso aggiungere il content type da me creato (non è presente nella lista);
<br>se provo ad aggiungerlo dalla ZMI mi appare un messaggio d&#39;errore, se vado a vedere il log ottengo questo:<br><pre>Traceback (innermost last):<br>  Module ZPublisher.Publish, line 119, in publish<br>  Module ZPublisher.mapply
, line 83, in mapply<br>  Module ZPublisher.Publish, line 47, in missing_name<br>  Module ZPublisher.HTTPResponse, line 694, in badRequestError<br>BadRequest:   &lt;h2&gt;Site Error&lt;/h2&gt;<br>  &lt;p&gt;An error was encountered while publishing this resource.
<br>  &lt;/p&gt;<br>  &lt;p&gt;&lt;strong&gt;Invalid request&lt;/strong&gt;&lt;/p&gt;<br><br>  The parameter, &lt;em&gt;type&lt;/em&gt;, was omitted from the request.&lt;p&gt;Make sure to specify all required parameters, and try the request again.&lt;/p&gt;
<br>  &lt;hr noshade=&quot;noshade&quot;/&gt;<br><br>  &lt;p&gt;Troubleshooting Suggestions&lt;/p&gt;<br><br>  &lt;ul&gt;<br>  &lt;li&gt;The URL may be incorrect.&lt;/li&gt;<br>  &lt;li&gt;The parameters passed to this resource may be incorrect.&lt;/li&gt;
<br>  &lt;li&gt;A resource that this resource relies on may be<br>      encountering an error.&lt;/li&gt;<br>  &lt;/ul&gt;<br><br>  &lt;p&gt;For more detailed information about the error, please<br>  refer to the error log.
<br>  &lt;/p&gt;<br><br>  &lt;p&gt;If the error persists please contact the site maintainer.<br>  Thank you for your patience.<br><br>  &lt;/p&gt;</pre>Come posso risolvere il problema?<br><br>Il secondo invece riguarda la posta:
<br><br>in Plone i settaggi della mail sono:<br>Mail Server:<br>&nbsp;&nbsp; SMTP server: localhost<br>&nbsp;&nbsp; SMTP port: 25<br>&nbsp;&nbsp; ESMTP username e password vuoti<br>Mail Sender:<br>&nbsp;&nbsp; <label for="form.email_from_name">Site &#39;From&#39; name
</label>: luigi<br>&nbsp;&nbsp; <label for="form.email_from_address">Site &#39;From&#39; address</label>

                            <span class="fieldRequired" title="Required">: luigi@marcusii</span><span class="fieldRequired" title="Required"></span><br><br>questo è il messaggio di errore in /var/log/maillog:<br>Sep&nbsp; 6 16:42:24 marcusII sendmail[31760]: l86EgN4V031760:
to=&lt;<a href="mailto:luigi@marcusII.it">luigi@marcusII.it</a>&gt;, delay=00:00:01, xdelay=00:00:00,
mailer=esmtp, pri=31818, relay=<a href="http://marcusii.it">marcusii.it</a>., dsn=4.0.0, stat=Deferred:
Name server: <a href="http://marcusii.it">marcusii.it</a>.: host name lookup failure<br><br>questo è il file /etc/hosts:<br># Do not remove the following line, or various programs<br># that require network functionality will fail.
<br>::1&nbsp;&nbsp;&nbsp; marcusII&nbsp;&nbsp;&nbsp; localhost.localdomain&nbsp;&nbsp;&nbsp; localhost<br>  <a href="http://127.0.0.1">127.0.0.1</a> localhost marcusII<br><a href="http://192.168.2.84">192.168.2.84</a> marcusII.it<br><a href="http://192.168.2.84">192.168.2.84
</a> <a href="http://marcusii.it">marcusii.it</a><br><br>Grazie in anticipo<br>Alessandro<br>