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

2000-07-16 Thread Jrgen 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 Jrgen 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 Jrgen 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 Jrgen 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 ..

trtdbAnnonse tekst:/b/tdtddtml-var annonse_tekst newline_to_br/td

.. 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. ']/td

.. how do I get ouput without the ['text'] .. 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] SV: [Zope] Q: Link status/checking

2000-06-02 Thread Jrgen Skogstad

Hi there.. 

Sure! I just did a quick read through of the url you posted and it
looks to me that you've started with what I want. I am very interested
in getting this to work within the Zope framework as well.. with 
Sql support etc. as I am doing a project that would require "robotic"
features! ;) Don't we just hate manual labour. ;) 

.. I'll take a look at what you've done .. and get back to you later this
weekend. I'm in the process of moving and I have a @34@? of
packing to do.

Ttyl.. 

.. and have a real nice day!

Kindest,
Jorgen 

- Opprinnelig melding - 
Fra: Oleg Broytmann [EMAIL PROTECTED]
Til: JÛrgen Skogstad [EMAIL PROTECTED]
Kopi: [EMAIL PROTECTED]
Sendt: 1. juni 2000 12:39
Emne: Re: [Zope] Q: Link status/checking


 Hi!
 
I am working on such project for a few years. From time to time I make
 an announcement in comp.lang.python, subject "Bookmarks database and
 Internet robot". This is a copy of my latest announce:
http://www.deja.com/=dnc/getdoc.xp?AN=626677041
 
It my hobby project, in pure Python. Wanna cooperate on this?
 
 On Thu, 1 Jun 2000, [Windows-1252] Jørgen Skogstad wrote:
  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?
 
 Oleg.(All opinions are mine and not of my employer)
  
 Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
 
 


___
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 Jrgen 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 )