Re: [Zope] is it possible to import from Excel

2000-12-27 Thread Michael Bernstein

K H Subrahmanyan wrote:
> 
> Hello,
> 
> Now we have developed some database using gadfly in zope.
> Actually there are some datum which are there in Excel. I would like to know
> is it possible to import all that datum from Excel to zope database, instead
> of giving all the data to zope manually.
> 
> Actually all those data are the Emp. records. Currently they are
> maintaining it in Excel. Now they want to make it web based stuff. We have
> developed a tool for that.
> Since all that data are there in Excel I wanted some stuff to import that.
> Hoping your reply.

I seem to recall that once-upon-a-time DC had a tool/product
called Tabula for this purpose. Maybe they'll haul it out of
storage for a consulting engagement.

HTH,

Michael Bernstein.

___
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] tuples in DTML

2000-12-27 Thread Max M

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
Bernstein

>
>  
>

>Which (of course) displays the list as an single item along
>with each of the strings:

>  ['list item 1', 'list item 2', 'list item 3']
>  String 1
>  String 2
>  String 3

>Now, how do I iterate over the list in DTML?



blah blah  


Something like the above ought to work.

Regards Max M

___
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] Error, Exceptions.SystemError: unknown opcode

2000-12-27 Thread Jose Soares

Hi all,

I'm trying to insert data into a MySQL table using a SQL Method
without success.
Zope return me the following message:
"Error, Exceptions.SystemError: unknown opcode"

Any ideas?


Thanks
José





___
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] The meaning of Zope

2000-12-27 Thread Pierre-Julien Grizel

Takashi Veikko Linzbichler wrote:
> 
> Bill Welch wrote:
> >
> > Here's what some Americans think it means. From ARTFL Project, Webster's
> > 1913 Unabridged at
> > http://humanities.uchicago.edu/forms_unrest/webster.form.html
> >
> > Zope (?), n. [G.] (Zoöl.) A European fresh-water bream (Abramis ballerus).
> 
> Which is correct. It's a fish living mostly in the danube regions and
> eastward of that. BTW, a lot of bones, not very delicate flesh :-(
> 
> But I'm really surprised at the fact that anyone outside middle-/eastern
> europe ever noticed the existence of this creature :-)
> 



Paul told us at the Paris Zope conference that it was in fact a Britain
word.


But does anyone know the actual meaning of "Zope" in Britain ???




P.-J.





> ta
> 
> --
> smartferret it-consulting Dipl.-Ing. Linzbichler KEG
> 
> Dipl.-Ing. Takashi Veikko Linzbichler
> Tannhofweg 28/3
> A-8044 Graz, Austria
> 
> Tel.:   0316 / 39 89 40 -0
> Fax:0316 / 39 89 40 -20
> Mobil:  0676 / 31 26 286
> eMail:  [EMAIL PROTECTED]
> 
> WWW:http://www.smartferret.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 )

-- 
If the only tool you have is a hammer, 
you tend to see every problem as a nail.
Si le seul outil dont vous disposez est un marteau, 
vous avez tendance à voir chaque problème comme un clou. 
   --Abraham Maslow

___
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] index_html woes + more.... :-(

2000-12-27 Thread Dario Lopez-Kästen

Hello!

I am at loss on the following problem:

I have an index_html DTML-document that is only a skeleton to let me design
my site around it, based on a common structure. In index_html I call various
of dtml-documents and dtml-methods, like "main_pane" and "main_msg_box",
etc.

The idea I had (and that actually worked for some time) is that I need not
implement an index_html file in every sub-folder in my zope installation,
but that it would get inherited (aquired???) by all subfolders and that I
only needed to make a "main_pane" method, and a "main_msg_box" document.

However this is not working, anymore I might add. I cannot say what I have
done wrong. The only thing I've done is to add and remove SiteRoots with
SiteAccess2 (which btw i cannot make work, and has caused my zope to die
abruptly, w/o leaving trace in the logs). I don't know if this is related,
but i thought i'd mention it anyway.

Can anybody hint me in any direction? Please?

Here is my setup:

  Zope version: Zope 2.2.4 (source release, python 1.5.2, linux2)
  Python version: 1.5.2 (#4, Aug 16 1999, 15:42:53) [GCC 2.95 19990728
(release)]
  System Platform: sunos5
  Process ID: X
  Running for: 22 min 27 sec

Zope is running behind apache (apache + zserver).
Zope from src, compiled with /usr/bin/python wo_pcgi.py (is this correct,
btw?)

  ExternalMethod (Installed product ExternalMethod (External Method-1-0-0))
  Hotfix_2000-12-08 (Installed product Hotfix_2000-12-08)
  Hotfix_2000-12-15a (Installed product Hotfix_2000-12-15a)
  Hotfix_2000-12-18 (Installed product Hotfix_2000-12-18)
  LoginManager (Installed product LoginManager (LoginManager-0-8-8b1))
  MIMETools (Installed product MIMETools)
  MailHost (Installed product MailHost (MailHost-1-2-0))
  NewsFolder (Installed product NewsFolder)
  OFSP (Installed product OFSP (OFSP-1-0-0))
  PlugIns (Installed product PlugIns (PlugIns-0-4-3b1))
  SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0))
  ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0))
  ZGadflyDA (Installed product ZGadflyDA)
  ZOracleDA (Installed product ZOracleDA)
  ZPatterns (Installed product ZPatterns (ZPatterns-0-4-3b2))
  ZSQLMethods (Installed product ZSQLMethods)
  ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0))

As I said, any help is appreciated.

Thank you

/dario

- 
Dario Lopez-Kästen Systems Developer  Chalmers Univ. of Technology
[EMAIL PROTECTED]  ICQ will yield no hitsIT Systems & Services


___
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] A Picture of Zope, The Fish

2000-12-27 Thread Bill Welch

Zope is no more named after a fish, much less an undistinguished fish,
than python is named after a snake. I can see how you might invent a
branding around coincidence, but I think we can do better.

What animal is going on the O'Reilly book?

Bill.

On Tue, 26 Dec 2000, Takashi Veikko Linzbichler wrote:

> Well, I've got another picture of a zope, maybe I'll try in the next few
> days ...


___
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] ANNOUNCE: Zope 2.2.5 b1 released

2000-12-27 Thread Brian Lloyd

Happy Holidays all,

  Zope 2.2.5 beta 1 has been released - you can download it from
  Zope.org:

  http://www.zope.org/Products/Zope/2.2.5b1/

  This release contains a number of bug fixes, and includes all Hotfixes
  to date. It includes the fix for a memory leak that could occur when
  accessing SQL data through aliased names, a fix for a problem with
  contention between concurrent POST requests and a number of fixes to
  improve support for current WebDAV-aware clients such as Adobe GoLive.

  Note that this release contains a change to the ExtensionClass binary -
  if you are running a source release you should rebuild the Zope binaries
  after upgrading or applying a "diff" update.

  For more information on what is new in this release, see the CHANGES.txt
  and HISTORY.txt files for the release:

  http://www.zope.org/Products/Zope/2.2.5b1/CHANGES.txt

  http://www.zope.org/Products/Zope/2.2.5b1/HISTORY.txt

  Note that we have also posted "diff" updates as .tgz files that will let
  you easily upgrade an existing 2.2.x site. These updates are available for
  those currently using the 2.2.x source release or the 2.2.x binary
releases.

  To apply a differential update to your site:

  - download the appropriate .tgz file from zope.org

  - shutdown your Zope process

  - copy the .tgz to your Zope directory and extract it

  - run w_pcgi or wo_pcgi *if you are not using a binary release*

  - restart your process


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.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 )




Re: [Zope] is it possible to import from Excel

2000-12-27 Thread Bill Welch

Gadfly is a distinct product, www.chordate.com/gadfly.html, so you can, at
least, write python to insert data directly into gadfly. You can get the
data out of Excel through COM or export to csv.

Bill.

On Wed, 27 Dec 2000, K H Subrahmanyan wrote:

> Now we have developed some database using gadfly in zope.
> Actually there are some datum which are there in Excel. I would like to know
> is it possible to import all that datum from Excel to zope database, instead
> of giving all the data to zope manually.



___
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] SiteAccess / SUPPRESS_ACCESSRULE bad (urgent)

2000-12-27 Thread Bill Welch

Sounds like something's wrong with your apache conf. Please show us what
that looks like. I'm running a similar setup on Debian, too, and it works
fine.

Bill.

On Wed, 27 Dec 2000, Edwin Martin wrote:

> Hello,
> 
> I'm running an Zope website behind an Apache proxy.
> 
> Because Zope is running on port 9673, some links pointed to
> this port and the URL showed mydomain:9673...


___
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 / SUPPRESS_ACCESSRULE bad (urgent)

2000-12-27 Thread Edwin Martin

Hello,

I'm running an Zope website behind an Apache proxy.

Because Zope is running on port 9673, some links pointed to
this port and the URL showed mydomain:9673...

To prevent this, I installed SiteAccess and I put a SiteRoot in the
root of my Zope web.

I entered:
Base: http://www.mydomain.nl/
Path: /

Since then I can't access http://www.mydomain.nl/manage. I do
get the password-box and frames, but both frames show 'Not Found'.

Not Found
The requested URL //manage_workspace was not found on this server.

Opening the frame in a new window and removing the second / doesn't
solve the problem.

I looked up the docs of SiteAccess and found setting a environment
variable and restarting Zope would help.

So I tried that:

# SUPPRESS_ACCESSRULE=1;export SUPPRESS_ACCESSRULE
# env
... shows SUPPRESS_ACCESSRULE=1 ...
# /etc/init.d/zope restart
Restarting Zope... done.

Unfortunately, the problem is still there.

Anybody knows an answer to my problem?

I really hope so, it's a live site!

Bye,
Edwin Martin.


___
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] standard_error_message woes!

2000-12-27 Thread The Doctor What

* Jason Byron ([EMAIL PROTECTED]) [001223 01:04]:
> There are two files:
> /lib/python/ZPublisher/HTTPResponse.py
> /lib/python/OFS/Application.py
> 
> that contain error pages hard coded in.
> 
> you get the HTTPResponse.py code for errors like:
> 
> 403: 'Forbidden',
> 404: 'Not Found',
> 405: 'Method Not Allowed',
> 
> stuff like that.
> 
> This error code is not parsed like normal dtml and so
> you can't simply replace it with: 
> 
> ""
> 
> I think this is because these are standard error codes
> that have to do with the web server and they must work
> even if the object database doesn't.
> 
> There must be a more detailed reason why these errors
> aren't connected to the db, but someone else will have
> to answer that one. :)

Well I'm very tempted to start mucking in and letting it call an
'external' python method of some sort.  At the very least, I'd like
the page to be able to look up a list of 'words' and redirect to a
webpage if it matches

Like:
http://site.org/fish

It finds the keyword fish, and sees there is a legit URL:
http://site.org/software/beta/fish

And redirects it.

But that'd need t ZCatalog at least.

G.

Ciao!

-- 
Chemist who falls in acid is absorbed in work.

The Doctor What: Second Baseman  http://docwhat.gerf.org/
[EMAIL PROTECTED]   KF6VNC

___
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] tuples in DTML

2000-12-27 Thread Michael Bernstein

Max M wrote:
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Bernstein
> 
> >
> >  
> >
> 
> >Which (of course) displays the list as an single item along
> >with each of the strings:
> 
> >  ['list item 1', 'list item 2', 'list item 3']
> >  String 1
> >  String 2
> >  String 3
> 
> >Now, how do I iterate over the list in DTML?
> 
> 
> 
> blah blah  
> 
> 
> Something like the above ought to work.

Mmm, It doesn't seem quite right. If I do it that way, I'll
have to run the external method more than once, and it's a
relatively expensive method. I'm opening an HTTP connection
and processing the page to extract the data that is getting
put into the tuple.

What if I do:


 
  
   
  
 
 
 

Ok, this works!

Thanks for the help,

Michael Bernstein.

___
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 eating CPU/RAM - how do I find the culprit?

2000-12-27 Thread Cees de Groot

Our production Zope machine has developed a habit over Christmas where
it starts eating CPU and RAM (one Python thread on 100% CPU time, and 
I've seen kernel messages indicating that Zope was killed because it
hit an out-of-memory condition which means it sat on ~500Mb RAM). 

I'm completely in the dark about what causes this (probably some of
my own code, I installed some new bits a couple of days ago), but what's
worse: I really don't know how to set about finding the problematic
code. Is there a way to find out what code a thread is running?

-- 
Cees de Groot   http://www.cdegroot.com <[EMAIL PROTECTED]>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B

___
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] next record in IN TAG

2000-12-27 Thread Anderson Ami

How can I jump to the next record within IN TAG ?

Thanks
Anderson


___
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] SiteAccess / SUPPRESS_ACCESSRULE bad

2000-12-27 Thread Edwin Martin

Bill wrote:
>Sounds like something's wrong with your apache conf. Please show us what
>that looks like. I'm running a similar setup on Debian, too, and it works
>fine.

Fortunately, I have solved the problem myself.

Thanks for everybody for looking into my problem.

For the curious: In the apache httpd.conf I made a proxy to
the Zope web, except for the home page '/'.

Because in the SiteRoot I pointed the '/' as the root, so
http://www.mydomain.nl:9673/SiteRoot/manage_main
points the Zope management form to '/'.

Because there's no Zope at '/', deleting the SiteRoot from Zope
management failed.

Changing in apache httpd.conf the / to ..:9673 solved this.

Thanks,
Edwin.

---
The world is moving so fast these days that the person who says
it can't be done is generally interrupted by someone doing it.
  -- Harry Emerson Fosdick

Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/ 


___
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] Example activity-explicit workflow system

2000-12-27 Thread Albert Boulanger

For those interested in workflow systems and workflow within Zope, the
following workflow system may be useful to try out. It models workflow
steps explicitly and a workflow becomes a graph with a visual editor. I
have been meaning to send along some resources in this area I have been
accumulating.
The Endeavors group at UCI developed this and the peer-to-peer system
they built, Magi, is now at www.endtech.com as open source. They are
still developing the workflow product but an early prototype you can
download and play with is at:

http://www.ics.uci.edu/pub/endeavors/endeavors.html

See also the papers and the web-based workflow thesis at:

http://www.ics.uci.edu/pub/endeavors/docs/papers/

There was discussion of graphical system to present workflow. I have
looked at several, including the At&T stuff. When I have time, I will
send a separate email with some that I have found. One thing to look at
which is ActiveX based at the moment is http://www.lassalle.com/ A
general purpose Flowcharting/Diagramming ActiveX control.

I am very interested in a general, fairly full featured  workflow system
on top of Zope as opposed to using an external workflow product for a
fundamental reason. While one could come up with a way of getting what I
need with an external system, it would be messy. I need workflows to be
explicit and versioned. We make use of ZODB to version content that end
users generate. We don't make use of Zope's versioning but use or own
hierarchical version tree which is easy to do in Zope. End users
generate new workflows and revisit  past workflows. The user sees this
versioning as notebook pages using a scientific notebook metaphor.

It is much cleaner to use ZODB and ZPublisher to do all this instead of
having a version tree in Zope and a bunch of correspondences to outside
objects in an external workflow system. Thus,  there is a lot of value
in having a fairly general workflow system whose representation and
publishing uses ZODB and ZPublisher.

There seems to be a principle here on how to layer systems correctly on
top of ZODB and ZPublisher or any persistant-object web publishing
system. One way is very clean and simple and other ways are nightmares.

Regards,
Albert Boulanger
[EMAIL PROTECTED]


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

2000-12-27 Thread Mohan Baro

Hey everyone
I am tring to istall the Portal Toolkit

The following is the known bug in the PTK's documentation
==
Known Bugs

  There is something screwy going on with some of the DemoPortal's
  ZClasses.  The PortalWizard will sometimes appear 'Broken'
  immediately after installing PortalWizard.  Sometimes simply
  clicking on the 'Contents' view of the 'DemoPortal' product two or
  three times will solve this, though usually an additional restart is
  required.
==

The solution does not seem to be working for me.

I have a older version running at home.  But I can't get this version
install here at work.

the error I get is
===
Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: __call__
===



Any suggestions?

Mohan.


___
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] is it possible to import from Excel

2000-12-27 Thread Curtis Maloney

On Wednesday 27 December 2000 17:30, K H Subrahmanyan wrote:
> Hello,
>
>
> Now we have developed some database using gadfly in zope.
> Actually there are some datum which are there in Excel. I would like to
> know is it possible to import all that datum from Excel to zope database,
> instead of giving all the data to zope manually.
>
> Actually all those data are the Emp. records. Currently they are
> maintaining it in Excel. Now they want to make it web based stuff. We have
> developed a tool for that.
> Since all that data are there in Excel I wanted some stuff to import that.
> Hoping your reply.
>


Well...  firstly, moving from a spreadsheet to a db is probably a very good 
move, in the case of employment records.  As for how to go about it...

I would recommend you export the Excell data in a comma or tab delimited text 
file, then write a Python Method (or Script, whichever you have) to munge 
each line and store it in the db.


> bye
> yours
> subrahmanyan.
>

Have a better one,
Curtis Maloney

___
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] next record in IN TAG

2000-12-27 Thread Curtis Maloney

On Thursday 28 December 2000 07:17, Anderson Ami wrote:
> How can I jump to the next record within IN TAG ?
>

Do you mean like a "next" in basic, or "continue" in C?
If so, I'm pretty sure there is no such thing, and you just have to 
synthesize it with dtml-if/dtml-unless tags.

> Thanks
> Anderson
>

Have a better one,
Curtis Maloney

___
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 install - cannot login

2000-12-27 Thread Odile Bénassy

Here is a problem I'm encountering while installing Zope through PCGI :
I can get the first screen but can't log into management screen with
"superuser" and "123"
Yet it works perfectly with ZServer installation instead of  PCGI
installation

I have tried all sorts of combinations with file /var/zope/access, no
success
As error messages, at first I got
"""
Traceback (innermost last):
  File "z2.py", line 554, in ?
exec "import "+MODULE in {}
  File "", line 1, in ?
  File "/usr/share/zope/lib/python/Zope/__init__.py", line 110, in ?
DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName)
  File "/usr/share/zope/lib/python/ZODB/FileStorage.py", line 262, in
__init__
lock_file(f)
  File "/usr/share/zope/lib/python/ZODB/lock_file.py", line 101, in
lock_file
raise error, (
ZODB.POSException.StorageSystemError: Could not lock the database file. 
There must be
another process that has opened the file.

""

then nothing at all

And if I try

python z2.py

I get the answer

"""
Traceback (innermost last):
  File "z2.py", line 524, in ?
import ZServer
ImportError: No module named ZServer
"""

Can you help me ?
-- 
Odile Bénassy
http://www.libresoftware-educ.org/

___
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] Z-Commerce components

2000-12-27 Thread Jason Cunliffe

Hi

Looking for an e-commerce tool to use for a Zope-based site for artists to
share, display and sell 'net art' and more. Also to allow sponsors to do
just that.

Thus it will not typically have huge throughput traffic like a commercial
site selling books or whatever, but on the other hand, must work smoothly
enough to allow ticket sales for small concerts/events etc. The more
artists/musicians/venues can use i, the lieklyier all will succeed.

1. What do you recommend for taking credit card purchases online with Zope?

2. Does Zope even have anything to do with this this part of the design
problem?

Thanks for any comments

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']


___
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] can't change zclass meta type

2000-12-27 Thread Geoffrey L. Wright


I can't seem to completely change a zclass meta type.  When I make a
change on the "basic" tab of the zclass, my change seems to take, and
the new meta type is displayed in the form.

But when I try to add an instance of this metatype, I still see the
old meta type name in the dropdown.  When I try to reference objects
by metatype in my code, the new name does work, so it appears that the
new metatype is ... mostly ... applied.

Is this a bug?  Or is the some other location where I also need to
change this info?

-- 
Geoffrey L. Wright
Developer / Systems Administrator

(907) 563-2721 ex. 4900
http://www.integritysi.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] inserting half a dtml tag into a zclass

2000-12-27 Thread Tim Hicks



OK, I'm sorry for the wierd title, but I can't 
really describe what I want to say very easily in one line.
 
Basically, my problem is this;
 
- I have a zclass called DEHS with catalog_aware 
and dtml_document as base classes.
- DEHS instances have a selectable property of 
public/private.
- I want to be able to make it so that if the 
property is set to 'private', then only people on a particular network may 
access it. So, here is what I have done (and it works),
 

 

 

 

 
 
 

 
So, what's the problem I hear you ask.  Well, 
I don't really want all this code to be visible (or breakable) in every DEHS 
instance. What I would really like to do is have this,
 

 

 

 

 
where,  is just all of the 
code that I have above s_h_h. However, zope will not let me do this because 
I end up with a  that is missing its closing tag, and 
one that does not have an opening tag. I realise that I there are products 
already designed with the sort of functionality I am after built in, but I will 
not have much influence on the products that will be available on the server 
that this site will end up on... which is why I'm doing it in this 
way.
 
Any input is much appreciated.
 
cheers
 
tim


Re: [Zope] is it possible to import from Excel

2000-12-27 Thread Ayhan Ergul

When on a windows platform, I prefer to define an ODBC datasource on the
excel spreadsheet, write ZSQL method that selects the fields to be
imported, write a DTML method that iterates on returned records and call
another ZSQL method that writes into Gadfly.

You may need to handle None/Missing values to prevent from ending up in
gadfly as 'None' etc.

Ayhan


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