[Zope] Searching a LocalFS through Zope

2000-10-17 Thread neeloy_saha

Hi all,

Well I had sent this earlier but i want to resend this again!! I have not
yet received a reply back. 

Can anyone suggest me a way out ???

I have lots of old html/ documents that I want to publish through my zope
portal. To ensure that I do not tweak html files I have used the LocalFS
product, also I do not want to **load the data.fs**. Now. I am running into
search problems. How do i do a search the filesystem file? and also ensure
that the search results come from both the filesystem files and the portal
zcatalog.??

I guess there are two ways ??
** attach a search engine to index on the filesystem files and let zcatalog
take care of the rest.
** or make all those html files zcatalog aware.But then u cant look inside
pdf/latex/word docs or do u??.

I guess I would prefer the first one !! gut feel probably that would require
less effort and I can support different file formats . Has anyone used a
FREE external search engine ith zope before.If so which one is it ???

-neeloy

-Original Message-
From: Guido van Rossum [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 16, 2000 7:53 PM
To: neeloy_saha
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Subject: Re: Migrating website to zope.


Strange though it seems, we are *not* Zope experts (yet).  We used an
external volunteer to set up our site.  I recommend that you post your
question to one of the Zope mailing lists -- see www.zope.org for
pointers.

--Guido van Rossum (home page: http://www.python.org/~guido/)

 Subject: Migrating website to zope.
 From: neeloy_saha [EMAIL PROTECTED]
 To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
 Cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED],
 "'[EMAIL PROTECTED]'"
 [EMAIL PROTECTED]
 Date: Mon, 16 Oct 2000 16:00:43 +0530
 
 Hi all,
 
 Sorry if u receive this mail multiple times.I need help desperately.
 
 I am working in a migration project where I am trying to reenginer my
 website from the html/cgi based thing to zope.[something like urs
 http://www.pythonlabs.com/news/08-22-2000-0001.html  ] I have lots of
legacy
 static html documents which I want to use "as it is". So I have taken help
 of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and
used
 it to serve the html documents.
 
 Now I am facing a tricky issue of how to do a search on those files (
html
 )as i do not find any patch which makes them a part of the Zcatalog. I am
 using the Zcatalog to do the search on other contents of my site. 
 
 I guess u might have faced the same issue and implemented the search. I
 desperately need help on this issue. any pointers/code/patches/contact
 person /how u went abt it!! would be welcome.
 
 Thx in advance.
 
 -neeloy
  India

___
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] Ability to catalog localFS objects in the portal catalog

2000-10-13 Thread neeloy_saha

Hi all,

I have lots of old html/ documents that I want to publish through my zope
portal. To ensure that I do not tweak html files I have used the LocalFS
product, also I do not want to load the data.fs

Now. I am running into search problems. How do i do a search the filesystem
file? and also ensure that the search results come from both the filesystem
files and the portal zcatalog.??

Thx and regards.

-neeloy

___
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] Apache + Zserver + SiteAccess + Search results from the catalog

2000-09-27 Thread neeloy_saha

Hi all,

The href generated for my search results is not resulting in right Links as
a result I am getting the 404 error.


** I have followed the "HOW-TO : Using Apache with Zserver(Not Zope.cgi)"
and implemented a complete virtual host:(second example)

   VirtualHost 192.168.81.132:80
#ServerAdmin [EMAIL PROTECTED]
#DocumentRoot /www/docs/host.some_domain.com
#ServerName host.some_domain.com
#ErrorLog logs/host.some_domain.com-error_log
#CustomLog logs/host.some_domain.com-access_log common
 ProxyPass /webradar http://192.168.81.132:8081/WebRadar3.0
 ProxyPassReverse /webradar http://192.168.81.132:8081/WebRadar3.0
 ProxyPass /misc_ http://192.168.81.132:8081/misc_
 ProxyPass /p_ http://192.168.81.132:8081/p_
/VirtualHost


** Installed a siteaccess root and in the base of the portal
folder(WebRadar3.0) ,gave the base as
   base : http://192.168.81.132/webradar
   path  : /

** everything seems to be working fineBUT the results from the search
has gone astray. 
   http://192.168.81.132/webradar/Members/pankaj_malhotra/readme.html - I
need this
   http://192.168.81.132/WebRadar3.0/Members/pankaj_malhotra/readme.html - I
am getting this 
   [ WebRadar3.0 is the name of my portal ]
  
** I have seen the "HOW-TO Mix Zcatalog/Zsearch with apache with apache. I
am getting the following
result.
dtml-in SiteIndex
  dtml-let itemPath="getpath(data_record_id_)"
 a href="dtml-SCRIPT_NAME;/dtml-itemPath;"xxx/a
  /dtml-let 
   /dtml-in
   I am getting this : http://webradar3.0/Members/neeloy_saha/dfsdf

Please help.

Thx in advance.

-neeloy
 

___
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] Portal Toolkit and NTUserFolder

2000-09-07 Thread neeloy_saha

Hi all,

Can anybody tell me how to integrate the NTUserFolder and the portal toolkit

-neeloy

___
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] (no subject)

2000-09-04 Thread neeloy_saha

Hi all,

I am getting the following error when i try to install the portal toolkit
with the ' experimental login manager support'.
I am using the zpatterns version : ZPatterns-0-4-1snap1and demo portal :
0.8.2 and other products. If I create the portal with no initail member then
i am able to have a portal with login manager support. But then after I have
installed the portal I am unable to add a member. ??

Can i have a working snapshot of the portal toolkit with the login manager
for  a windows version or probably a direction as to how to go abt fixing
the above problem??

-neeloy


=
Error Type: NameError
Error Value: client
File C:\Program Files\WebSite\lib\python\Products\ZPatterns\DataSkins.py,
line 377, in _v_currentSheets (Object: wqeqw) NameError: (see above) 

=
Traceback (innermost last): File
C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in
publish_module 
File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 187, in
publish 
File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook (Object: RoleManager) 
File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 171, in
publish File 
C:\PROGRA~1\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: Portal_add) File 
C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 112, in
call_object (Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__ (Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_With.py, line 146,
in render (Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 337,
in eval (Object: apply_wizard(REQUEST)) (Info: REQUEST) File string, line
0, in ? 
File C:\Program Files\WebSite\lib\python\Products\PTKDemo\Portal.py, line
261, in apply_wizard (Object: DemoPortalBase) 
File C:\Program
Files\WebSite\lib\python\Products\Membership\PersistentUserSource.py, line
63, in setMemberProperties (Object: wqeqw) File
C:\PROGRA~1\WebSite\lib\python\OFS\PropertySheets.py, line 607, in
__getitem__ (Object: Traversable) 
File C:\Program
Files\WebSite\lib\python\Products\ZPatterns\PropertySheets.py, line 11, in
__propsets__ (Object: Traversable) 
File C:\Program Files\WebSite\lib\python\Products\ZPatterns\DataSkins.py,
line 377, in _v_currentSheets (Object: wqeqw) NameError: (see above) 


___
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] manage

2000-09-01 Thread neeloy_saha

Hi dieter,

Thx for ur reply.  

The child window  pop ups when u do http://localhost:8080/manage . One
enters the username and password there. That is validated against the
acl_user folders member names or if it is a superuser who installed zope it
validates it against the access file.

I want to look at the source code and understand the authentication
mechanism.That's why i want to know the following:-

1.what is the python file which pops up that child window for entering
username and password ?
2.After u give the username and password what is the file / module name
against which  the username and password is authenticated.
3.what is this 'manage'? method/module???

Thx in advance

-neeloy



-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 01, 2000 1:34 AM
To: neeloy_saha
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] manage


neeloy_saha writes:
  when i do http://localhost:8080/manage it pops up a login window which
asks
  for username and password. what is the entry point after that??
That is exactly what one would expect.

Enter the username and password that was assigned during installation
or that you set with

python zpasswd.py access

  Is there a way of running zope with debugger?? 
There is "Test.py" in "lib/python/ZPublisher".
It will, however, not help you with the above problem.


Dieter

___
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] NTuser folder problem : [ registry keys ]

2000-08-31 Thread neeloy_saha

Hi all,

I am facing problem using and configuring zope NTuserFolder. I want to use
this products and validate against the users in my domain. Depending on the
user i want to assign them roles.
For e,g ---Business folder
subfolder - ntuserfolder .. I have used local roles to assign neeloy
role of manager. when i want to go to the manage screen of Business folder
and login with neeloy and his password i am unable to do so.
I am able to get all the users for my domain[ neeloy is one ] name though...
but get this following warning in the nt user folder. 
Warning: The following roles are valid in Zope, but do not have a
corresponding registry key: ['Contributor', 'Manager', 'Member', 'Owner',
'Reviewer']
how do we go abt fixing this .. i know there is nothing wrong with the
product... but i am unable to configure it.

Thx in advance. 

-neeloy


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