<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Rodrigo,  verifique tb se zope tem
      permissão no subdiretorio
      /var/interlegis/SAPL-2.5/instances/sapl25/var$  para o arquivo
      DocumentoSapl.fs .<br>
      <br>
      On 25-02-2015 15:52, Rodrigo de Almeida Américo Americo wrote:<br>
    </div>
    <blockquote
cite="mid:CAEM+Lci2dNmHNgO9mC0xfbuwC3wPE0zByn9X5_fgD=j8wNX=Rg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Claudio, já estava setada a permissão para operador
                  em delete objects e add files. Marcio, adicionei
                  perfil de manager para o usuario sapladm, o mesmo está
                  com dois perfis (Administrador e manager).<br>
                  <br>
                </div>
                De qualquer forma, obrigado pelas respostas.<br>
                <br>
              </div>
              Abs,<br>
              <br>
            </div>
            Rodrigo Américo <br>
          </div>
          Analista de Sistemas <br>
        </div>
        Câmara Municipal de Sorocaba<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Em 25 de fevereiro de 2015 15:45,
          Marcio Vilas Boas <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:marcio@divinopolis.mg.leg.br" target="_blank">marcio@divinopolis.mg.leg.br</a>></span>
          escreveu:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Vc adicionou a permissão "manager" para o usuário
                "sapladm" ??<br>
                <br>
                abs,
                <div>
                  <div class="h5"><br>
                    <br>
                    On 25-02-2015 15:12, Rodrigo de Almeida Américo
                    Americo wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>Olá pessoal estou seguindo o roteiro para
                          converter folder para btreefolder2 porém
                          quando executo o arquivo copiar.py
                          (/var/interlegis/SAPL-2.5/instances/sapl25/bin#
                          sudo -u zope
                          /var/interlegis/SAPL-2.5/instances/sapl25/bin/zopectl
                          run copiarold.py > log<br>
                          ) é exibida a seguinte mensagem de erro para
                          mim:<br>
                          <br>
                          <br>
                          /var/interlegis/SAPL-2.5/instances/sapl25/Products/ZMySQLDA/DABase.py:92:

                          DeprecationWarning: The ImageFile module will
                          be removed in Zope 2.11. Use App.ImageFile
                          instead.<br>
                            from ImageFile import ImageFile<br>
                          /var/interlegis/SAPL-2.5/instances/sapl25/Products/TextIndexNG2/TextIndexNG.py:28:

                          DeprecationWarning: Using OFS.content_types is
                          deprecated (will be removed in Zope 2.11).
                          Instead use zope.app.contenttypes.<br>
                            from OFS.content_types import
                          guess_content_type<br>
                          2015-02-25 15:09:20 WARNING textindexng
                          Converter "ppt" not registered because
                          executable "pptHtml" could not be found<br>
                          /var/interlegis/SAPL-2.5/Zope-2.9/lib/python/OFS/Application.py:830:

                          DeprecationWarning: __init__.py of
                          Products.ZMySQLDA has a long deprecated
                          'methods' attribute. 'methods' support might
                          be removed in Zope 2.11 or a later feature
                          release. Please use the 'legacy' argument of
                          registerClass instead if the methods are
                          constructors. Or refactor the product using
                          adapters.<br>
                            DeprecationWarning)<br>
                          Traceback (most recent call last):<br>
                            File "<string>", line 1, in ?<br>
                            File "copiarold.py", line 36, in ?<br>
                              copiar()<br>
                            File "copiarold.py", line 27, in copiar<br>
                              pasta_destino.manage_pasteObjects(cookie)<br>
                            File
                          "/var/interlegis/SAPL-2.5/Zope-2.9/lib/python/OFS/CopySupport.py",
                          line 195, in manage_pasteObjects<br>
                              self._verifyObjectPaste(ob,
                          validate_src=op+1)<br>
                            File
                          "/var/interlegis/SAPL-2.5/Zope-2.9/lib/python/OFS/CopySupport.py",
                          line 522, in _verifyObjectPaste<br>
                              action = 'manage_main')<br>
                          OFS.CopySupport.CopyError:<br>
                          <HTML><br>
                          <HEAD><br>
                          <TITLE>Insufficient
                          Privileges</TITLE><br>
                          </HEAD><br>
                          <BODY BGCOLOR="#FFFFFF"><br>
                          <FORM ACTION="manage_main" METHOD="GET"
                          ><br>
                          <TABLE BORDER="0" WIDTH="100%"
                          CELLPADDING="10"><br>
                          <TR><br>
                            <TD VALIGN="TOP"><br>
                            <BR><br>
                            <CENTER><B><FONT SIZE="+6"
                          COLOR="#77003B">!</FONT></B></CENTER><br>
                            </TD><br>
                            <TD VALIGN="TOP"><br>
                            <BR><BR><br>
                            <CENTER><br>
                            You do not possess the Add Documents,
                          Images, and Files permission in the context of
                          the container into which you are pasting, thus
                          you are not able to perform this operation.<br>
                            </CENTER><br>
                            </TD><br>
                          </TR><br>
                          <TR><br>
                            <TD VALIGN="TOP"><br>
                            </TD><br>
                            <TD VALIGN="TOP"><br>
                            <CENTER><br>
                            <INPUT TYPE="SUBMIT" VALUE="   Ok   "><br>
                            </CENTER><br>
                            </TD><br>
                          </TR><br>
                          </TABLE><br>
                          </FORM><br>
                          </BODY></HTML><br>
                          <br>
                          <br>
                        </div>
                        O que poderia ser este erro?<br>
                        <br>
                      </div>
                      <div>Abraços,<br>
                        <br>
                        <br>
                      </div>
                      <div>Rodrigo Américo<br>
                      </div>
                      <div>Analista de Sistemas<br>
                      </div>
                      <div>Câmara Municipal de Sorocaba<br>
                      </div>
                      <div><br>
                        <br>
                      </div>
                      <div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">Em 25 de fevereiro de
                        2015 13:56, Claudio Morale <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:claudiomorale@interlegis.leg.br"
                            target="_blank">claudiomorale@interlegis.leg.br</a>></span>
                        escreveu:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <div>Olá Rodrigo, verifique se o índice do
                              catálogo da pasta materia (contém os
                              textos integrais) em sapl_documentos está
                              definido corretamente e se houver
                              expectativa de aumento do volume de
                              matérias, considere a possibilidade de
                              alterar o tipo da pasta para
                              btreefolder2.  Mais orientações veja
                              nesses links no colab: <br>
                              <br>
                              <a moz-do-not-send="true"
                                href="https://colab.interlegis.leg.br/wiki/HOWTOTextIndexNG2"
                                target="_blank">https://colab.interlegis.leg.br/wiki/HOWTOTextIndexNG2</a>/var/interlegis/SAPL-2.5/instances/sapl25/var$
                              <br>
                              <br>
                              <a moz-do-not-send="true"
href="https://colab.interlegis.leg.br/wiki/ConverterSaplFolderParaBtreefolder2"
                                target="_blank">https://colab.interlegis.leg.br/wiki/ConverterSaplFolderParaBtreefolder2</a>
                              <div>
                                <div><br>
                                  <br>
                                  <br>
                                  <br>
                                  On 25-02-2015 09:25, Rodrigo de
                                  Almeida Américo Americo wrote:<br>
                                </div>
                              </div>
                            </div>
                            <div>
                              <div>
                                <blockquote type="cite">
                                  <div dir="ltr">
                                    <div>Bom dia, pessoal!</div>
                                    <div><br>
                                    </div>
                                    <div>Tenho dois servidores: um de
                                      pré-produção( Ubuntu 14.04, sapl
                                      2.5) e outro de produção (Ubuntu
                                      8.04, Sapl 2.2)</div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>Estou enfrentando um problema
                                      no Ubuntu 14.04, sapl 2.5. Quando
                                      tento incluir uma matéria com
                                      anexo, a inclusão é mais lenta </div>
                                    <div>que o normal, já fiz testes
                                      para saber se era problema na rede
                                      através de uploads da minha
                                      máquina local para o servidor em</div>
                                    <div>que está instalado o ubuntu
                                      14.04 e o servidor de produção do
                                      ubuntu 8.04</div>
                                    <div>através do winscp e verifiquei
                                      que o tempo de upload era
                                      praticamente o mesmo. A diferença
                                      de upload entre os dois servidores
                                      somente ocorre quando realizado  </div>
                                    <div>no servidor zope, o upload para
                                      o servidor de pré-produção (Ubuntu
                                      14.04, sapl 2.5) é bem mais lento.</div>
                                    <div>O que eu posso fazer para
                                      resolver este problema? Tem alguma
                                      configuração no zope.conf que eu
                                      preciso fazer para o servidor de
                                      Pré-produção (Ubuntu 14.04, sapl
                                      2.5)?</div>
                                    <div>Tem algum serviço no ubuntu
                                      14.04 que devo desabilitar?</div>
                                    <div><br>
                                    </div>
                                    <div>Por favor me ajudem,</div>
                                    <div><br>
                                    </div>
                                    <div>Abraços,</div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>Rodrigo Américo</div>
                                    <div>Analista de Sistemas</div>
                                    <div>Câmara Municipal de Sorocaba</div>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </blockquote>
                                <br>
                                <br>
                              </div>
                            </div>
                            <span><font color="#888888">
                                <div>-- <br>
                                  <div><font color="DarkGrey">
                                      att./var/interlegis/SAPL-2.5/instances/sapl25/var$
                                      <br>
                                      <i>Claudio Morale<br>
                                        Analista de Sistemas<br>
                                        ILB/Interlegis - Senado Federal<br>
                                        (61)3303-5964<br>
                                      </i></font> <img
                                      moz-do-not-send="true" border="0"></div>
                                </div>
                              </font></span></div>
                          <br>
                          --<br>
                          Histórico do grupo:<br>
                          <a moz-do-not-send="true"
href="http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=gitec"
                            target="_blank">http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=gitec</a><br>
                          <br>
                          Regras de participação:<br>
                          <a moz-do-not-send="true"
                            href="http://colab.interlegis.leg.br/wiki/ComoParticiparComunidade"
                            target="_blank">http://colab.interlegis.leg.br/wiki/ComoParticiparComunidade</a><br>
                          <br>
                          Para administrar ou excluir sua conta visite:<br>
                          <a moz-do-not-send="true"
                            href="https://listas.interlegis.gov.br/mailman/listinfo/gitec"
                            target="_blank">https://listas.interlegis.gov.br/mailman/listinfo/gitec</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            Histórico do grupo:<br>
            <a moz-do-not-send="true"
href="http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=gitec"
              target="_blank">http://colab.interlegis.leg.br/search/?type=thread&order=latest&list=gitec</a><br>
            <br>
            Regras de participação:<br>
            <a moz-do-not-send="true"
              href="http://colab.interlegis.leg.br/wiki/ComoParticiparComunidade"
              target="_blank">http://colab.interlegis.leg.br/wiki/ComoParticiparComunidade</a><br>
            <br>
            Para administrar ou excluir sua conta visite:<br>
            <a moz-do-not-send="true"
              href="https://listas.interlegis.gov.br/mailman/listinfo/gitec"
              target="_blank">https://listas.interlegis.gov.br/mailman/listinfo/gitec</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <div><font size="2" color="DarkGrey">
          att.<br>
          <i>Claudio Morale<br>
            Analista de Sistemas<br>
            ILB/Interlegis - Senado Federal<br>
            (61)3303-5964<br>
          </i></font>
        <img
          src="file:///home/cmorale/%C1rea+de+Trabalho/AssEmailInterlegis.gif"
          border="0"></div>
    </div>
  </body>
</html>