RE: [Zope] How to upgrade to 2.3 (no differential install?)

2001-01-30 Thread dale . w . lance

just checked man of tar  - no "z" was listed.
what exactly is definition of "z"?
I assume it might be "ignore top level directory"?

Dale

--   SNIP

two steps too many ;)
Just tar -xvzf the original file,no need to copy and then delete the 
copy.
/me ducks


___
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 make a thumbnail from an added image..?

2001-01-24 Thread dale . w . lance

You could try:
http://www.zope.org/Members/haqa/archive/ZPhotoAlbum

http://www.zope.org/Members/Drew/Photo

These seem to do something similar to what you are asking.
If not well, dtml-var typical_open_source_quote.

Dale

-Original Message-
From: thomas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 4:28 AM
To: zope
Cc: thomas
Subject: [Zope] Is it possible to make a thumbnail from an added
image..?


Just a quick Idea:

Can somebody make a routine RESIZING an image...?

It would be great if someone could make something like that...

Just imagine it: You add an Image_with_thumb... Browse for the image, 
then
it adds your image to the site  AND it is being resized to, for 
instance,
16x16pixels, and you can use that thumb as an icon for the image...!
Wouldn't that be great...?

Sorry about this silly question... It will not  happen again (I hope)  
= )

( = Stoons = )
 - Webmaster @ 3D festival (http://www.3dfestival.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] Fragments of html in IE (Was: Why Not Zope? ...)

2000-12-03 Thread dale . w . lance

I just tried with netscape and get the same thing.
(the dangling /ta)

Hope this helps
Dale

-Original Message-
From: seb [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 03, 2000 5:45 PM
To: riku.voipio
Cc: seb; zope
Subject: [Zope] Fragments of html in IE (Was: Why Not Zope? ...)


* Riku Voipio [EMAIL PROTECTED] [001201 10:46]:
 Besides, the zserver on 2.1.6 seems to have bugs that sometimes let 
 the page only 90% through.

I don't know if your 90% problem is the same as the one I've been
having, but I'm scratching my head a lot here:

When I test my site using IE5.5, the page seems to get fragmented
somewhere along the way.  Usually, all but the last few bytes arrive
at the browser.  Sometimes _only_ the last few bytes arrive at the
browser.  But using NS under 'nix, everything's fine.

I've tried running the HTTP headers from each browser through a telnet
session and I seem to get all the data every time.

Has anyone else seen this behaviour?  You can check it out at

  http://test1.jamkit.com

and if you're running IE you may see either a stray

 /ta

at the bottom of the screen, or perhaps just a

 ble/body/html

on a white background.

Cheers,

seb

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

2000-10-16 Thread dale . w . lance

Or you could renormalize your data to have:

 - ---
|  Artist |   |  Note |
|-|---|---|
|  id |   | id|
 -| artist_id |
  | note_str  |
   ---

you now have a list of notes by artist_id.
You typically won't have a screen that doesn't have an Artist context
to be adding a note to. (or to remove all notes from).
Of course this means more work to migrate :-(
And I don't know all possible scenarios for which you would
need the structure you gave, but it is another way around this.
It probably doesn't solve real complex scenarios either.

JAT

Dale

-Original Message-
From: administrator [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 6:11 AM
To: zope
Cc: administrator
Subject: Re: [Zope] MySQL and Zope struggles


I don't know if the following link can solve your problem,
but maybe it gives you an idea:
http://www.zope.org/Members/Roug/new_record_with_subrecords
(How-To: Creating a new record with subrecords in MySQL)
 Arno


 I'm struggling to migrate an application from Zope/PostgreSQL to Zope 
MySQL
 (Why ? - because I've got a kind offer of free hosting if I use 
MySQL).

 MySQL offers a limited set of features and is missing, among other 
things,
 the ability to use subqueries - so for example in PostgreSQL you can 
say

 update note set notes =dtml-sqlvar notes type=string
  where note_id =
  (select note_id from artist where dtml-sqltest artist_id 
type=int)

 and in MySQL you can't.

 If you were working in a traditional programming environment you could
 overcome this by splitting the above into two parts - a select to 
retrieve
 the value of note_id from the artist table followed by an update of 
the
 note table using the returned value of note-id.

 For example

 select note-id into note-id-var from artist where artist-id = 23;
 update note set notes = 'asdasda' where note-id = note-id-var;

 The problem is that in Zope I believe you can't use a returned value 
within
 an SQL Method,  so the above code would fail. The only way I can see 
to do
 the above is to have two separate SQL Methods, one for the select,
 returning the note-id-var and another for the update. This is very 
clumsy.

 I was wondering if anyone could tell me if there was a better way.

 Many thanks


 Richard

 Richard Moon
 [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 )


 To: [EMAIL PROTECTED]