[Zope] AttributeError: LazyMap instance has no attribute '_product'

2006-12-04 Thread Peter Bengtsson
I have a Zope 2.8.8 for which I've developed a product that creates an object called Collection that is defined like this:: class Collection(BTreeFolder2, CatalogAware): implements(ICollection) meta_type = COLLECTION_METATYPE def __init__(self, id, **other_stuff): apply(

[Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread larrymcdonnell
Hi, It is a simple question, has anyone generated barcodes output within DTML? I am just starting to reseach this and I know there are different formats. I tried googling but I did not find this type of integration. My customer prints out a shipping manifest and work like to add the barcode on

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 4. Dezember 2006 15:30:31 + [EMAIL PROTECTED] wrote: > Hi, > > It is a simple question, has anyone generated barcodes output within > DTML? I am just starting to reseach this and I know there are different > formats. I tried googling but

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread Martijn Pieters
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: It is a simple question, has anyone generated barcodes output within DTML? I am just starting to reseach this and I know there are different formats. I tried googling but I did not find this type of integration. My customer prints out a shi

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread Kirk Strauser
On Monday 04 December 2006 9:30 am, [EMAIL PROTECTED] wrote: > It is a simple question, has anyone generated barcodes output within > DTML? Sure! I cheated by making a GIF of every barcode digit, then in my page, I just print the image tags in order. Ain't fancy but it's been working perfectl

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread larrymcdonnell
Hi, Thanks for the replies and this has been a big help. Thanks, Larry -- Original message from [EMAIL PROTECTED]: -- Hi, It is a simple question, has anyone generated barcodes output within DTML? I am just starting to reseach this and I know there are different fo

Re: [Zope] Wrong time displayed on events

2006-12-04 Thread Dieter Maurer
Kirk Strauser wrote at 2006-12-3 12:19 -0600: >I've just installed Plone 2.5.1 on Zope 2.9.6 running on FreeBSD 6-STABLE. >On my newly created Plone site, whenever I add an event, it's displayed >with the wrong time.  For instanced, if I create one that runs between >2006-12-05 19:30 and 22:00, it

Re: [Zope] zope migration (plone related)

2006-12-04 Thread Dieter Maurer
chris h wrote at 2006-12-3 23:10 -0500: > ... >Now its easy enough to reinstall woody and get everything up and running. >However when I looked at the installed version of zope, python, cmf and plone >(this is essentially a plone site for a dot org) they are extremely dated but >at least are con

Re: [Zope] AttributeError: LazyMap instance has no attribute '_product'

2006-12-04 Thread Dieter Maurer
Peter Bengtsson wrote at 2006-12-4 11:52 +: > ... >If I try to do it in code like this:: > > def _uploadPhoto(self, file): > adder = self.manage_addProduct['Photo'].manage_addPhoto > adder('photo', '', file, **photo_settings) > >Then I get this error:: > > ... > File "/home/peterb

Re: [Zope] Wrong time displayed on events

2006-12-04 Thread Kirk Strauser
On Monday 04 December 2006 12:32, Dieter Maurer wrote: > It might have to do with how you entered the date. > > Watch out this example: > >>> DateTime('2006-12-05 13:30:00') > > DateTime('2006/12/05 13:30:00 GMT+1') > > >>> DateTime('2006-12-05T13:30:00') > > DateTime('2006/12/

Re: [Zope] zope migration (plone related)

2006-12-04 Thread chris h
On Monday 04 December 2006 13:34, Dieter Maurer wrote: > However, Zope will post much less hurdles than Plone. > Ask the Plone mailing list about how to migrate from an ancient > Plone to a current version. As always thanks for your insightfull comments Dieter. The plone guys tell me to talk to