[Zope-Coders] Zope tests: 8 OK

2005-08-31 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Tue Aug 30 11:01:02 2005 UTC to Wed Aug 31 11:01:02 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:24:50 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002967.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:26:21 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002968.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:27:51 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002969.html

Subject: OK : Zope-2_7-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:29:21 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002970.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:30:51 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002971.html

Subject: OK : Zope-2_8-branch Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:32:21 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002972.html

Subject: OK : Zope-trunk Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:33:51 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002973.html

Subject: OK : Zope-trunk Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Tue Aug 30 22:35:21 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002974.html

___
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders


[Zope-dev] Zope3 / ERP Project Launched

2005-08-31 Thread Aurélien Calonne
Hi,

On the behalf of ERP5 developer community,I am pleased to announce
Zope3 / ERP Project and its new moto: no overhead, high performance.

The goal of the Z3ERP project is to leverage the Zope3 platform and
build an ERP solution based on ERP5 technologies with the capability of
handling more than 1,000 concurrent users or 1,000,000,000 business
records and compete with the famous proprietary ERP solutions. The
project has been discussed with ERP5 developers and customers in Africa,
Americas, Asia and Europe for now one year. Initial high performance
experimentations have been conducted with success and give us the
confidence that this goal can be reached.

Besides high performance, the project aims at providing full
compatibility with Zope2 implementations of ERP5, developing Javascript
Web user interfaces (AJAX) which increase enterprise productivity and
are compatible with high latency WAN networks, creating predefined
localisation guidelines and developing efficient model based
configuration solutions.

The project will be organised through a series of sprints and experience
build-up sessions. Sprint activities are open to experienced ERP5 
developers. Training sessions will be organised in parallel for
experienced Zope developers who wish to gain ERP5 experience and
participate in the next sprint. Project events will be published on
www.z3erp.org. The first project sesssion will happen during the DZUG
meeting on September 22 and 23 in Köthen/Anhalt city.

Preferred licensing of project is GPL. Hosting of the project is on a 
dedicated Erp5.org workspace. Any contribution must be GPL compatible
(ex. ZPL). Copyright is assigned to contributor on a per component
level. To prevent any legal risks resulting from mergers or buyouts, all
code will be formally licensed to the Foundation for a Free Information
Infrastructure (FFII), a global independent software association. All
project code must be archived in the FFII repository.

Nexedi has already assigned 2 full-time engineers to this project.

More information can be obtained by writing at [EMAIL PROTECTED]

References

http://www.z3erp.org
http://www.erp5.org
http://www.dzug.org/organisation/
http://www.ffii.org
http://www.nexedi.com

-- 
Aurélien Calonne - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-PAS] Error installing PlonePAS

2005-08-31 Thread Ricardo Alves

Hi,

I'm having a strange error when trying to install PlonePAS in a newly 
created plone site. Working with versions: PluggableAuthService-1.1b2, 
PlonePAS 0.4.0, plone2.1-rc3, zope2.8.1-final and python 2.4.1.


I'm getting the traceback:

Traceback (innermost last):
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 311, in 
installProduct

- __traceback_info__: ('PlonePAS',)
Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
- __traceback_info__: ((PloneSite at /etx,), {}, None)
Module 
/opt/eurotux/rsa/zope28/run/produtos/eurotuxintranet/PlonePAS/Extensions/Install.py, 
line 796, in install
Module 
/opt/eurotux/rsa/zope28/run/produtos/eurotuxintranet/PlonePAS/Extensions/Install.py, 
line 337, in restoreGroupData

Module Products.PlonePAS.tools.groups, line 67, in addGroup
Module Products.PlonePAS.tools.groupdata, line 134, in setGroupProperties
RuntimeError: Mutable property provider shadowed by read only provider


Printing the propertysheet id, I get 'mutable-properties'.

It looks like it is considering that the property sheet is not 
implementing IMutablePropertySheet. In 'groupdata.setGroupProperties' 
(line 130), the following statement is returning false:

   ...
   if IMutablePropertySheet.isImplementedBy(sheet):
   sheet.setProperty(group, k, v)
   modified = True
   ...

I commented the if statement, and it worked.
   ...
   #if IMutablePropertySheet.isImplementedBy(sheet):
   sheet.setProperty(group, k, v)
   modified = True
   ...

Why is 'isImplementedBy' returning False?
Is this a known issue? Or should be a problem of my zope-2.8.1 installation?


Tanks,

Ricardo Alves

___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


Re: [Zope] Where to authenticate during traversal

2005-08-31 Thread Chris Withers

Dieter Maurer wrote:


I forgot to mention that you need to reindex the index allowedRolesAndUsers
for descendants when you change the permissions and descendants inherit
them.


Well, I know THAT ;-)

(in fact, it's something I'm hoping to optimise some time soon...)

I notice you're still silent about my comments on whether Zope's 
security policy as a whole needs an alternative ;-)


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] HELP!! Data.fs corrupted

2005-08-31 Thread Paul Sue
Hi,
 
Our server crashed and wouldn't boot up.  Fortunately, we had backups of of 
Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on another 
server and used repozo to try to restore Data.fs:
 
./repozo.py -Rv -r /temp/recover -o Data.fs

However, when I start up Zope, I get:
 
2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: /home/zope/ssoi/var/Data.fs 
data record exceeds transaction record at 54956706


ZODB.FileStorage.CorruptedTransactionError: /home/zope/ssoi/var/Data.fs data 
record exceeds transaction record at 54956706

I've tried restoring from a few days ago using the -D option, but I get the 
same problem.

Am I totally hooped or is there some way to recover???

Please, please help!!

Thanks in advance,

Paul
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] HELP!! Data.fs corrupted

2005-08-31 Thread Tino Wildenhain

Paul Sue schrieb:

Hi,
 
Our server crashed and wouldn't boot up.  Fortunately, we had backups of of Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on another server and used repozo to try to restore Data.fs:
 
./repozo.py -Rv -r /temp/recover -o Data.fs


However, when I start up Zope, I get:
 
2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: /home/zope/ssoi/var/Data.fs data record exceeds transaction record at 54956706



ZODB.FileStorage.CorruptedTransactionError: /home/zope/ssoi/var/Data.fs data 
record exceeds transaction record at 54956706

I've tried restoring from a few days ago using the -D option, but I get the 
same problem.

Am I totally hooped or is there some way to recover???


Err. I dont think you need repozo to use your backup Data.fs.
You should just be able to put (a regular file copy) of
your backed up Data.fs in place.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] HELP!! Data.fs corrupted

2005-08-31 Thread Paul Sue
Sorry, I didn't make myself clear .. I have the full backup of the original 
Data.fs and then the incremental deltafs  files, from which I tried to 
recover Data.fs:

2004-11-19-07-32-58.fs
2005-01-04-07-00-53.deltafs
2005-01-01-07-00-57.deltafs
...
2005-08-26-06-01-25.deltafs
2005-08-27-06-01-29.deltafs
2005-08-30-06-01-28.deltafs


-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 2:18 AM
To: Paul Sue
Cc: zope@zope.org
Subject: Re: [Zope] HELP!! Data.fs corrupted

Paul Sue schrieb:
 Hi,
  
 Our server crashed and wouldn't boot up.  Fortunately, we had backups of of 
 Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on 
 another server and used repozo to try to restore Data.fs:
  
 ./repozo.py -Rv -r /temp/recover -o Data.fs
 
 However, when I start up Zope, I get:
  
 2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: 
 /home/zope/ssoi/var/Data.fs data record exceeds transaction record at 
 54956706 
 
 ZODB.FileStorage.CorruptedTransactionError: 
 /home/zope/ssoi/var/Data.fs data record exceeds transaction record at 
 54956706
 
 I've tried restoring from a few days ago using the -D option, but I get the 
 same problem.
 
 Am I totally hooped or is there some way to recover???

Err. I dont think you need repozo to use your backup Data.fs.
You should just be able to put (a regular file copy) of your backed up Data.fs 
in place.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Visibility and CopyPaste support

2005-08-31 Thread Peter Bengtsson
I've understood that in product development I have to register all my
classes with registerClass() that I want to, as instanciated objects,
copy/cut  paste.
Some of these objects I don't want to encourage people to create via
the ZMI and I don't want to clutter up the Add new object drop down
with stuff that can't be added.

If I register the class, but set 'visibility=None' I still can't
copy/cut  paste the instanciated objects. Why? What's the point of
the 'visibility=None' parameter?


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Visibility and CopyPaste support

2005-08-31 Thread Willi Langenberger
According to Peter Bengtsson:
 Some of these objects I don't want to encourage people to create via
 the ZMI and I don't want to clutter up the Add new object drop down
 with stuff that can't be added.
 
 If I register the class, but set 'visibility=None' I still can't
 copy/cut  paste the instanciated objects. Why? What's the point of
 the 'visibility=None' parameter?

As this has bitten me the last time...

The method

  CopySupport.py: CopyContainer._verifyObjectPaste

is responsible for that. It refuses to paste objects with meta_types,
which are not found in the all_meta_types attribute of the target
object.

And yes, I find it (at least) irritating, that an object cannot be
pasted, only because it isn't in the product add list
(visibility=None). And the error message (when pasting) does not help
either:

  The object ... does not support this operation.

Is there a way to hide products from the product add list without
losing the ability to paste its corresponding objects?


\wlang{}

-- 
[EMAIL PROTECTED]Fax: +43/1/31336/9207
Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: upgrade 2.5.1 to 2.7.5 causes error in product code

2005-08-31 Thread Florent Guillaume

John Schinnerer wrote:

Hello,

Thanks Tres, looks like zope 2.7.5/python 2.3.5 is triggering a genuine
full-blown error on my code

python:here.sponsors[0] != ''

if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.

Now I do this

python: (here.sponsors) and (here.sponsors[0] != '')

and it works again.
The second condition may be redundant now I suppose...?



Yes in earlier Zopes, changing a lines property in the ZMI to empty still 
resulted in ('',) instead of (). This has been fixed since.


Florent

--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope scalabilty and problems

2005-08-31 Thread Kennamore, Matthew G [NTK]
Title: Zope scalabilty and problems






Here is our situation, we originally launched zope with a small user base in mind and like most IT implementations it got away from us quickly and we have over 1000 users now. We are experiencing huge slowdowns and lots of complaints of performance.

Let me outline our system:

I have a load balancer that round robins incoming request to 3 zeo servers

I have 1 zope server on the back en that severs the data, this is a large single processor machine with 4 gigs of ram

Each zeo server is 2 gigs of ram, single processor 3.2 gighz

The throughput doesnt appear to be the problem as ram/processors are.

Short term I plan to change all zeos to 4 gigs ram and add 3 additional servers.


The Technologies we are using are Zope, Zeo, plone and so forth. Why are we having these large issues? I see sites with hundreds of thousands of users and they dont seem to have these issues? We plan to recode our site to get away from the Data.fs as soon as we can but that is a ways off yet. What am I doing wrong can anyone help?


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalabilty and problems

2005-08-31 Thread Lennart Regebro
On 8/31/05, Kennamore, Matthew G [NTK] [EMAIL PROTECTED] wrote:
 The Technologies we are using are Zope, Zeo, plone and so forth.  Why are we
 having these large issues?  I see sites with hundreds of thousands of users
 and they don't seem to have these issues?  We plan to recode our site to get
 away from the Data.fs as soon as we can but that is a ways off yet.  What am
 I doing wrong can anyone help? 

Always hard to tell, but maybe you do many writes to the ZODB? As long
as you only read Zope can be very fast, but writes to the ZODB will
take a long time.

Also, Plone (and any CMF technology in fact) has a serious performance
hit in the skins system. There are some improvements possible there,
like giving visitors a special skin that includes fewer skin folders
and such. Check on a plone list for more help there.

-- 
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Help STX in UTF-8

2005-08-31 Thread Vlada Macek
I registered the help directory using

context.registerHelp(directory='help')

in my product's __init__.py. Then I placed UTF-8 encoded STX file in my
language there, but the help via ZMI is displayed with garbled UTF-8
chars. It's unreadable, but it is not the matter of browser's Display
encoding switch.

It's Zope 2.7.5. What can I do to display the file correctly?

-- 

\//\/\
(Sometimes credited as 1494 F8DD 6379 4CD7 E7E3 1FC9 D750 4243 1F05 9424.)


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalabilty and problems

2005-08-31 Thread J Cameron Cooper

Kennamore, Matthew G [NTK] wrote:
Here is our situation, we originally launched zope with a small user 
base in mind and like most IT implementations it got away from us 
quickly and we have over 1000 users now.  We are experiencing huge 
slowdowns and lots of complaints of performance.


Let me outline our system:

I have a load balancer that round robins incoming request to 3 zeo servers

I have 1 zope server on the back en that severs the data, this is a 
large single processor machine with 4 gigs of ram


Each zeo server is 2 gigs of ram, single processor 3.2 gighz

The throughput doesn’t appear to be the problem as ram/processors are.

Short term I plan to change all zeo’s to 4 gigs ram and add 3 additional 
servers.



The Technologies we are using are Zope, Zeo, plone and so forth.  Why 
are we having these large issues?  I see sites with hundreds of 
thousands of users and they don’t seem to have these issues?  We plan to 
recode our site to get away from the Data.fs as soon as we can but that 
is a ways off yet.  What am I doing wrong can anyone help?


You will need to find out where the slow bits are. There are various 
profiling tools for use in Zope. PTProfiler, CallProfiler, etc. Also 
examine your ZODB cache graphs and settings. These can tell you where 
your bottlenecks are.


There are lots of ways to improve performance just administratively. You 
can improve various zope.conf settings, and set up caching (either RAM 
or HTTP Accel.) in Plone. You can also put a caching proxy server (like 
Squid) in front of your Zopes.


Also, Plone 2.1 is significantly faster.

--jcc
--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalabilty and problems

2005-08-31 Thread Peter Bengtsson
From experience, one of the most efficient performance boosts is to
purchase a fast machine for it. If you're in a commercial environment,
your shareholders might prefer that you spent your costed time
developing new things instead of spending a few extra hundreds of
pounds/dollars on expensive CPUs. We even have a plone 2.0 site that
is quite fast believe it or not.

And yes, as J says, get the worst bottlenecks out of the way, but bare
in mind that it's only a bottleneck if it's requested often (such as
the homepage).

If you are relying on the Data.fs for complex data handling, make sure
that your common read methods don't make any writes to the zodb. I had
such a bug in the issuetrackerproduct where getIssueFiltered() made
a save to the zodb under certain conditions. Under heavy use I started
to get zodb conflict errors that I didn't see when developing on
localhost.

On 8/31/05, J Cameron Cooper [EMAIL PROTECTED] wrote:
 Kennamore, Matthew G [NTK] wrote:
  Here is our situation, we originally launched zope with a small user
  base in mind and like most IT implementations it got away from us
  quickly and we have over 1000 users now.  We are experiencing huge
  slowdowns and lots of complaints of performance.
 
  Let me outline our system:
 
  I have a load balancer that round robins incoming request to 3 zeo servers
 
  I have 1 zope server on the back en that severs the data, this is a
  large single processor machine with 4 gigs of ram
 
  Each zeo server is 2 gigs of ram, single processor 3.2 gighz
 
  The throughput doesn't appear to be the problem as ram/processors are.
 
  Short term I plan to change all zeo's to 4 gigs ram and add 3 additional
  servers.
 
 
  The Technologies we are using are Zope, Zeo, plone and so forth.  Why
  are we having these large issues?  I see sites with hundreds of
  thousands of users and they don't seem to have these issues?  We plan to
  recode our site to get away from the Data.fs as soon as we can but that
  is a ways off yet.  What am I doing wrong can anyone help?
 
 You will need to find out where the slow bits are. There are various
 profiling tools for use in Zope. PTProfiler, CallProfiler, etc. Also
 examine your ZODB cache graphs and settings. These can tell you where
 your bottlenecks are.
 
 There are lots of ways to improve performance just administratively. You
 can improve various zope.conf settings, and set up caching (either RAM
 or HTTP Accel.) in Plone. You can also put a caching proxy server (like
 Squid) in front of your Zopes.
 
 Also, Plone 2.1 is significantly faster.
 
 --jcc
 --
 Building Websites with Plone
 http://plonebook.packtpub.com/
 
 Enfold Systems, LLC
 http://www.enfoldsystems.com
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Sending Fax through MailHost

2005-08-31 Thread Chris Larsen
Title: Sending Fax through MailHost






Hi,

I'm trying to put a fax number into the To: field of the mailhost header and am not having much luck. Obviously the standard for this is to address the email to [FAX:18479131145] but when I do [FAX:1dtml-var faxnum] it just tells me that there are no recipients designated.

Any ideas?

Thanks,
chris




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Where to authenticate during traversal

2005-08-31 Thread Dieter Maurer
Chris Withers wrote at 2005-8-31 08:45 +0100:
 ...
I notice you're still silent about my comments on whether Zope's 
security policy as a whole needs an alternative ;-)

I argued earlier against it. That's why I was silent this time...

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] HELP!! Data.fs corrupted

2005-08-31 Thread Dieter Maurer
Paul Sue wrote at 2005-8-31 01:31 -0700:
 ...
./repozo.py -Rv -r /temp/recover -o Data.fs

However, when I start up Zope, I get:
 
2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: /home/zope/ssoi/var/Data.fs 
data record exceeds transaction record at 54956706


ZODB.FileStorage.CorruptedTransactionError: /home/zope/ssoi/var/Data.fs data 
record exceeds transaction record at 54956706

You may try fsrecover. Be warned however, that it will loose information
(at least the broken transaction will be lost).

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Excel spreadsheet attachment in dtml-sendmail

2005-08-31 Thread Chris Larsen
Title: Excel spreadsheet attachment in dtml-sendmail






Hi again,

Now on to my next problem.. I have tried the below code to send off a spreadsheet as an attachment and am getting a dat file and a 232B file that cant be read.

Heres the code from zopelabs.com appropriated to my own info:

dtml-sendmail mailhost=MailHost
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: some subject
dtml-mime type=application/msexcel encode=base64
Content-Disposition: inline; filename=ics.xls
dtml-boundary name=ics.xls type=application/msexcel
disposition=attachment encode=base64
/dtml-mime

/dtml-sendmail

I thought they type was supposed to be application/vend.msexcel
I've tried both ways tho but to no avail.

Thanks in advance,
Chris Larsen





___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Excel spreadsheet attachment in dtml-sendmail

2005-08-31 Thread Chris Larsen
Title: Excel spreadsheet attachment in dtml-sendmail








Never mind.. the dtml-boundary looks like
this now.. I guess that zopelabs.com how-to needs to be updated.. oh well.



dtml-boundary disposition=attachment
type=application/vend.ms-excel encode=base64 filename=ics.xlsdtml-var
expr=ics.data











From: Chris Larsen 
Sent: Wednesday, August 31, 2005
3:10 PM
To: zope@zope.org
Subject: [Zope] Excel spreadsheet
attachment in dtml-sendmail





Hi again,

Now on to my next problem.. I have tried the below code to send off a
spreadsheet as an attachment and am getting a dat file and a 232B file that
cant be read.

Heres the code from zopelabs.com appropriated to my own info:

dtml-sendmail mailhost=MailHost
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: some subject
dtml-mime type=application/msexcel encode=base64
Content-Disposition: inline; filename=ics.xls
dtml-boundary name=ics.xls type=application/msexcel
disposition=attachment encode=base64
/dtml-mime

/dtml-sendmail

I thought they type was supposed to be application/vend.msexcel
I've tried both ways tho but to no avail.

Thanks in advance,
Chris Larsen






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Sending Fax through MailHost

2005-08-31 Thread Chris Larsen
Title: Sending Fax through MailHost








Sorry for the slim amount of information..
heres what my dtml-sendmail header looks like:



dtml-sendmail
mailhost=MailHost

To: [Fax:18478767346] 

From: [EMAIL PROTECTED]

Subject: dtml-in
select_messagedtml-var subject 

dtml-mime type=text/html
disposition=inline encode=7bit













From: Chris Larsen 
Sent: Wednesday, August 31, 2005
1:19 PM
To: zope@zope.org
Subject: [Zope] Sending Fax
through MailHost





Hi,

I'm trying to put a fax number into the To: field of the mailhost
header and am not having much luck. Obviously the standard for this is to
address the email to [FAX:18479131145] but when I do [FAX:1dtml-var
faxnum] it just tells me that there are no recipients designated.

Any ideas?

Thanks,
chris






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Sending Fax through MailHost

2005-08-31 Thread Chris Larsen
Title: Sending Fax through MailHost








By the way, I did notice that in my
address in outlook its specified as the email-type FAX
and when I put a normal email address in it is email type SMTP.
I guess when you do [fax: ] it changes the email-type to FAX and uses the
number as the address.



I am thinking there would have to be an
additional header line similar to content-type but I dont know where
this would go or what it would be. Is this even supported (or
supportable??)



Thanks,

chris









From: Chris Larsen 
Sent: Wednesday, August 31, 2005
1:19 PM
To: zope@zope.org
Subject: [Zope] Sending Fax
through MailHost





Hi,

I'm trying to put a fax number into the To: field of the mailhost
header and am not having much luck. Obviously the standard for this is to
address the email to [FAX:18479131145] but when I do [FAX:1dtml-var
faxnum] it just tells me that there are no recipients designated.

Any ideas?

Thanks,
chris






___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Sending Fax through MailHost

2005-08-31 Thread Jens Vagelpohl


On 31 Aug 2005, at 22:29, Chris Larsen wrote:

By the way, I did notice that in my address in outlook it’s  
specified as the “email-type” “FAX” and when I put a normal email  
address in it is “email type” “SMTP”.  I guess when you do [fax: ]  
it changes the email-type to FAX and uses the number as the address.



I am thinking there would have to be an additional header line  
similar to content-type but I don’t know where this would go or  
what it would be.  Is this even supported (or supportable??)


What you are trying to do is not supported because your FAX addresses  
are not valid and legal email addresses. MailHost will simply ignore  
them. You would have to write your own implementation that does  
something intelligent with those odd addresses.


jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Sending Fax through MailHost

2005-08-31 Thread Chris Larsen
Title: RE: [Zope] Sending Fax through MailHost






thanks

-Original Message-
From: Jens Vagelpohl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 31, 2005 4:57 PM
To: zope user list
Subject: Re: [Zope] Sending Fax through MailHost




On 31 Aug 2005, at 22:29, Chris Larsen wrote:

 By the way, I did notice that in my address in outlook its
 specified as the email-type FAX and when I put a normal email
 address in it is email type SMTP. I guess when you do [fax: ]
 it changes the email-type to FAX and uses the number as the address.


 I am thinking there would have to be an additional header line
 similar to content-type but I dont know where this would go or
 what it would be. Is this even supported (or supportable??)

What you are trying to do is not supported because your FAX addresses
are not valid and legal email addresses. MailHost will simply ignore
them. You would have to write your own implementation that does
something intelligent with those odd addresses.

jens

___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZMySQLDA

2005-08-31 Thread michael
Hi, I am trying to set this up, following install instructions from 
zope.org/Members/Mike/ZMySQLDA 
make -f Makefile command works fine, but 'make' afterwards produces 
the following error:


can some one please help me!  I have followed all instructions around, 
and none of them cover this problem (problem is pro'lly me!)


mike.

output follows:

 snip ---
[EMAIL PROTECTED] src]# make
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-I/usr/local/include/python2.4 -I/usr/local/include/python2.4 @DEFS@   
-I/usr/local/mysql/include -I/usr/include/mysql -c ././MySQLmodule.c -o 
./MySQLmodule.o

gcc: @DEFS@: No such file or directory
././MySQLmodule.c:199: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âclear_channelâ:
././MySQLmodule.c:204: warning: suggest parentheses around assignment 
used as truth value

././MySQLmodule.c: At top level:
././MySQLmodule.c:217: warning: function declaration isnât a prototype
././MySQLmodule.c:229: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âpythonify_rowâ:
././MySQLmodule.c:238: warning: assignment from incompatible pointer type
././MySQLmodule.c: At top level:
././MySQLmodule.c:339: warning: function declaration isnât a prototype
././MySQLmodule.c:373: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âpythonify_res_fieldsâ:
././MySQLmodule.c:384: error: invalid lvalue in unary ââ
././MySQLmodule.c: At top level:
././MySQLmodule.c:483: warning: function declaration isnât a prototype
././MySQLmodule.c:502: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âMySQL_connectâ:
././MySQLmodule.c:515: warning: implicit declaration of function 
âmysql_connectâ

././MySQLmodule.c: At top level:
././MySQLmodule.c:530: warning: function declaration isnât a prototype
././MySQLmodule.c:562: warning: function declaration isnât a prototype
././MySQLmodule.c:580: warning: function declaration isnât a prototype
././MySQLmodule.c:607: warning: function declaration isnât a prototype
././MySQLmodule.c:634: warning: function declaration isnât a prototype
././MySQLmodule.c:662: warning: function declaration isnât a prototype
././MySQLmodule.c:688: warning: function declaration isnât a prototype
././MySQLmodule.c:722: warning: function declaration isnât a prototype
././MySQLmodule.c:734: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_createâ:
././MySQLmodule.c:743: warning: implicit declaration of function 
âmysql_create_dbâ

././MySQLmodule.c: At top level:
././MySQLmodule.c:753: warning: function declaration isnât a prototype
././MySQLmodule.c:767: warning: function declaration isnât a prototype
././MySQLmodule.c:779: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_statâ:
././MySQLmodule.c:787: warning: assignment discards qualifiers from 
pointer target type

././MySQLmodule.c: At top level:
././MySQLmodule.c:796: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_clientinfoâ:
././MySQLmodule.c:799: warning: unused variable âinfoâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:815: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_hostinfoâ:
././MySQLmodule.c:823: warning: assignment discards qualifiers from 
pointer target type

././MySQLmodule.c: At top level:
././MySQLmodule.c:832: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_serverinfoâ:
././MySQLmodule.c:840: warning: assignment discards qualifiers from 
pointer target type

././MySQLmodule.c: At top level:
././MySQLmodule.c:849: warning: function declaration isnât a prototype
././MySQLmodule.c:866: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_dropâ:
././MySQLmodule.c:875: warning: implicit declaration of function 
âmysql_drop_dbâ

././MySQLmodule.c: At top level:
././MySQLmodule.c:885: warning: function declaration isnât a prototype
././MySQLmodule.c:902: warning: function declaration isnât a prototype
././MySQLmodule.c: In function âDBH_shutdownâ:
././MySQLmodule.c:909: error: too few arguments to function âmysql_shutdownâ
././MySQLmodule.c: At top level:
././MySQLmodule.c:920: warning: function declaration isnât a prototype
././MySQLmodule.c:973: warning: function declaration isnât a prototype
././MySQLmodule.c:986: warning: function declaration isnât a prototype
././MySQLmodule.c:994: warning: function declaration isnât a prototype
././MySQLmodule.c:1032: warning: function declaration isnât a prototype
././MySQLmodule.c:1040: warning: function declaration isnât a prototype
././MySQLmodule.c:1070: warning: function declaration isnât a prototype
././MySQLmodule.c:1085: warning: function declaration isnât a prototype
././MySQLmodule.c:1102: warning: function declaration isnât a prototype
././MySQLmodule.c: In