Re: [Zope] DNS/access problems

2001-01-25 Thread Erik Enge

[Olaf Zanger]

| any idea where to search?

Try providing more details about what went wrong, how it should've
worked instead and any error messages.  Then, maybe, we'll be able to
help you.  :-)

___
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] Problem instantiating ZClass

2001-01-25 Thread Erik Enge

[Åsmund Hjulstad]

| I did the following:

But do you have to?  Have you sniffed the Python Product API?

If you haven't already, check these out:

http://www.zope.org/Members/maxm/HowTo/minimal_01>

and then

http://www.itamarst.org/learningzope/index.html>

___
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] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-25 Thread Erik Enge

[Oleg Broytmann]

| On 25 Jan 2001, Erik Enge wrote:
| >
| > Really? Python 2.0?  Without any problems?
| 
|I didn't found any, do you?

I haven't tried running Zope with 2.0, yet.

___
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] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-25 Thread Erik Enge

[Oleg Broytmann]

| Finally it works for me lake a charm! (Even with python 2.0!)

Really? Python 2.0?  Without any problems?  Digicool's, are you
supporting Zope on Python 2.0?

___
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] Mozilla and Zope (Was: Re: [Zope] Editors [OT])

2001-01-25 Thread Erik Enge

[Wolfgang Strobl]

| It's pure Python and wxPython (i.a. wxWindows) based, it even comes
| with a first attempt of a Zope interface! I wonder that it doesn't
| get more publicity here.  On the other hand, I noticed that Shane
| Hathaway is listed as one of the developers ...

I though DigiCool was developing a Zope interface with Mozilla, has
this been abandoned?

___
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 little problem - $1 reward!

2001-01-25 Thread Erik Enge

[[EMAIL PROTECTED]]

| ... in the received message. A previous version I had of this script gave
| me the correct results (From: God, Reply-To: [EMAIL PROTECTED]) so I'm
| pretty-sure that's it's a problem with '@cs.strath.ac.uk' being appended.

And you are running with the same mailserver, on the same host?

___
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] Zope Games

2001-01-24 Thread Erik Enge

[Gerald Gutierrez]

| Does anyone know about any web games written in Zope, something akin
| to Blacknova.net, which is written in PHP ? The source is at
| http://sourceforge.net/projects/blacknova/.

I don't.  But I might be able to hook someone up with some financial
funding to do so.  I recall having a contact which wanted to do
web-based games, large scale.  

___
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] EMail with uploaded attachments

2001-01-23 Thread Erik Enge

[Klaus Herrmann]

| but the only result is that the attachments contains:
| 

I might be wrong, but what if you used this instead:



Would that work?

___
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] Getting an object from it's id

2001-01-23 Thread Erik Enge

[[EMAIL PROTECTED]]

| Is there a Zope API method that will allow me to get an object from
| it's id, or can I write a simple Python method to do it, or am I
| missing something even more obvious?

Well, sometimes objectItems or objectValues can be the right ones to
use.  Other times, (in Python Products at least) you use _getOb() to
fetch the object for you.

Let's say you have this object structure:

/Folder1
/Folder2

If you (in Python code) have Folder1 in the namespace, as self for
example, you can say object=self._getOb('Folder2'), and vòila. :)
Don't know how you would do that in DTML, though.

___
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] Tools used for programming Zope

2001-01-19 Thread Erik Enge

On Fri, 19 Jan 2001, Chris Withers wrote:

> Well, I get around this by keeping the code in Python Products as much as
> possible (nice and CVS friendly) and just using TTW stuff for customisation.

That's the same thing as I do.  What about you other people, are you
actually doing serious application development in ZClasses?  Maybe it's
just me, but that doesn't seem very Zopish to me.  However, I do agree
that people tend to do ZClass development before going to Python Products,
and since the (in my opinion) worst solution is chosen first, some of the
less subborn ones might abandon Zope.

However, I'm not quite sure I consider that a problem.  Not with Itamars
Guide anyway :).

Happy Zoping!


___
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] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge

[Chris Withers]

| Even if it did, what harm would it do?

Denial of Service attacks was what I though of.  But it's a non-issue
I guess.

___
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] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-03 Thread Erik Enge

[Chris Withers]

| 

What about security issues?  Wouldn't this also allow those methods to
be called TTW by any user?

___
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] Job listings?

2000-12-21 Thread Erik Enge

[Jiva DeVoe]

| I don't see anything in the list charter about it, but I don't want
| to be rude.  Let me know!  Thanks!  :)

http://www.zope.org/Members/plewis/job_board/index_html>

Post the job there, although I'm not that all Zopistas would read
it.  Try it and see.

___
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] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Erik Enge

[Morten W. Petersen]

| Yup.  The way that seems right is to proxy user-account creation through
| sudo (unix (linux?) only), thoughts / comments ?

Well, that probably depends on how you figure the administrator to
work.  I think I would've tried to abstract the whole notion about
«something under the hood» away from the administrator, and tried to
be clever when I added and delete users within Zope (that is, the code
being clever, not me).

I don't know.  You'll probably come up with something, as always :)

___
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] zope, worldpilot, IMAP, POP...

2000-12-21 Thread Erik Enge

[marc lindahl]

| This looks great, but it seems to assume pre-existing individual mail (POP
| or IMAP) accounts.  I'm stuck on, how to create new email accounts when
| creating zope memberships, and keep the email accounts sync'd with the zope
| memberships (username and password).

Well, I don't think it would be too much hassle to add some
administrative functionality to keep them in sync (albeit, to be 100%
percent sure will hurt a lot - I guess).  I'm guessing that Morten is
already working on this.

On another note, I seem to recall seeing a ZMailIn product somewhere,
which allows you to mail directly to a Zope instance.  I don't know
where I saw it, but if you searched for five minutes on Zope.org I'm
almost sure you would find it :-).  Anyway, that could probably rid
you having to think about having files on the filesystem in sync with
objects within Zope, don't know how GUM would talk with it, tough.

___
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 do I set the Title property of a File object from aDTML method

2000-11-10 Thread Erik Enge

On 10 Nov 2000 [EMAIL PROTECTED] wrote:

> But I'm unable to set the Title property of a File object.  

Is it just the title property?  All the others you can fiddle around with?
Try manage_changeProperties() instead.  I know (from
lib/python/OFS/Image.py) that the File object has its own
manage_edit() method, you could try that one.




___
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] ZCatalog and random key error

2000-11-10 Thread Erik Enge

On Fri, 10 Nov 2000, Bak @ kedai wrote:

> also, will iterating through catalog index faster than iterating through 
> ..say.. objectItems('meta-type')?

Much faster.  Much, much faster.  I tried an objectValues() on 2000 items
(in 3 different folder-type objects) and did various calculations on each
object, it took me 20 sec. to render the page.  On the same box the
Catalog return a search (much wider than the one on 2000 objects) on 15000
items (indexd, natuarally) within a second or two.

Hm.  I might be getting out on thin ice now, but I think it depends on
what you want to do with the objects you get back from your
iteration.  If you just are looking for simple attributes, the Catalog
should suffice, but it (the Catalog) might be slower if you are doing
something with the objects, since it has to fetch them first - and the
objectValues() returns the object.  I'm not sure about this, though, the
source code should help you a lot (I think objectValues() and
objectItems() and those alike are in lib/python/ObjectManager.py -
around line 350).

Come to think of it.  You did say objectItems(), and I've described the
objectValues().  I don't think you can compare the Catalog and
objectItems(), since objectItems() returns a list of (id,
subobject) tuples and thus gives you context - something the Catalog
cannot do (unless you hack it.. yeah Catalog wizards?).

I might be wrong though :)




___
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] ID = "somebody@someserver.com"... ?

2000-11-09 Thread Erik Enge

On Thu, 9 Nov 2000, Thomas Søndergaard wrote:

> I am sorry about me being a newbie but can somebody help me with an 
> Email@dress as an ID?

I'm not sure I understand your problem, but couldn't you either use
string.replace() or ?  


___
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] Job offering - England

2000-11-09 Thread Erik Enge


Zopistas, wanna get paid?  :)

Zope/Python programmer wanted to work with one of our clients in
England.  

A team from Thingamy (http://www.thingamy.com>) have for some
months now been developing a Zope application for a client in
England.  The client's main work is resourcing (ie. matching candidates
and clients and typing up contracts). 

Our client has, of course, got access to the source code - and thus they
want to continue developing the application after they recieve it from
us. We need a person that can travel to their offices once a week, and
spend approximately 2 days a week continuing development of the
application (the amount of work depends highly on what our client wants
done).

The application is written in Python, the interface is in XHTML 1.0
STRICT.  You should be an experienced Python programmer, and should have
spent your time in the Zope source code :-).

I will take you through the source code, and will also be your contact
person when questions about the source code, class structure or anything
of that sort arrises.  It would be desirable if you could overlap with us
(ie. start coding one month before we stop, so there would be some feeling
of consitency - and it would also give you a great opporunity to ask
(nearly) all questions).

* Start date: within 2 months (room for discussion).
* Salary: up for discussion.

If this sounds interesting (or if you want to ask questions) please email
me.  (Please note that this is not a fulltime job, so it would be
benefitial if you lived near their offices and had access to other work
aswell.  Their offices are 40 minutes by train from Waterloo station.)

Thanks :)


___
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] Upscaling of performance

2000-11-02 Thread Erik Enge

On Thu, 2 Nov 2000, J. Atwood wrote:

> On some good hardware it can handle about 100 Requests per second (8,640,000
> per day). 

Well, now.  That truly depends on what Zope would be doing.  Fire away a
couple of objectValues() and the process will kneel _a lot_ sooner.  Of
course, this you could solve with a context oriented Catalog, and moving
as much application logic as possible away from DTML (not that you should
put it there in the first place).
 
> Beyond that you need two things... ZEO and hardware.

And good programmers...

BonusFrust:  Zope actually crashed my Debian box yesterday, twice.  
(Indirectly or directly, I don't know, I'm looking into it.) 


___
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] Almost Done.

2000-10-30 Thread Erik Enge

On Mon, 30 Oct 2000, Jason C. Leach wrote:

> hi,

Hi.
 
> How do I get a TinyTable to display it's contents?
> 
> All I find in the docs is  and that does not
> seem to work for me, unles I am lacking a tag?

Try this:

 

(and next time, post the error message, Zope version and OS you are
running :-)


___
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] meta type?

2000-10-30 Thread Erik Enge

On Mon, 30 Oct 2000, Jason C. Leach wrote:

> Is that like 'Image' in the case of images, and Folder in the case of
> folders?

Yupp.


___
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] FSF about Zope and GPL'ed components

2000-09-20 Thread Erik Enge

[[EMAIL PROTECTED]]

| Can she distribute Zope, Joe's product, and her own product, as long
| as they are packaged separately?

What is defined as "package separately".  Different .rpms/.tgz,
different CDs, or what?

___
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] FSF about Zope and GPL'ed components

2000-09-20 Thread Erik Enge

[Nils Kassube]

| From: [EMAIL PROTECTED] (Free Software Foundation) [Bradley M. Kuhn]
| 
| It sounds like you are building software that combines Zope and
| GPL'ed software to form a single, larger program.  In this case, the
| whole larger program falls under the terms of the GPL.

I don't exactly understand.  Does this mean that I can't use any
GPL-ed Products combined with Zope and distribute them?  For example,
I couldn't the use the GPL-ed CookieLess Session Management Product
with my application and legally distribute it with Zope?

Does this also mean that I can't make a complete application, released
under the GPL, and distribute it legally with Zope to my clients?  If
so, is there a way that this can be done legally, without relicensing
any of the "programs"?
 
| This is a real problem, since the license of Zope is incompatible
| with the GNU GPL.  This means you can't legally distribute the
| system.

But what is defined as distribution?  Can I install Zope on-site, then
install the GPL-ed application and it would be legal? 
  
| You cannot legally combined GPL'ed software with Zope.

Not at all?

| You'll need to rewrite the Zope part [...]

Sure, that's easy...  Wouldn't take me more than a century ;)

___
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] Zope and the GPL poison pill

2000-09-12 Thread Erik Enge

[Karl Anderson]

| In order to link/incorporate a GPL'd module, you have to be able to
| distribute the entire work under the GPL.
: 
| Therefore, assuming RMS is correct, GPL'd components can't be
| distributed as part of a Zope solution.
: 
| Is this correct?  If it is, the GPL isn't very appropriate for the
| license of a Zope product, becuase it's a packaging nightmare.

I'm not quite sure what you mean by a «module».  Is a module an
extension to the Zope application, or is it a Product that resides in
lib/python/Products?  I'm a bit confused, you use «component»,
«product» and «module».  Which is what?

And if it really is Products (as in lib/python/Products), does this
mean that if I make a GNU GPL licensed application for a client, I
can't actually distribute Zope with it?  I have to install them
separately?

___
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] Cut down on the Available Objects list.

2000-09-06 Thread Erik Enge


Hi, all.

When I create ZClasses I can make the Available Objects shrink to just
a couple of available objects via subclasses and so forth.  How would
I do this with a Python Class in a Python Zope Product?  (Let's say an
OFS.Folder.Folder class, which would normally could contain all
available objects.)

Thanks :-)

___
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] Zope.org Mirroring

2000-09-02 Thread Erik Enge

(sorry for jumping in here)

[Chris Withers]

| What to do? ;-)

It might not be interesting, but what I would really like is a
complete mirror of documentation and products up and running all the
time.  That could be done statically, even without Zope if it sucks
that much.  (Although, I can't see why it would in such a situation.)

___
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] Zope.org is soooooo slow (not really)

2000-08-31 Thread Erik Enge

[J. Atwood]

| Umm.. what makes you say it is slow? It popped up just as fast as
| Microsoft.com and Apple.com this morning (with each page after even
| faster).

It _was_ slow. 
 
| Might be your connection. Certainly not slow from here (NYC, DSL)

No.  I check a zillion other sites; they were fast and responsive.

The Zope.org site is back up again now.  At one point, just before it
came back to life, it reported a Proxy error.

___
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.org is soooooo slow.

2000-08-31 Thread Erik Enge


Zope.org is slow as hell.  A couple of days a week at least.  It
doesn't exactly work in favor for Zope when I try to show of Zope.org
to friends, collegues or potential customers and the site won't even
respond.  Argh!

Why is it so slow?  Do something about it!

___
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] Barcodes, magnetic cards, etc.

2000-08-23 Thread Erik Enge

[Curtis Maloney]

| On Wed, 23 Aug 2000, Erik Enge wrote:
| > What is the mainstream format for the codes when the are scanned in?
| >
| I don't understand what you mean.

Are the barcodes usually a collection of integers, characters, special
characters or what?

And, by the way, do you know if there exist a magnetic card scanner
that plugs in to the PS/2?  And if yes, which information would get
from such a card?  Just a number, or are there other possibilities?

Thanks.

___
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] Barcodes, magnetic cards, etc.

2000-08-23 Thread Erik Enge

[Curtis Maloney]

| Well, I have used Zope with a Barcode scanner.  Since the scanner
| (as do most) work via the keyboard, AS a keyboard, there is really
| nothing special to do.

Ok, so it translates the barcodes to a string or what?

Which scanner was this?  Product, model type, etc.
 
| From what I can find (working for a company that sells barcode and
| mag stripe scanners) you should have little trouble finding either
| that will interface as a keyboard.

What is the mainstream format for the codes when the are scanned in?
 
| Have a better one,

I will - you too :)

___
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] Barcodes, magnetic cards, etc.

2000-08-23 Thread Erik Enge

[Kapil Thangavelu]

| zope is a great integration platform. anything you can touch in python
| either through natively, 

Is there a repository or somesuch where I would find a more complete
index of all devices Python can interface to?

___
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] Barcodes, magnetic cards, etc.

2000-08-22 Thread Erik Enge


Good morning, people.

I was wondering, can Zope interface to barcodes, magnetic cards
(e.g. credit cards) and other common shop-"accessories"?

Feedback is greatly appretiated :)


___
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] Missing doc string

2000-08-22 Thread Erik Enge

[Erik Enge]

| Anybody who know which doc string I'm missing?

Yes.  I know, you lowlife.  You see, the misc_ isn't a tuple, it's a
dictionary - repeat after me: d i c t i o n a r y.  Got that now?

Sheesh...

;-)

___
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] Missing doc string

2000-08-22 Thread Erik Enge


G'day, fellow Zopistas.

I get

Missing doc string at: http://localhost/misc_/TravelAgent 

When I call

http://localhost/misc_/TravelAgent/Folder_icon.gif>

Anybody who know which doc string I'm missing?


___
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] Python Class trickyness

2000-08-08 Thread Erik Enge

[Andrew Kenneth Milton]

| This is easier than you might think:-

Hehe.  Thanks a lot! :)

___
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] Python Class trickyness

2000-08-05 Thread Erik Enge


Good evening.

I know how to make a Python Class, which is a container.  But how do
I make another Class which can only be added from the container-class
I have created.  Know what I mean?  The last class should only show up
in the "Available Objects"-list if the user is in a instance of the
first class.  Did this make any sense?

Thanks for any answers.  :-)

___
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] REPOST: README.txt Tab

2000-08-05 Thread Erik Enge

On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:

> I'll re-ask the question:
> 
> > How do I get the README tab to appear in a product?

In the Squishdot Product I discovered this:

Readme = Document('', __name__='')
Readme.__roles__ = None

This one seems to add a README tab.  If you have a README.txt file in your
Products directory it displays it.


___
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] Python Product Tutorial

2000-08-05 Thread Erik Enge

On Fri, 4 Aug 2000, Loren Stafford wrote:

> I don't know of any tutorial. ZScheduler creates a container (a subclass of
> Catalog in fact), so you might use that code as a starting point. It doesn't
> put other objects in the container, tho.

Thanks, but I'm really interested in how I would add other objects.  I
guess if I dig deep enough, I'll find it. :-)


___
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] Python Product Tutorial

2000-08-04 Thread Erik Enge

Hi.

Are there any good Python Product tutorials that deals with creating a
container (OFS.Folder.Folder will do) object and putting other objects
within it?

Thanks.

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

2000-06-30 Thread Erik Enge

On Fri, 30 Jun 2000, Jonathan Desp wrote:

> they should put their "Available Object" white box, you know what I mean
> ? ->ABOVE<- the files. See, when you have 900 files in one directory,

Aye!  I second that.


___
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] SV: [Zope] urlquote?

2000-06-30 Thread Erik Enge

On Fri, 30 Jun 2000, Magnus Heino (Rivermen) wrote:

> Am I doing anything wrong? :-P

Are you using this within Zope?  Then you could do:



If I'm not mistaken, Zope also has sql_quote and html_quote.


___
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] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge

On Thu, 29 Jun 2000, Wilkinson Charlie E wrote:

> This would be consistent with "atomic updates."  What it means is
> that a transaction is not written to the Data.fs file until it has
> completed, and when it is finally written out, it's done as an
> atomic operation, i.e. at the system level it is a single write
> operation and nothing else happens on the system until it completes.

Brilliant!  No worries, then :-)

(by the way, loose the HTML)


___
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] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-29 Thread Erik Enge

On Thu, 29 Jun 2000, Jeff K. Hoffman wrote:

> It is my understanding that the ZODB on disk is always in a consistent
> state; Jim has said, in the past, that you can simply make a copy of
> Data.fs, even while Zope is running, without problems.

But the Data.fs has to be updated sometimes.  And if you read from a file
that is changing, the integrity of your data isn't.  How can you make sure
that the file is not written to during a certain period of time?  You
can't?


___
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] Data.fs.lock?

2000-06-29 Thread Erik Enge

On Thu, 29 Jun 2000, Chris Withers wrote:

> Hmm, about extending this so you have 'rotating data.fs files' in the
> same way you have rotating log files?

In general, yes :-).  Do you think it would be solving the right problem
the right way?

> Definitely, but I think it also needs to be solved for the normal Zope
> case as this is what most people will be running...

That's right.


___
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] Data.fs.lock?

2000-06-29 Thread Erik Enge

On Thu, 29 Jun 2000, Chris Withers wrote:

> Would this whole problem go away if Zope had a 'backup data.fs' funcion
> internally that could keep all transactions in memory while the
> appopriate files were copied?

It would, but keeping it in memory would be a bad thing.  Say your data.fs
file was 10GB large, and it took 4 hours to back it up, and you only had
X amount of RAM - then it would begin swapping after some time.  Now that
would be ugly :-).

One could possibly have a function that put new transactions in a new
file, and then - when told it was ok to do so - it could update the
regular data.fs file.  

Actually, if I'm not mistaken, this could be something to put in ZEO?


___
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] Data.fs.lock?

2000-06-28 Thread Erik Enge

On Wed, 28 Jun 2000, Oleg Broytmann wrote:

> On Wed, 28 Jun 2000, Chris Withers wrote:
> >
> > So, how should we backup data.fs without stopping Zope and ensuring the
> > integrity of our data all the while?
> 
>Pack and backup Data.fs.old.

But what if the site is incredibly busy and transactions
are going on _all the time_?  And can you automate the 
Pack function?  (If I wanted to do it during the night
for example)


___
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] Data.fs.lock?

2000-06-28 Thread Erik Enge

On Wed, 28 Jun 2000, Chris Withers wrote:

> I'd say it's definitely a problem if you have to stop zope to do a
> backup :(

How would you do it?  In Unix you can't check if the file is being
read to (can you?), so if you start backing up a 2GB Data.fs file
and then the Zope process starts writing to it, you'll have garbage :-).

Does ZEO solve this?


___
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] ZClass question?

2000-06-27 Thread Erik Enge

On Tue, 27 Jun 2000, Webmaster wrote:

> First when I try and create a new instance remotely I get a zope error
> "unauthorized" no matter what username and password I type. If I try and

Are you using DTML Methods or Documents?  I've heard other talking
about creating roles, but I switched from DTML Documents to DTML
Methods and tde 'unauthorized' message went away.  Don't know why :-(.


___
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] ZCatalog counting?

2000-06-27 Thread Erik Enge


On Tue, 27 Jun 2000, Alexander Limi wrote:

> Is there an easy way to count the number of occurences of a certain meta
> type in a Catalog? E.g: I want a dtml snippet that outputs:

Couldn't you do:




  


This folder (
number of objects with the meta type DTML Document.




___
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] Zope jobs.

2000-06-22 Thread Erik Enge

On Wed, 21 Jun 2000, ethan mindlace fremen wrote:

> So I ask for your patience: I will be moving on this soon.

Great!  Be sure to let us know :-).


___
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] Zope jobs.

2000-06-21 Thread Erik Enge

On Wed, 21 Jun 2000, Patrick Lewis wrote:

> Funny you should mention this. I have mocked up a job board at:
> 
> www.zope.org/Members/plewis/job_board

Let's hope they're not _too_ slow ;-).

> But, if you would like to privately email me with the
> details, I would happily post it in the meantime. 

Whats the use if you haven't announced it yet (i.e. no one
is looking ;-)?



___
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 jobs.

2000-06-21 Thread Erik Enge


Hi,

I was wondering.. Is there a place where I can post
Zope job offerings?  Shouldn't there be such a place
on zope.org?

(btw, anyone in England - or other parts of this planet - 
interested in work, please e-mail me)

Thanks,

 Erik Enge
 EMM Solutions



___
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] ZClass acting up?

2000-05-23 Thread Erik Enge

Tres Seaver <[EMAIL PROTECTED]> writes:

> If you fill out the ID and press 'Add', le voilà!

Yeah, your right! But that still means I need to do
some hacking about, and me and my semantics does not 
like that ;-)

> (Actually it looks like a duplicate of #811).

How can I see number 811, it just shows up to 600 and something?

___
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] ZClass acting up?

2000-05-22 Thread Erik Enge

"Kevin Dangoor" <[EMAIL PROTECTED]> writes:

> You're correct, there is no way to select a ZClass that is the child of
> another in the subobject list. (It is assumed to be available).

Yeah, but what you should probably do is to make the top ZClass one of
the base classes (but do not add it along with the Object Manager -
then you loose the recursiveness as well... don't know why) of the
ZClass you want to be recursive; as I did.

> I misread your original note. I didn't realize that test_project not only
> had test_folder as a base class, but is a class created underneath
> test_folder. I've never tried to do that, and it may not be a case that was
> considered when they built ZClasses...

I think it should be the natural case of the DOM? Could anyone clarify
this, please?

-- 
 Erik Enge

___
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] ZClass acting up?

2000-05-22 Thread Erik Enge

"Morten W. Petersen" <[EMAIL PROTECTED]> writes:

> My apologies, seems I forgot to speak in english:

So did I.. *smuck!*

> Tried it, and it worked. Looks like a Debian specific problem again,
> *cough,cough* ;).

Yeah, you think? I use Red Hat at the moment.

> Seriously, worked fine here.

And you followed the procedure as I said? Sure?

-- 
 Erik Enge

___
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] ZClass acting up?

2000-05-22 Thread Erik Enge

"Morten W. Petersen" <[EMAIL PROTECTED]> writes:


> Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen,
> *host,host* ;).
> 
Jeg bruker Red Hat 6.2 akkurat nå.

> Seriøst, funker helt fint her.

Hm. Og du fulgte samme prosedyre? Da må jeg nok ringe deg :)

-- 
 Erik Enge

___
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] ZClass acting up?

2000-05-22 Thread Erik Enge

"Kevin Dangoor" <[EMAIL PROTECTED]> writes:

> This seems like odd behavior to me. Did you check your Subobjects tab to
> make sure that the appropriate subobjects are still selected?

There is no way to select a Z Class that is a child of another Z
Class in the subobject list.  Should I be able to do that? Seems to
that this was never possible.  All I can select is test_product, but
that isn't what I want.  Got a clue?  Is it a bug or functionality
that just isn't supposed to be there?

Did you try it at your installation? With the same result? 

(I run Zope 2.1.6 on Linux if anyone wondered :-)

-- 
 Erik Enge


___
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 acting up?

2000-05-22 Thread Erik Enge

Hi,

I have discovered this extremely irritating "feature" with ZClasses.

Sorry for this long and rather ugly explanation, but I don't know what
the problem is, so it has to be like this:

Add test_product product in Control Panel - Product Management
In test_product:
Add a test_folder zclass with object manager as its base class
In test_folder:
Add test_project zclass with test_folder as its base class

(be sure to enter all factories and press "change")

Now, enter your Zope tree (http://localhost/, for example) and do:

Add a test_folder
In test_folder:
Add a test_project
In test_project:
Add a test_project

The point here being to demonstrate that you can add
recursively test_projects. Which is nice, I love it.. semantics
looking nice and all :-).

Then, go back to the test_product, and in test_project add a Z Class
thats called test_projectteam, make object manager the base class.

And finally, enter the test_folder you created earlier and add a
test_project. Enter this project... now what do you see? Thats right,
your not able to add test_projects recursively any longer, but you can add
project_teams (which doesn't really make me all that happy).

Why is this? I want to be able to structure projects into sub projects
and be able to divide the project teams working on the different
projects. Does anyone know why this happens? And possibly how I can
achieve what I want?

-- 
 Erik Enge

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