Rogerio Luz Coelho | 4 Jun 2010 17:53
Picon

Re: Windows 7 64bit

Em Sáb, 2010-05-29 às 12:48 +0200, M.-A. Lemburg escreveu:
> Rogerio Luz Coelho wrote:
> > Is there any way to install egenix on a Windows7 64bit?
> 
> Which product are you referring to ?
> 
> > I am trying and I get some kind of error.
> 
> We currently only provide binaries for 32-bit Windows systems,
> but are looking into adding 64-bit binaries as well, now that the
> 64-bit Windows world has stabilized somewhat.
> 
> If you run a 32-bit Python on the 64-bit OS, you can use our 32-bit
> prebuilt archives and eggs.

Thanks for the reply ... that was exactly what I did, it is now working
like a charm on a Win 7 64bit with Python 32bit 

Just for future reference: the new Windows 2008 R2 server will ONLY ship
in 64bit flavors, if the server side is of any concern on your part (I
really can't see how it would... but, hey,  you guys are the devs ;) the
64bit would be nice (since Python has 64bit compatibility now). 

Thanks again for the amazing packages ... keep up the good work!

Rogerio 

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
(Continue reading)

M.-A. Lemburg | 4 Jun 2010 19:45
Favicon

Re: Windows 7 64bit

Rogerio Luz Coelho wrote:
> Em Sáb, 2010-05-29 às 12:48 +0200, M.-A. Lemburg escreveu:
>> Rogerio Luz Coelho wrote:
>>> Is there any way to install egenix on a Windows7 64bit?
>>
>> Which product are you referring to ?
>>
>>> I am trying and I get some kind of error.
>>
>> We currently only provide binaries for 32-bit Windows systems,
>> but are looking into adding 64-bit binaries as well, now that the
>> 64-bit Windows world has stabilized somewhat.
>>
>> If you run a 32-bit Python on the 64-bit OS, you can use our 32-bit
>> prebuilt archives and eggs.
> 
> Thanks for the reply ... that was exactly what I did, it is now working
> like a charm on a Win 7 64bit with Python 32bit 
> 
> Just for future reference: the new Windows 2008 R2 server will ONLY ship
> in 64bit flavors, if the server side is of any concern on your part (I
> really can't see how it would... but, hey,  you guys are the devs ;) the
> 64bit would be nice (since Python has 64bit compatibility now). 

We are working on the necessary changes for Win64 and will
release those with mxODBC 3.1.

There are a couple of things that need to be tweaked, since ODBC length
information is 64-bit on Win64, while at the same time longs are still
32-bit. On 64-bit Unix, both are 64-bit, which makes things a bit
(Continue reading)

eGenix Team: M.-A. Lemburg | 10 Jun 2010 09:53
Favicon

ANN: eGenix pyOpenSSL Distribution 0.10.0-1.0.0a

________________________________________________________________________

ANNOUNCING

                   eGenix.com pyOpenSSL Distribution

                          Version 0.10.0-1.0.0a

             An easy-to-install and easy-to-use distribution
             of the pyOpenSSL Python interface for OpenSSL -
            available for Windows, Mac OS X and Unix platforms

This announcement is also available on our web-site for online reading:
http://www.egenix.com/company/news/eGenix-pyOpenSSL-Distribution-0.10.0-1.0.0a-1.html

________________________________________________________________________

INTRODUCTION

The eGenix.com pyOpenSSL Distribution includes everything you need to
get started with SSL in Python.

It comes with an easy-to-use installer that includes the most recent
OpenSSL library versions in pre-compiled form, making your application
independent of OS provided OpenSSL libraries:

    http://www.egenix.com/products/python/pyOpenSSL/

pyOpenSSL is an open-source Python add-on that allows writing SSL/TLS-
aware network applications as well as certificate management tools:
(Continue reading)

M.-A. Lemburg | 10 Jun 2010 14:44
Favicon

Follow eGenix on Facebook and Twitter

Hello,

in order to better support our users and customers through new
channels, we have created a Facebook and Twitter pages for
you to follow or sign up to:

Facebook:

	http://www.facebook.com/pages/eGenixcom/121108631233362

        (we'll update the URL once we have 25+ followers)

Twitter:

	http://twitter.com/egenix

All announcements will go on to those channels as well as to the
others (currently: email lists, news blog and RSS feed).

Thanks,
--

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 10 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                38 days to go
(Continue reading)

Nathan Friend | 11 Jun 2010 17:10
Picon

Missing eGenix mxODBX Database Connection object

Hello,
I've recently installed mxODBC Zope Database adaptor on a test server, everything worked as expected.

Today I've attempted to install on a production sever.  When I look in the add object list in ZMI I can't find "eGenix mxODBX Database Connection" listed.

I've restarted Zope.  Any ideas?

Plone 2.5.3
Python 2.4.2 (UCS4)
Zope 2.9.7
SUSE Enterprise Linux 10.1 64-bit

Cheers,

Nathan.

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
M.-A. Lemburg | 11 Jun 2010 18:31
Favicon

Re: Missing eGenix mxODBX Database Connection object

Nathan Friend wrote:
> Hello,
> I've recently installed mxODBC Zope Database adaptor on a test server,
> everything worked as expected.
> 
> Today I've attempted to install on a production sever.  When I look in the
> add object list in ZMI I can't find "eGenix mxODBX Database Connection"
> listed.
> 
> I've restarted Zope.  Any ideas?
> 
> Plone 2.5.3
> Python 2.4.2 (UCS4)
> Zope 2.9.7
> SUSE Enterprise Linux 10.1 64-bit

Please check your Zope log for error messages.

Are you using the version 1.0 or version 2.0 of our Zope DA ?

We've only tested (and verified correct operation) of the Zope DA
2.0 with Plone 3.3. It may also work with older Plone versions,
but that's not guaranteed.

Regards,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users

M.-A. Lemburg | 11 Jun 2010 22:35
Favicon

Re: Missing eGenix mxODBX Database Connection object

Nathan Friend wrote:
> Hi,
> I'm using version 1.0.10.  In events.log I get a recurring error:
> 
> -----
> 2010-06-11T20:26:42 ERROR ZServer uncaptured python exception, closing
> channel <ZServer.HTTPServer.zhttp_channel connected 192.168.1.61:30218 at
> 0x2aaab111a9e0 channel#: 42655 requests:> (socket.error:(32, 'Broken pipe')
> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asynchat.py|initiate_send|219]
> [/opt/Plone-2.5.3/lib/python/ZServer/medusa/http_server.py|send|417]
> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asyncore.py|send|332])
> ------
> 
> Not sure if its related thought.

No, that's not related.

When using Zope DA 1.0, you have to open up a console
and start Zope/Plone from the command line.

The Zope DA 1.0 will then print the debug information to that
console.

In Zope DA 2.0 we changed that to write to the event log file.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

> Cheers,
> 
> Nathan.
> 
> On Fri, Jun 11, 2010 at 5:31 PM, M.-A. Lemburg <mal@...> wrote:
> 
>> Nathan Friend wrote:
>>> Hello,
>>> I've recently installed mxODBC Zope Database adaptor on a test server,
>>> everything worked as expected.
>>>
>>> Today I've attempted to install on a production sever.  When I look in
>> the
>>> add object list in ZMI I can't find "eGenix mxODBX Database Connection"
>>> listed.
>>>
>>> I've restarted Zope.  Any ideas?
>>>
>>> Plone 2.5.3
>>> Python 2.4.2 (UCS4)
>>> Zope 2.9.7
>>> SUSE Enterprise Linux 10.1 64-bit
>>
>> Please check your Zope log for error messages.
>>
>> Are you using the version 1.0 or version 2.0 of our Zope DA ?
>>
>> We've only tested (and verified correct operation) of the Zope DA
>> 2.0 with Plone 3.3. It may also work with older Plone versions,
>> but that's not guaranteed.
>>
>> Regards,
>> --
>> Marc-Andre Lemburg
>> eGenix.com
>>
>> Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
>> ________________________________________________________________________
>> 2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go
>>
>> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>>
>>
>>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>>           Registered at Amtsgericht Duesseldorf: HRB 46611
>>               http://www.egenix.com/company/contact/
>>
> 

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users

M.-A. Lemburg | 14 Jun 2010 10:10
Favicon

Re: Missing eGenix mxODBX Database Connection object

[Please keep the mailing list on CC]

Nathan Friend wrote:
> OK so from the command line I need to run *./zopectl stop* and then
> run *.zopectl
> fg *?

You need to open a console, change to the Zope instance directory
and then run:

bin/zopectl fg start

This will print out any error messages that may be relevant
in your case.

E.g. here's an example where the license file expired:

eGenix mxODBC Zope DA: trying iODBC interface... failed: initialization of module mxODBC failed
(mx.ODBC.iODBC.LicenseError:license for mxODBC has expired)
eGenix mxODBC Zope DA: trying unixODBC interface... failed: initialization of module mxODBC failed
(mx.ODBC.unixODBC.LicenseError:license for mxODBC has expired)
eGenix mxODBC Zope DA: No usable mxODBC subpackages found.

Possible reasons:
 * Missing or expired license
 * Missing or unusable iODBC and/or unixODBC installation
 * Mismatch in Python Unicode build version - your Zope
   installation is using: Python 2.4.6 UCS2

> Also what permissions are recommended for /lib/python/mx/ some of the files
> don't have execute bit set.
> 
> drwxr-xr-x 4 plone users   776 2010-06-11 13:32 BeeBase
> -rw-rw-r-- 1 plone users   604 2004-03-15 00:20 COPYRIGHT
> drwxr-xr-x 5 plone users   912 2010-06-11 13:32 DateTime
> drwxr-xr-x 2 plone users   352 2010-06-11 13:32 Doc
> -rw-r--r-- 1 plone users   946 2006-06-30 22:34 __init__.pyc
> -rw-r--r-- 1 plone users   946 2006-06-30 22:34 __init__.pyo
> -rw-rw-r-- 1 plone users   613 2003-08-09 20:26 LICENSE
> -rw-r--r-- 1 plone users 22261 2006-06-30 22:34 Log.pyc
> -rw-r--r-- 1 plone users 22261 2006-06-30 22:34 Log.pyo
> drwxr-xr-x 2 plone users   840 2010-06-11 13:32 Misc
> -rw-r--r-- 1 plone users   587 2006-06-30 22:34 NewBuiltins.pyc
> -rw-r--r-- 1 plone users   587 2006-06-30 22:34 NewBuiltins.pyo
> drwxr-xr-x 7 plone users   552 2010-06-11 13:41 ODBC
> drwxr-xr-x 4 plone users   304 2010-06-11 13:32 Proxy
> drwxr-xr-x 4 plone users   368 2010-06-11 13:32 Queue
> drwxr-xr-x 4 plone users   368 2010-06-11 13:32 Stack
> drwxr-xr-x 6 plone users   368 2010-06-11 13:32 TextTools
> drwxr-xr-x 5 plone users   392 2010-06-11 13:32 Tools
> drwxr-xr-x 4 plone users   288 2010-06-11 13:32 UID
> drwxr-xr-x 4 plone users   416 2010-06-11 13:32 URL

That's fine. Only directories and executables (scripts and
applications) will have the execute bit set.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 14 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                34 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

> Thanks,
> 
> Nathan.
> 
> On Fri, Jun 11, 2010 at 9:35 PM, M.-A. Lemburg <mal@...> wrote:
> 
>> Nathan Friend wrote:
>>> Hi,
>>> I'm using version 1.0.10.  In events.log I get a recurring error:
>>>
>>> -----
>>> 2010-06-11T20:26:42 ERROR ZServer uncaptured python exception, closing
>>> channel <ZServer.HTTPServer.zhttp_channel connected 192.168.1.61:30218at
>>> 0x2aaab111a9e0 channel#: 42655 requests:> (socket.error:(32, 'Broken
>> pipe')
>>>
>> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asynchat.py|initiate_send|219]
>>> [/opt/Plone-2.5.3/lib/python/ZServer/medusa/http_server.py|send|417]
>>> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asyncore.py|send|332])
>>> ------
>>>
>>> Not sure if its related thought.
>>
>> No, that's not related.
>>
>> When using Zope DA 1.0, you have to open up a console
>> and start Zope/Plone from the command line.
>>
>> The Zope DA 1.0 will then print the debug information to that
>> console.
>>
>> In Zope DA 2.0 we changed that to write to the event log file.
>>
>> Thanks,
>> --
>> Marc-Andre Lemburg
>> eGenix.com
>>
>> Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
>> ________________________________________________________________________
>> 2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go
>>
>> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>>
>>
>>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>>           Registered at Amtsgericht Duesseldorf: HRB 46611
>>               http://www.egenix.com/company/contact/
>>
>>
>>> Cheers,
>>>
>>> Nathan.
>>>
>>> On Fri, Jun 11, 2010 at 5:31 PM, M.-A. Lemburg <mal@...> wrote:
>>>
>>>> Nathan Friend wrote:
>>>>> Hello,
>>>>> I've recently installed mxODBC Zope Database adaptor on a test server,
>>>>> everything worked as expected.
>>>>>
>>>>> Today I've attempted to install on a production sever.  When I look in
>>>> the
>>>>> add object list in ZMI I can't find "eGenix mxODBX Database Connection"
>>>>> listed.
>>>>>
>>>>> I've restarted Zope.  Any ideas?
>>>>>
>>>>> Plone 2.5.3
>>>>> Python 2.4.2 (UCS4)
>>>>> Zope 2.9.7
>>>>> SUSE Enterprise Linux 10.1 64-bit
>>>>
>>>> Please check your Zope log for error messages.
>>>>
>>>> Are you using the version 1.0 or version 2.0 of our Zope DA ?
>>>>
>>>> We've only tested (and verified correct operation) of the Zope DA
>>>> 2.0 with Plone 3.3. It may also work with older Plone versions,
>>>> but that's not guaranteed.
>>>>
>>>> Regards,
>>>> --
>>>> Marc-Andre Lemburg
>>>> eGenix.com
>>>>
>>>> Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>>>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
>>>> ________________________________________________________________________
>>>> 2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go
>>>>
>>>> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>>>>
>>>>
>>>>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>>>>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>>>>           Registered at Amtsgericht Duesseldorf: HRB 46611
>>>>               http://www.egenix.com/company/contact/
>>>>
>>>
>>
>>
> 

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users

Nathan Friend | 14 Jun 2010 13:29
Picon

Re: Missing eGenix mxODBX Database Connection object

Hi,

Got it working, thanks for your help.  Running in fg mode showed the problem.  I had the wrong UCS version.  

When I did python -c 'print "UCS%s"%len(u"x".encode("unicode-internal"))' I had missed of the leading ./ so the result was for the wrong instance of Python on my system.

Cheers,

Nathan.


On Mon, Jun 14, 2010 at 9:10 AM, M.-A. Lemburg <mal <at> egenix.com> wrote:
[Please keep the mailing list on CC]

Nathan Friend wrote:
> OK so from the command line I need to run *./zopectl stop* and then
> run *.zopectl
> fg *?

You need to open a console, change to the Zope instance directory
and then run:

bin/zopectl fg start

This will print out any error messages that may be relevant
in your case.

E.g. here's an example where the license file expired:

eGenix mxODBC Zope DA: trying iODBC interface... failed: initialization of module mxODBC failed
(mx.ODBC.iODBC.LicenseError:license for mxODBC has expired)
eGenix mxODBC Zope DA: trying unixODBC interface... failed: initialization of module mxODBC failed
(mx.ODBC.unixODBC.LicenseError:license for mxODBC has expired)
eGenix mxODBC Zope DA: No usable mxODBC subpackages found.

Possible reasons:
 * Missing or expired license
 * Missing or unusable iODBC and/or unixODBC installation
 * Mismatch in Python Unicode build version - your Zope
  installation is using: Python 2.4.6 UCS2

> Also what permissions are recommended for /lib/python/mx/ some of the files
> don't have execute bit set.
>
> drwxr-xr-x 4 plone users   776 2010-06-11 13:32 BeeBase
> -rw-rw-r-- 1 plone users   604 2004-03-15 00:20 COPYRIGHT
> drwxr-xr-x 5 plone users   912 2010-06-11 13:32 DateTime
> drwxr-xr-x 2 plone users   352 2010-06-11 13:32 Doc
> -rw-r--r-- 1 plone users   946 2006-06-30 22:34 __init__.pyc
> -rw-r--r-- 1 plone users   946 2006-06-30 22:34 __init__.pyo
> -rw-rw-r-- 1 plone users   613 2003-08-09 20:26 LICENSE
> -rw-r--r-- 1 plone users 22261 2006-06-30 22:34 Log.pyc
> -rw-r--r-- 1 plone users 22261 2006-06-30 22:34 Log.pyo
> drwxr-xr-x 2 plone users   840 2010-06-11 13:32 Misc
> -rw-r--r-- 1 plone users   587 2006-06-30 22:34 NewBuiltins.pyc
> -rw-r--r-- 1 plone users   587 2006-06-30 22:34 NewBuiltins.pyo
> drwxr-xr-x 7 plone users   552 2010-06-11 13:41 ODBC
> drwxr-xr-x 4 plone users   304 2010-06-11 13:32 Proxy
> drwxr-xr-x 4 plone users   368 2010-06-11 13:32 Queue
> drwxr-xr-x 4 plone users   368 2010-06-11 13:32 Stack
> drwxr-xr-x 6 plone users   368 2010-06-11 13:32 TextTools
> drwxr-xr-x 5 plone users   392 2010-06-11 13:32 Tools
> drwxr-xr-x 4 plone users   288 2010-06-11 13:32 UID
> drwxr-xr-x 4 plone users   416 2010-06-11 13:32 URL

That's fine. Only directories and executables (scripts and
applications) will have the execute bit set.

--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 14 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                34 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


  eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
   D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
          Registered at Amtsgericht Duesseldorf: HRB 46611
              http://www.egenix.com/company/contact/


> Thanks,
>
> Nathan.
>
> On Fri, Jun 11, 2010 at 9:35 PM, M.-A. Lemburg <mal-SVD0I98eSHvQT0dZR+AlfA@public.gmane.org> wrote:
>
>> Nathan Friend wrote:
>>> Hi,
>>> I'm using version 1.0.10.  In events.log I get a recurring error:
>>>
>>> -----
>>> 2010-06-11T20:26:42 ERROR ZServer uncaptured python exception, closing
>>> channel <ZServer.HTTPServer.zhttp_channel connected 192.168.1.61:30218at
>>> 0x2aaab111a9e0 channel#: 42655 requests:> (socket.error:(32, 'Broken
>> pipe')
>>>
>> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asynchat.py|initiate_send|219]
>>> [/opt/Plone-2.5.3/lib/python/ZServer/medusa/http_server.py|send|417]
>>> [/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/asyncore.py|send|332])
>>> ------
>>>
>>> Not sure if its related thought.
>>
>> No, that's not related.
>>
>> When using Zope DA 1.0, you have to open up a console
>> and start Zope/Plone from the command line.
>>
>> The Zope DA 1.0 will then print the debug information to that
>> console.
>>
>> In Zope DA 2.0 we changed that to write to the event log file.
>>
>> Thanks,
>> --
>> Marc-Andre Lemburg
>> eGenix.com
>>
>> Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
>> ________________________________________________________________________
>> 2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go
>>
>> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>>
>>
>>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>>           Registered at Amtsgericht Duesseldorf: HRB 46611
>>               http://www.egenix.com/company/contact/
>>
>>
>>> Cheers,
>>>
>>> Nathan.
>>>
>>> On Fri, Jun 11, 2010 at 5:31 PM, M.-A. Lemburg <mal-SVD0I98eSHvQT0dZR+AlfA@public.gmane.org> wrote:
>>>
>>>> Nathan Friend wrote:
>>>>> Hello,
>>>>> I've recently installed mxODBC Zope Database adaptor on a test server,
>>>>> everything worked as expected.
>>>>>
>>>>> Today I've attempted to install on a production sever.  When I look in
>>>> the
>>>>> add object list in ZMI I can't find "eGenix mxODBX Database Connection"
>>>>> listed.
>>>>>
>>>>> I've restarted Zope.  Any ideas?
>>>>>
>>>>> Plone 2.5.3
>>>>> Python 2.4.2 (UCS4)
>>>>> Zope 2.9.7
>>>>> SUSE Enterprise Linux 10.1 64-bit
>>>>
>>>> Please check your Zope log for error messages.
>>>>
>>>> Are you using the version 1.0 or version 2.0 of our Zope DA ?
>>>>
>>>> We've only tested (and verified correct operation) of the Zope DA
>>>> 2.0 with Plone 3.3. It may also work with older Plone versions,
>>>> but that's not guaranteed.
>>>>
>>>> Regards,
>>>> --
>>>> Marc-Andre Lemburg
>>>> eGenix.com
>>>>
>>>> Professional Python Services directly from the Source  (#1, Jun 11 2010)
>>>>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
>>>> ________________________________________________________________________
>>>> 2010-07-19: EuroPython 2010, Birmingham, UK                37 days to go
>>>>
>>>> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>>>>
>>>>
>>>>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>>>>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>>>>           Registered at Amtsgericht Duesseldorf: HRB 46611
>>>>               http://www.egenix.com/company/contact/
>>>>
>>>
>>
>>
>



_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users
Favicon

Re: undefined symbol: PyUnicodeUCS4_FromEncodedObject

Dear Mr. Clark,

sorry for the late reply.

The error you are seeing is related to the fact that Python can
be built in two different Unicode versions: UCS2 and UCS4.

Your Plone installation uses a UCS2, but you have setup zc.buildout
to point to our UCS4 tree (or downloaded the UCS4 egg file).

Please setup zc.buildout to use our UCS2 tree, ie. use
the http://downloads.egenix.com/python/index/ucs2/ URL in
find-links:

find-links =
    http://dist.plone.org/release/3.3.1/
    http://dist.plone.org
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads
    http://downloads.egenix.com/python/index/ucs2/

If you get a linker error mentioning a PyUnicodeUCS2_* API, then
the situations is reversed: you have a UCS4 Python intalled
and zc.buildout is trying to use a UCS2 egg.

All this is due to the fact that zc.buildout/setuptools ignore
the fact that Python can be built in two different Unicode versions.
To work around this, we've setup two different PyPI-style indexes,
one for the UCS2 builds and another for the UCS4 builds.

Sorry for the trouble this has caused you. If you need an extension of
your eval license, please let me know.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jun 23 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2010-07-19: EuroPython 2010, Birmingham, UK                25 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

> Hi all,
> 
> I am trying to add egenix_mxodbc_zopeda-2.0.1-py2.4-linux-x86_64.egg to Plone 3.3.5 and
> when I start the instance I get this:
> 
> ---
> 
> 2010-05-24 08:17:22 ERROR Application Could not import Products.mxODBCZopeDA
> Traceback (most recent call last):
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/OFS/Application.py", line 709, in import_product
>    product=__import__(pname, global_dict, global_dict, silly)
>  File "Products/mxODBCZopeDA/__init__.py", line 33, in ?
>    logger = logging.getLogger("Zope")
>  File "Products/mxODBCZopeDA/ZopeDA.py", line 108, in ?
> ImportError:
/home/aclark/Developer/seiu/eggs/egenix_mxodbc_zopeda-2.0.1-py2.4-linux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTools.so:
undefined symbol: PyUnicodeUCS4_FromEncodedObject
> Traceback (most recent call last):
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/Startup/run.py", line 56, in ?
>    run()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/Startup/run.py", line 21, in run
>    starter.prepare()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/Startup/__init__.py", line
102, in prepare
>    self.startZope()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/Startup/__init__.py", line
278, in startZope
>    Zope2.startup()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/__init__.py", line 47, in startup
>    _startup()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/App/startup.py", line 45, in startup
>    OFS.Application.import_products()
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/OFS/Application.py", line 686, in import_products
>    import_product(product_dir, product_name, raise_exc=debug_mode)
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/OFS/Application.py", line 709, in import_product
>    product=__import__(pname, global_dict, global_dict, silly)
>  File "/home/aclark/Developer/seiu/parts/zope2/lib/python/Zope2/Startup/__init__.py", line
33, in ?
>    logger = logging.getLogger("Zope")
>  File "Products/mxODBCZopeDA/ZopeDA.py", line 108, in ?
> ImportError:
/home/aclark/Developer/seiu/eggs/egenix_mxodbc_zopeda-2.0.1-py2.4-linux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTools.so:
undefined symbol: PyUnicodeUCS4_FromEncodedObject
> 
> ---
> 
> Does this make any sense to anyone?
> 
> If I understand correctly, that is the correct binary to use for my distro (Ubuntu Lucid).
> 
> Thanks,
> 
> Alex
> 
> -- Alex Clark · http://aclark.net Author — Plone 3.3 Site Administration ·
http://aclark.net/admin 

_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users


Gmane