[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] questions about migrating forwards
From: Jeff Peterson <jeff.peterson () crary ! com>
Date: 2010-03-11 21:58:59
Message-ID: C6F7E83CBEC908498C00BBC2E684FB096C3362D45E () exchange ! craryindustries ! local
[Download RAW message or body]
I have used LocalFS, but at the time I upgraded it had to be patched too, y=
ou could check around and see if it's been updated. I believe it's still a=
ctively maintained.
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of And=
rew Watkins
Sent: Thursday, March 11, 2010 2:15 PM
To: Tres Seaver; zope@zope.org
Subject: Re: [Zope] questions about migrating forwards
Thanks for the useful responses
Is there some other Product that people use to bring external files into th=
e zope environment?
Andrew
Andrew Watkins
Systems Development Team Manager
National Institute Water & Atmospheric Research (NIWA).
>>> On 12 Mar 10 at 04:05 AM, in message <hnb0r9$jcq$1@dough.gmane.org>, Tr=
es Seaver <tseaver@palladion.com> wrote:
You will eed to patch ExternalFile to use Zope3-style interfaces. E.g.,
instead of:
from Interface import Interface
patch it to be:
from zope.interface import Interface
Their may be other changes required, as well, depending on how the
product uses the interfaces. (Later: I've done the patch, at least to
the extent of getting the appserver to start: see attachment).
> 2. ZMySQLDA This fails with the message 'ImportError: No module named
> _mysql' again this works ok on zope 2.11.4
You need to install the MySQL-python package into your virtuaenv:
$ bin/easy_install MySQL-python
NIWA is the trading name of the National Institute of Water & Atmospheric R=
esearch Ltd.
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Helvetica Neue";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";
mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<![if mso 9]>
<style>
p.MsoNormal
{margin-left:3.0pt;}
</style>
<![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='margin-left:3.0pt;margin-top:
3.0pt;margin-right:3.0pt;margin-bottom:.75pt'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have used LocalFS, but at the time I upgraded it had to be
patched too, you could check around and see if it’s been updated. I \
believe it’s still actively maintained.<o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jeffrey
D Peterson<o:p></o:p></span></p>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Webmaster<o:p></o:p></span></p>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Crary
Industries, Inc.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
zope-bounces@zope.org [mailto:zope-bounces@zope.org] <b>On Behalf Of </b>Andrew
Watkins<br>
<b>Sent:</b> Thursday, March 11, 2010 2:15 PM<br>
<b>To:</b> Tres Seaver; zope@zope.org<br>
<b>Subject:</b> Re: [Zope] questions about migrating forwards<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:"Helvetica \
Neue","serif"'>Thanks for the useful responses<o:p></o:p></span></p>
<p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:"Helvetica \
Neue","serif"'>Is there some other Product that people use to bring external files \
into the zope environment? <o:p></o:p></span></p>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-family:"Helvetica Neue","serif"'><o:p> </o:p></span></p>
<p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:"Helvetica \
Neue","serif"'>Andrew <o:p></o:p></span></p>
<p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:"Helvetica \
Neue","serif"'><br> <br>
Andrew Watkins <br>
Systems Development Team Manager <br>
National Institute Water & Atmospheric Research (NIWA). <br>
<br>
<br>
>>> On 12 Mar 10 at 04:05 AM, in message
<hnb0r9$jcq$1@dough.gmane.org>, Tres Seaver <tseaver@palladion.com>
wrote:<o:p></o:p></span></p>
<table class=MsoNormalTable border=0 cellpadding=0 style='margin-left:11.25pt;
background:#F3F3F3'>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<div style='border:none;border-left:solid #050505 1.0pt;padding:0in 0in 0in 5.0pt'>
<p style='margin:0in;margin-bottom:.0001pt'><br>
You will eed to patch ExternalFile to use Zope3-style interfaces. E.g.,<br>
instead of:<br>
<br>
from Interface import Interface<br>
<br>
patch it to be:<br>
<br>
from zope.interface import Interface<br>
<br>
Their may be other changes required, as well, depending on how the<br>
product uses the interfaces. (Later: I've done the patch, at
least to<br>
the extent of getting the appserver to start: see attachment).<br>
<br>
> 2. ZMySQLDA This fails with the message 'ImportError: No module named<br>
> _mysql' again this works ok on zope 2.11.4<br>
<br>
You need to install the MySQL-python package into your virtuaenv:<br>
<br>
$ bin/easy_install MySQL-python<o:p></o:p></p>
</div>
</td>
</tr>
</table>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-family:"Helvetica Neue","serif"'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal style='margin:0in;margin-bottom:.0001pt'><span
style='font-family:"Helvetica Neue","serif"'>NIWA is the trading name of the
National Institute of Water & Atmospheric Research Ltd. <o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
--===============2623603964961467685==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic