[Zope] Disabling SiteAccess/SiteRoot ..

2000-11-04 Thread Jørgen Skogstad

Kindest.. 

Of course I did something wrong. ;) I need to disable the SiteRoot
i implemented.. because right now all is /&#% up.. ;)  Have you
got any information about this? I am running this startup script
as of now.. but it does nothing (esp. thinking of the env. variable
that was stated on www.zope.org).

#! /bin/sh 
#exec 2>&1
SUPPRESS_ACCESSRULE=yahoo
export SUPPRESS_ACCESSRULE 
PATH=$PATH:/usr/local/bin
PYTHONPATH=$PYTHONPATH:/usr/local/lib/python1.5/site-packages
reldir=/usr/local/zope/Zope-2.2.1-solaris-2.6-sparc/
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
export PYTHONPATH
exec /usr/local/zope/Zope-2.2.1-solaris-2.6-sparc/bin/python \
 $PYTHONHOME/z2.py \
 -a 'localhost' \
 -u 'zope' \
 -m '' \
 -f '' \
 -p '' \
 -F '8989' \
 -d '' \
     -w '' \
 -D \
 -Z '' "$@"

Would apriciate any input!

Kindest,
Jørgen Skogstad


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




Re: [Zope] How best to restart Zope?

2000-09-19 Thread Jørgen Skogstad

Jason Cunliffe wrote:
> 
> Hello
> 
> Q: How to make sure Zope restarts automatically it is shut down ?
> 
> Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86)
> Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]
> Linux2.2.5-15 RedHat6.0 (Hedwig)
> 
> any ideas?
> 
> tia
> - Jason
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

There is an article on www.zope.org that describes the
daemontools package .. do a search on the zope website for
"daemontools" .. and you should be redirected to some
"lightwerk" website in germany i think.. 

.. that should do the trick!

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] ODP / Zope / Zexp / Python ++

2000-09-17 Thread Jørgen Skogstad

Hi there.. 

Trying to import the ODP browser thingie from the Oedipus
project ( http://oedipus.sourceforge.net/ ) .. but are having
some problems.. the error is pasted beneath!

Zope Error
Zope has encountered an error while publishing this resource. 
Error Type: SystemError
Error Value: Failed to import class _ZClass_for_ODPDA from module Products.ODPDA
 .
.
 .
Traceback (innermost last):
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 
214, in publish_module
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 
179, in publish
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, 
in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 
165, in publish
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 
160, in mapply
(Object: manage_importObject)
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 
102, in call_object
(Object: manage_importObject)
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/OFS/ObjectManager.py, line 
484, in manage_importObject
(Object: ApplicationDefaultPermissions)
  File /www1/zope/-Zope-2.1.6-linux2-x86/lib/python/ZODB/ExportImport.py, line 
284, in importFile
SystemError: (see above)

Have anyone else tried this with success .. and could give me
som hints as to how I can get this to work. I really would like
to look into this.. 

Have a real nice day!

kindest, 
Jørgen Skogstad


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




[Zope] Oedipus / Zope / python / product / XML ++

2000-09-11 Thread Jørgen Skogstad

Hi there .. 

I've been looking into something this weekend. I need somehting
that can handle my link database etc. and list them through Zope
on a regular basis.

I was looking at Oedipus which can create "semi-xml" DMOZ like
directories which would suffice for v0.1b of my product. I was
thinking of using Oedipus and store them in the database there
and generate a new xml-like-structure every day through some
cron script.

.. what I was hoping for is to use the LocalFS product for Zope
and some kind of python "product" (which I need to make to fit
into Zope) which can parse this .. sort of like the *.cgi 
script which followed with the Oedipus installation.

By doing this; I can generate DMOZ/Link databases that show 
information about the site; when it was checked last, updated
etc. etc.

My questions are as follows;
* How do I generate a package of some pythong scripts?
* Are there any better ways of parsing and putting this 
  xml-like file under "Zope control" .. 

* Are there any XML products for Zope that can get a file
  from an url .. and parse this with some python scripts to
  generate a yahoo type listing?

Would apriciate any input!

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] Zope + Apache + fastcgi + unix socket ..

2000-09-04 Thread Jørgen Skogstad

Hi there.. 

Have any1 of you gotten local unix domain socket style access
of Zope behind Apache to work? I have not .. and I am running
this on Solaris. 

I see that Apache is trying to access the "file" .. and I presume
the request is passed to fastcgi .. but I never see the request 
in Z2.log.

I have fired Zope with socket access .. and configured Fast-
CgiExternalServer .. etc. for apache.

Anyone have any information about this? Would apriciate any!
I have browsed www.zope.org too .. without any success .. ;)

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] SV: [Zope] Builing DynPersist.c - LoginManager / ZPatterns ..

2000-08-21 Thread Jørgen Skogstad

Oh! Have dl'ed the src dist again .. and there are certain
relationships between various codes in there.. and just thought
that if someone had built it .. I could get the .so file .. 
and spare me the extra trouble! ;) Sorting those stuff could
take a day .. or perhaps no more than an hour.. but still!

.. Will try again though.. and see if I can get it to work. ;)
Somehow. ;) 

Have a real nice day.. 

Kindest,
Jørgen Skogstad

- Opprinnelig melding - 
Fra: R. David Murray <[EMAIL PROTECTED]>
Til: Jørgen Skogstad <[EMAIL PROTECTED]>
Kopi: <[EMAIL PROTECTED]>
Sendt: 21. august 2000 20:31
Emne: Re: [Zope] Builing DynPersist.c - LoginManager / ZPatterns ..


> On Mon, 21 Aug 2000, [iso-8859-1] Jørgen Skogstad wrote:
> > DynPersist.c
> > 
> > It is the file above it fails on .. and I think I saw a message
> > that this is a "common" problem others have experienced. Is this
> > correct? And does anyone have the shared lib for RH v6.2??
> 
> If RH, probably RPMs. If RPMs, probably not the source/deveopment
> RPMs.  I thnk you need the development RPM for Python, and maybe the
> source RPM for Zope, in order to get this to compile.  
> 
> --RDM
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 


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




[Zope] Builing DynPersist.c - LoginManager / ZPatterns ..

2000-08-21 Thread Jørgen Skogstad

Kindest .. 

I've been trying to implement LoginManager with ZPatters today,
but have failed so far. Can anyone give me some input with this.
Would really like to have some pointers in the correct direction.

DynPersist.c

It is the file above it fails on .. and I think I saw a message
that this is a "common" problem others have experienced. Is this
correct? And does anyone have the shared lib for RH v6.2??

.. would really apriciate it if someone would contribute 5 mins
of their time!

Have a real nice day.. and thanks in advance. ;) 

-- 


Med vennlig hilsen,
Jørgen Skogstad

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




Re: [Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 -> compile/install ..

2000-07-28 Thread Jørgen Skogstad

> > I am having certain problems with the installment of the product.
> > I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to
> > install and compile just fine with no errors reported.
> Try to use the most recent packages to be found at:
> http://www.dustman.net/andy/python
> Don't use any patch or whatever.. This should solve your problems.

Got it running now.. wierd stuff.. I had an old implementation og
Zope in /usr/local... .. and the new in /test .. and when I added the
db adapter to the /zope thing .. the paths went all crazy .. 

.. though; when I added the $PYTHONPATH to the /site-packages dir 
with the mysql db adapter and the mysqlclient.so file.. even the
zope packaged python could import _mysql .. so; now all is well
and I am ready to conquer mysql land once again.

Thanks alot for the input.. and you guys have a real nice weekend. ;) 

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] Zope + _mysql + mysql database adapter ..

2000-07-28 Thread Jørgen Skogstad

Kindest.. 

I've compiled the "ZMySQLDA-1.2.0.tar.gz" for Zope v2.2 and
mysql with success. No errors occur exept after I restart Zope.
I have two python instances on my machine .. one in the
Zope dir (bundled with Zope) .. and the ordinary in 
/usr/local/bin/python .. the Zope python instance does not
recognize the _mysql module, but the /usr/local/bin/python
does;

15:32 root@nexus [ /home/kroot > /usr/local/bin/python
Python 1.5.2 (#1, Jul 13 2000, 23:33:39)  [GCC 2.95.2 19991024
(release)] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _mysql
>>> ^D
15:32 root@nexus [ /home/kroot > 

15:31 root@nexus [ /service/zope >
/local/zope/Zope-2.2.0-solaris-2.6-sparc/bin/python
Python 1.5.2 (#8, Nov 16 1999, 10:05:41)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _mysql
Traceback (innermost last):
  File "", line 1, in ?
ImportError: No module named _mysql
>>> ^D
15:31 root@nexus [ /service/zope > ^D

How can I make sure that the Zope bundled python instance 
also gets access to the _mysql python module? I am sure this
is just a matter of arguments or possibly some env variables..

.. but as of right now; I am lost. ;) 

Would apriciate any input! ;) 

-- 


Med vennlig hilsen,
Jørgen Skogstad

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




[Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 -> compile/install ..

2000-07-28 Thread Jørgen Skogstad

Kindest ..

I am having certain problems with the installment of the product.
I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to 
install and compile just fine with no errors reported.

.. and I have manually checked that "import _mysql" works in 
python .. so it has mysql support.

.. however this error message occurs when I restart Zope and
check if the product was imported fine (which is obviously was
not!)

ZMySQLDA Import Traceback

Traceback (innermost last):
  File
"/usr/local/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/Application.py",
line 396, in import_products
  File
"//zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/__init__.py",
line 106, in ?
import sys, os, Globals, DA
  File
"//zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/DA.py",
line 108, in ?
from db import DB
  File "/usr/share/zope/lib/python/Products/ZMySQLDA/db.py", line 106,
in ?
ImportError: No module named _mysql

Why does this path occur;
"/usr/share/zope/lib/python/Products/ZMySQLDA/db.py"

??

I have not referenced anything there.. and should be in the general
Zope implementation.. should it not?

Anyone had similar problems and solved them?

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] SV: [Zope] Re: ZEO and 2gb max limit for linux .. not for solaris etc.

2000-07-27 Thread Jørgen Skogstad

> > Hmm.. well .. I can tell you what I know as of today. Linux
> > has this limitation as of today. At least all the variants I
> > have come over (mostly Red Hat and Suse). The limitation is in
> > the filesystem implementation itself; meaning that the number
> > of "references" that can be created cannot exceed the address
> > limit of 2gb.
> Not quite true. The problem only exixts in Linux on 32 bit x86 hardware.
> Wherever Linux is 64 bit, the problem is non-extant.
> BTW, both RedHat and Suse (and Debian, IIRC) have distribions for the Alpha platform.

Yep.. didn't think of that as I have never reasoned
for running linux on any of those platforms. ;) I've
used to running Solaris on sparc.. and when needed
linux on x86 hardware (when solaris for intel was not
the correct choice).

Though; I look forward for SGI's implementation og
XFS when it arrives in beta this summer.

Though; are there any possibilities that Zope may
implement "Oracle style" distribution og the databases
in due time? Like then you have a bit more "control" 
over where you put your data .. and what kind of devices
you put them on?

.. possibly this can be done through ZEO and the beta
shared object database (mount more than one instance 
of the Data.fs files).

Have a real nice day! ;) 

Kindest,
Jørgen Skogstad



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




[Zope] Re: MySQL as backend for a website

2000-07-27 Thread Jørgen Skogstad

Heiko Stoermer wrote:
> Try Zope ! (www.zope.org)
> it enables you to do many things without  a
> database very easily. and: yes, it can also connect to mysql.

What is the best (latest?!) implementation of a db 
connector for Zope? Seems to be several outthere.. but
I have not yet tried any. ;) 

Thanks! ;)

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] Re: ZEO and 2gb max limit for linux .. not for solaris etc.

2000-07-27 Thread Jørgen Skogstad

Sven Hohage wrote:
> 
> Hallo Jorgen,
> I write you cause I've got a question about Zope.
> You've posted on the mailing list on my question with the filesize of
> the data.fs or in ZEO ZSS.
> My problem is that I'd like to know which Unix - versions don't have
> this filesize limitations and if there is a linux version without that
> limit.
> Or do you know another way to solve this problem??
>  Many thanks
>  Sven

Hmm.. well .. I can tell you what I know as of today. Linux
has this limitation as of today. At least all the variants I 
have come over (mostly Red Hat and Suse). The limitation is in
the filesystem implementation itself; meaning that the number
of "references" that can be created cannot exceed the address
limit of 2gb. 

Solaris does not have this limitation and neither does Hp-Ux
or SGI Irix. I know previous versions of SunOS (v4.x) had the
same limitation as linux is experiencing today.

Though.. there are ways "around" the problem. Though; all different
over the variuos unix versions as of today. When running Zope
you really don't have much choice on linux. When you hit the
2gb barrier .. you have problems. I have not tried it .. but 
as I can recall there was a product for Zope that made it possible
to "mount" several databases at once .. though it was beta.

.. this might solve a problem .. and would from my point of view
be a nice way to go. This way; the administrator of the system
also have some choices as to where he want to put his data. 
Then you can move certain object databases to fast storage .. 
and so forth.

.. so; if you have those problems; get Solaris v7/v8 for Intel
(or if you can afford it-> sparc!) .. and run Zope of that.

I do so .. but then again; I am not near the 2gb barrier that
many people have come over. ;) 

.. on the other hand; I am not aware of the various "beta"
filesystem implementations and kernel "to-do"'s for linux, 
but I suspect that it will not be long before that problem
is solved.

.. oh! When I think of it.. SGI has ported their XFS to linux.
Not sure how far that implementation has gone yet.. but the
link to check out is;

http://oss.sgi.com/projects/xfs/

Looks promising.. and a "production" like filesystem for linux
is a "must" as far as I can see. ;) Just read the brief here;

  Sub-second filesystem recovery after crashes or power
  failures (never wait for long fscks again)

  64-bit scalability: millions of terabytes, millions of files,
  and a million files per directory (no more 2 GB limits)

  High reliability and performance from journaling and other
  advanced algorithms

Hope that helped a bit??

.. just shoot if there's more I can help with! ;) 

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




Re: [Zope] ZEO

2000-07-23 Thread Jørgen Skogstad

Martijn Pieters wrote:
> 
> On Fri, Jul 21, 2000 at 12:46:11PM +0200, Sven Hohage wrote:
> > is the filesize of the Zope Storage Server also  limited to 2 GB?
> 
> If you are running on a default Linux filesystem, the answer is yes. ZODB
> FileStorage isn't limited to 2GB, it's the filesystem that can't handle larger
> files that is the problem.

Oh .. ok .. but then; if you run on Solaris which removed
that limitation some years ago .. we're in the clear!? ;)

-- 


Med vennlig hilsen,
Jørgen Skogstad


  /\System Specialist
 \\ \   
\ \\ /  Sun Microsystems AS
   / \/ / / Gjerdrums vei 12  
  / /   \//\N-0486 Oslo, NORWAY  
  \//\   / /  
   / / /\ / Phone:+ 47 22 02 39 00 
/ \\ \  Cellular: + 47 92 41 30 23
 \ \\   Fax:  + 47 22 02 39 99  
  \/EMail:[EMAIL PROTECTED]
Web:  www.sun.no  

BTW; Opinions formed by myself in informal mailings are 
 mine and not of my employer.

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




[Zope] Starting Zope v2.2.0 with daemontools etc. - problem starting!

2000-07-16 Thread Jørgen Skogstad

Hi there.. 

I've just tried to install the new Zope with daemontools .. but I seem
to get an error after I initiate zope through dameontools with "svc -u
/service/zope" .. here what it continues to output;

16:52 zope@nexus [ /usr/local/zope/Zope-2.2.0-solaris-2.6-sparc > more temp.txt 
Traceback (innermost last):
  File "/usr/local/zope/Zope-2.2.0-solaris-2.6-sparc/z2.py", line 289, in ?
here=os.path.join(os.getcwd(), os.path.split(program)[0])
OSError: [Errno 13] Permission denied

16:52 zope@nexus [ /usr/local/zope/Zope-2.2.0-solaris-2.6-sparc > 

.. zope is suposed to run as uid zope .. and gid zope .. and therefore
I start it in the run script with "setuidgid zope" .. and I've
tested the run script alone = it works!

.. though when starting under daemontools it complains about the above.
stuff.. 

.. anyone seen this .. or know why?

.. need input from you other zopeaistas!

Kindest,
Jorgen Skogstad


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




[Zope] International characters / search / objects / viewing ..

2000-07-05 Thread Jørgen Skogstad

Kindest!

Have anyone seen problems with international characters in
ZClasses / searches? The problem only arise after the object
is inserted into the object database.. and when viewed after
the search.. when it is inserted into the object database all
seems ok and looks just fine on the screen.

"'Heisann .. dette er kun en liten test annonse for \345 vise at 
 kontakt annonse biten omsider fungerer. Den er ikke optimal og 
 det er en del punkter som b\370r gj\370res"

.. the codes above are for norwegian characters.. and I was
wondering how I fix this problem?

Could this have something to say with "-L" option for starting
Zope? .. or is this simply the object database cannot cope 
with characters other than the "normal english" alhpabet?

Any input?

Would be very happy!

.. and have a real nice day!

Kindest,
Jørgen Skogstad


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




[Zope] How to cope with International characters / Zclass / property sheets...

2000-06-30 Thread Jørgen Skogstad

Hi there.. 

Have anyone had problems with getting /345 etc. codes in 
their output? I get that when I try to "print" objects 
with texts after searching the items in ZCatalog .. 

.. could anyone give me any clues of how to solve this?

Would be very happy if you could assist somehow!

Kindest,
Jørgen Skogstad


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




[Zope] [lines] element in "property sheets" ++ \345 29 \345r ..

2000-06-29 Thread Jørgen Skogstad

Kindest.. 

I have object contained in ZObjects .. and I have some object
"parsing" the contents based on a search.. The type in the 
property sheet is;

[text]

Beneath is the dtml code used to print the main content of
the type mentioned above ..

Annonse tekst:

.. my problem is that the final output when parsed with the
dtml code above is something like;

['hei', ' jeg er .. p\345 29 \345r som s\370ker .
...angre seri\370st ment. ']

.. how do I get ouput without the [''] .. entries.. 
that is; "clean output" .. as well as how can i get the ascii 
codes like \345 to be the correct html code for norwegian 
caracters?

Would apriciate any input here.. 

Thanks in advance.

Kindest,
Jørgen Skogstad



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




[Zope] Q: Link status/checking -

2000-06-01 Thread Jørgen Skogstad

Kindest,

I was wondering about a few points I havn't seen any references
to. Are there any implementations in Zope that can verify the 
validity of an url? That is; 

1) A link database is generated .. and should be maintained.
2) A process should be run at least once a week to check the
   validity of links in the database. 
3) If the link is not "valid" .. it sets a tag in the db which
   says it's untrusted .. which again could show that in the
   link listed on the web through Zope.
4) .. and if it's untrusted for N runs .. it is removed.

.. have anyone looked into that? .. and anyone made any conclusions
as to how one can solve that?

I am not that familiar with Python .. but I might be interested
in generating such an engine.. based on Zope / mySql of some
sorts.

.. Perl support would really make me happy right now!

Have a real nice day. 

Kindest,
Jørgen Skogstad




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




[Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread Jørgen Skogstad

Kindest sir, 

I have a small question I hope someone could share some wisdom
with. I am not that familiar with the various objects available
within the Zope framework yet.

.. I have made a ZCatalog which works seamlessly for text only
searches etc. However; I need to search on a date basis on the
generated object in the ZCatalog.

For now my "date" entry/column is [string] coded.. not "date"
as would be apropriate? How can I use date .. and then make
a search to get the last 5 entries in a table?

http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching

.. shows some possible ways to do this; but I can't seem to get
them to work properly;

 Items modified in the last 14 days


  New item:
  


.. does anyone have any information on how they have used this
and gotten it to work? .. and might have an example or two? ;) 

What exactly does the various elements in the above example do?
.. like "Catalog(bobobase_modification_time=_.DateTime(date)-14,
  bobobase_modification_time_usage='range:min')" ??

.. mm .. any input? ;) 

Thanks in advance.. 

Kindest,
Jørgen Skogstad


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