[Zope] PIL and Zope Poll Again !

2000-11-29 Thread Nestor A. Diaz L.

Sorry for the question, but i am getting crazy trying to get the Zope Poll
Product working !!

Have anybody installed this on a Debian machine?

I am missing something?

I installed the python-imaging* from 2.2 and it doesn't work, so i switch
to python-imagin from Woody and it doesn't work to.

I replace the /usr/lib/python1.5/site-packages/PIL/__init__.py with the
one comming in the Poll product and neither !!!

Can you help me with that?

Have anybody made a Poll Debian package, it is a escential part in
every website :)

Thank for your work,

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com



___
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] Passing Variables to a Wizard

2000-11-24 Thread Nestor A. Diaz L.

HI,

Does anybody know how can i pass variables from a product to a Wizard.

I mean:

I am using the PTK to create my own product however PTK use the Wizard as
the default method to add a product, how can i pass variables to a wizard
form a python product ?

I can pass variables to the edit method using the following:

editForm=HTMLFile('dtml/edictoEdit', globals(),  typeList = type_list)

Where typeList is a global array.

But i don't know how can i do the same with a wizard.

Thanks

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com



___
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] Data.fs has invalid transaction header

2000-10-06 Thread Nestor A. Diaz L.

Hi, 

I was working with zope and try to use the "-D" flag within it but a
terrible thing happend when i was restarting the server:

Starting ZopeTraceback (innermost last):
  File "/usr/sbin/zope-z2", line 558, in ?
exec "import "+MODULE in {}
  File "string", line 1, in ?
  File "/usr/lib/zope/lib/python/Zope/__init__.py", line 110, in ?
DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName)
  File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 301, in
__init__
self._pos, self._oid, tid = read_index(
  File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 1556, in
read_index
panic('%s has invalid transaction header at %s', name, pos)
  File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 218, in panic
raise CorruptedTransactionError, message
ZODB.FileStorage.CorruptedTransactionError: /var/lib/zope/var/Data.fs has
invalid transaction header at 46034131
... failed.

The problem is that it never start again :'''(  so i'am nervous only
thinking that i can loose all of my work, there is any way to fix that?

Thanks,

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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: Data.fs has invalid transaction header

2000-10-06 Thread Nestor A. Diaz L.

I forgot:

Zope version 2.2.0-1 (On a Debian Potato i386)

Thanks,

Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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] ZClass, Product comparison

2000-10-05 Thread Nestor A. Diaz L.

HI, thanks you for the latest answer on testing products, however i have a
doubt i know how to make ZClass however i think they are more restrictive,
can anyone telling me advantanges or disadvantes of using Zclass instead
of products?

Thank you,

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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] Product Testing

2000-10-04 Thread Nestor A. Diaz L.

HI, i'm trying to learn how to make products, i have been able to modify
the poll product that comes with the product tutorial, and now i'm
creating a new product however i need to restart zope for the changes to
take effect, i think i can omit this if i can compile (generate the
*.pyc) in the product directory, can anybody send me a few bits of how can
i made that?

thanks,

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro.com - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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] Emacs and dtml-mode +/-

2000-09-10 Thread Nestor A. Diaz L.

HI,

I have installed the dtml-mode that provided
http://www.zope.org/Members/alburt under Debian potato, emacs20 and
psgml it work so nice but i have a little question, and i don't know if it
is possible to resolve, consider the following html code:

!-- -*- dtml -*- --
html
  head
title/title
  /head
  body
select
  !-- one of (OPTION OPTGROUP) --
  dtml-with
!-- I can't insert tag option here --
  /dtml-with

/select
dtml-var
  /body
/html

Check out that i can not insert a option tag inside the dtml-with tag,
ok what i want to know (if there is any dtd guru here) is: there is
posible to define a rule in this dtd to see that the dtml-with is inside
a select and it shows as a correct element the option tag?

I know it cat be done by using brutal force but i want to be "politically
correct".

Another question?

Thats anybody know about a "html indenter" i mean something like the
program indent avaialable under Linux ? for html? i know emacs indent but
i have to press the tab on each line, or i'm missing some macro?

It would be nice that this program can run under zope to show the html
code generated beautifully for debug reasons, dont you think so? and
desactivate it under a production environment.

Well that's all folks,

Bye,

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com



___
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] ZClass -- Product

2000-08-28 Thread Nestor A. Diaz L.

HI,

I want to know if there is any utility that let translate a ZClass to a
Product, i'm worry using the frames based interface, so i'm considering to
switch to a Product a utility that let that would be usefull howevere a
HOWTO on doing this would be fine.

thanks,

Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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] Search on ZCatalog or ZSQL in MySQL

2000-08-24 Thread Nestor A. Diaz L.

Hi,

I have a to take a decision to use or not to use the ZCatalog that's
because i'm some kind newbie to Zope.

Well the history is the following:

I have to make a system to store news, so i have to migrate a old system
using perl cgi's and perform a search on text files to use Zope as the
search engine however i don't know if i have to use a SQL database like
MySQL or use the ZCatalog, i need full text search, and ZCatalog fits on
the true decision however the current database news is about 350M and i
would like to extend it to store images and file, so is possible that at
the final year if everyting comes ok it outperforms the 1GB data

I read that CodeCatalog.com use MySQL to make their full text
search engine, so i think that i can do the same with MySQL using a unique
number for each registry and let ZCatalog do a Vocabulary based on the
ZClass that get such data? and know how to access the database when
someone request a word in the vocabulary based on this unique id?

I have a made a prototype in Zope at http://repnet.engendro.com using
ZCatalog and the admin console is at http://repnet.engendro.com/admin_html
i got based on the ZClass Tutorial from behieve and get it working.

Well, i have to make a decision so my last resource is to use a coin ;)

Thank you very much (sorry for my poor english :DDD)

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com




___
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] Search on ZCatalog or ZSQL in MySQL

2000-08-24 Thread Nestor A. Diaz L.

Hi,

I have a to take a decision to use or not to use the ZCatalog that's
because i'm some kind newbie to Zope.

Well the history is the following:

I have to make a system to store news, so i have to migrate a old system
using perl cgi's and perform a search on text files to use Zope as the
search engine however i don't know if i have to use a SQL database like
MySQL or use the ZCatalog, i need full text search, and ZCatalog fits on
the true decision however the current database news is about 350M and i
would like to extend it to store images and file, so is possible that at
the final year if everyting comes ok it outperforms the 1GB data

I read that CodeCatalog.com use MySQL to make their full text
search engine, so i think that i can do the same with MySQL using a unique
number for each registry and let ZCatalog do a Vocabulary based on the
ZClass that get such data? and know how to access the database when
someone request a word in the vocabulary based on this unique id?

I have a made a prototype in Zope at http://repnet.engendro.com using
ZCatalog and the admin console is at http://repnet.engendro.com/admin_html
i got based on the ZClass Tutorial from behieve and get it working.

Well, i have to make a decision so my last resource is to use a coin ;)

Thank you very much (sorry for my poor english :DDD)

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com



___
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] SiteAccess and Virtual Hosting

2000-08-01 Thread Nestor A. Diaz L.

HI, i'm implementing virtual hosting using apache + siteaccess + zope but
i have a few problems that i try to solve but it is consuming me much time
so i ask to you because i'am in a bottleneck.

Hi follow the instruction in the "Apache Not Zope.cgi HOWTO" that explains
how to use zope behind apache without the need for a cgi, however two
things don't work as i want:

* The Path
* The Undo
* The ZNavigator

The first i fix using apache redirect rules as folowing (in this example
the directory is named "Incorbank" under the root directory):

Redirect /Incorbank http://www.incorbank.com/Zope

So it works fine, i use partial zopification using
http://www.incorbank.com/Zope to http://www.incorbank.com:9673/Incorbank

The Undo don't work as expected because any user in this site
(http://www.incorbank.com/Zope) can undo changes made in another
directory outside Incorbank :(, so bad !!!

The ZNavigator don't work too.

I folow the instructions in the zope-znavigator.deb debian package but i
can not fix that using siteaccess rules, so currently i'm tired, so if any
one can help or can send me a working configuration i would be glad to
get this.

Thanks to all,

Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


___
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] Informix and Zope

2000-08-01 Thread Nestor A. Diaz L.

HI,

Can anybody tell me if there is a posibility to use Zope with Informix 7.3
on a Linux machine? maybe using odbc driver?

thanks you..

--
Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com



___
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] PTK cannot import DemoPortal

2000-07-17 Thread Nestor A. Diaz L.

Hi, i have a little problem trying to import the DemoPortal.zexp, i use
Debian GNU/Linux 2.2 with debian zope package, and the DemoPortal doesn't
import, i notice too that there is no "Portal" into the Add list.

Any ideas?

!--
Traceback (innermost last):
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_importObject)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: manage_importObject)
  File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 485, in
manage_importObject
(Object: ApplicationDefaultPermissions)
  File /usr/lib/zope/lib/python/OFS/CopySupport.py, line 377, in
_verifyObjectPaste
(Object: ApplicationDefaultPermissions)
Copy Error: (see above)

--

Thanks,

Nestor A. Diaz
Ingeniero de Desarrollo
Engendro - Comercio Electronico sobre Linux
Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com


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