[Zope] Need Server

2008-02-26 Thread Victor Subervi
Hi:
I am out of business and I need someone to host a client's site (for which
they will obviously pay). Requires Zope 2.78 and ZMySQL. Have everything you
need. I would need to get into the ZMI to set things up, but don't need
server access. Please write me off-list.
TIA,
Victor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining a Variable

2008-01-05 Thread Victor Subervi
That was too wierd. I deleted the External Varible, then re-added it, and
all worked well! Now, I just built this new server and transfered over the
Data.fs files. Maybe that was the problem??
Thanks,
Victor

On Jan 5, 2008 3:11 PM, Dieter Maurer [EMAIL PROTECTED] wrote:

 Victor Subervi wrote at 2008-1-4 10:59 -0400:
 Thank you both. However, it still doesn't work :( I have replaced
 getQuote
 with getQuote(), but to no avail. Other ideas?
 *Error Type: RuntimeError
 Error Value: external method could not be called because it is None*

 You see here how important it is to always provide full problem
 description. Usually, beside Error Type and Error Value the
 traceback, too, is very important.

 The error information above tells you that your problem is
 not the ?num but your External Method.

 Unfortunately, the information is not very precise.
 You need the following background information:

When an External Method cannot be loaded (e.g. because
its source is not found), then it is represented as None.

 You get more information, when you visit the External Method
 in the ZMI and press edit.



 --
 Dieter

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining a Variable

2008-01-04 Thread Victor Subervi
Thank you both. However, it still doesn't work :( I have replaced getQuote
with getQuote(), but to no avail. Other ideas?
*Error Type: RuntimeError
Error Value: external method could not be called because it is None*
*TIA,*
*Victor*

On Jan 3, 2008 2:26 PM, Dieter Maurer [EMAIL PROTECTED] wrote:

 Victor Subervi wrote at 2008-1-2 14:44 -0400:
  ...
 html
 body
 table
  tr
   td tal:define=num python:here.scripts.getQuote

 As Andreas already has pointed out, you probably need getQuote()
 rather than getQuote (as the name suggests, it is a method not a
 value).

span metal:use-macro=here/en-us/quotes/?num/macros/quote /br /

 ?var in a path expression means: replace ?var by the value of var.

 Therefore, if num contains the right value, the above should work.



 --
 Dieter

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Defining a Variable

2008-01-02 Thread Victor Subervi
Hi;
I have this in a page template:

html
body
table
 tr
  td tal:define=num python:here.scripts.getQuote
   span metal:use-macro=here/en-us/quotes/?num/macros/quote /br /
   div align=center
span class=text
 a href=quotes.pt target=_topbThe quotes/b/a
/span
   /div
  /td
 /tr
/table
/body
html

Now, I thought that was the correct way to call the variable num (that is,
with the question mark: ?num). Apparently, I'm mistaken. I've even tried
defining it this way:

  td tal:define=num python:str(11)
to make sure that num was properly assigned. What am I missing? Also, if I
have a dir called scripts in which getQuote exists, and scirpts is in
the path, shouldn't that notation work okay?
TIA,
Victor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Problem With Installation

2007-12-26 Thread Victor Subervi
Hi;
I'm trying to install the latest Plone in a Zope 2.10.5 instance and I get
this error:

Traceback (most recent call last):
File /usr/local/zope/210/lib/python/OFS/Application.py, line 709, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 64, in ?
import Products.ATContentTypes.content
File /usr/local/zope/Products210/ATContentTypes/content/__init__.py, line
26, in ?
import Products.ATContentTypes.content.link
File /usr/local/zope/Products210/ATContentTypes/content/link.py, line 39,
in ?
from Products.ATContentTypes.content.base import registerATCT
File /usr/local/zope/Products210/ATContentTypes/content/base.py, line 63,
in ?
from Products.CMFPlone.PloneFolder import ReplaceableWrapper
File /usr/local/zope/Products210/CMFPlone/__init__.py, line 215, in ?
from browser import ploneview
File /usr/local/zope/Products210/CMFPlone/browser/ploneview.py, line 12,
in ?
from Products.CMFPlone import utils
File /usr/local/zope/Products210/CMFPlone/utils.py, line 7, in ?
from plone.i18n.normalizer.interfaces import IIDNormalizer
ImportError: No module named plone.i18n.normalizer.interfaces
Traceback (most recent call last):
File /usr/local/zope/210/lib/python/Zope2/Startup/run.py, line 56, in ?
run()
File /usr/local/zope/210/lib/python/Zope2/Startup/run.py, line 21, in run
starter.prepare()
File /usr/local/zope/210/lib/python/Zope2/Startup/__init__.py, line 102,
in prepare
self.startZope()
File /usr/local/zope/210/lib/python/Zope2/Startup/__init__.py, line 278,
in startZope
Zope2.startup()
File /usr/local/zope/210/lib/python/Zope2/__init__.py, line 47, in startup
_startup()
File /usr/local/zope/210/lib/python/Zope2/App/startup.py, line 45, in
startup
OFS.Application.import_products()
File /usr/local/zope/210/lib/python/OFS/Application.py, line 686, in
import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File /usr/local/zope/210/lib/python/OFS/Application.py, line 709, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 64, in ?
import Products.ATContentTypes.content
File /usr/local/zope/Products210/ATContentTypes/content/__init__.py, line
26, in ?
import Products.ATContentTypes.content.link
File /usr/local/zope/Products210/ATContentTypes/content/link.py, line 39,
in ?
from Products.ATContentTypes.content.base import registerATCT
File /usr/local/zope/Products210/ATContentTypes/content/base.py, line 63,
in ?
from Products.CMFPlone.PloneFolder import ReplaceableWrapper
File /usr/local/zope/Products210/CMFPlone/__init__.py, line 215, in ?
from browser import ploneview
File /usr/local/zope/Products210/CMFPlone/browser/ploneview.py, line 12,
in ?
from Products.CMFPlone import utils
File /usr/local/zope/Products210/CMFPlone/utils.py, line 7, in ?
from plone.i18n.normalizer.interfaces import IIDNormalizer
ImportError: No module named plone.i18n.normalizer.interfaces

So I run this from the base of where all my Zope and Plone stuff lives:
find . -name normalizer
Nothing. So I try this:
find . -type f|xargs grep normalizer
and get back a bunch of stuff that has nothing to do with what I'm looking
for. What do?
TIA,
Victor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem With Installation

2007-12-26 Thread Victor Subervi
Right...wrong list...but I asked the right list 3 days ago and got no
response. As far as checking the archives, I tried googling this and came up
with nothing at all! I tried googling: ImportError: No module named
plone.i18n.normalizer.interfaces. Maybe you have a better idea? I decided
to post to this father list because no response from the child.
TIA,
Victor

On Dec 26, 2007 9:49 AM, Andreas Jung [EMAIL PROTECTED] wrote:

 Wrong list, please ask on plone-users. Bette check the plone-users list
 archive.. as far as I remember this issue has been asked a bunch of times
 over the last days.

 -aj

 --On 26. Dezember 2007 09:43:15 -0400 Victor Subervi
  [EMAIL PROTECTED] wrote:

  Hi;
  I'm trying to install the latest Plone in a Zope 2.10.5 instance and I
 get
  this error:
 
  Traceback (most recent call last):
  File /usr/local/zope/210/lib/python/OFS/Application.py, line 709, in
  import_product
  product=__import__(pname, global_dict, global_dict, silly)
  File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 64,
  in ? import Products.ATContentTypes.content
  File /usr/local/zope/Products210/ATContentTypes/content/__init__.py,
  line 26, in ?
  import Products.ATContentTypes.content.link
  File /usr/local/zope/Products210/ATContentTypes/content/link.py, line
  39, in ?
  from Products.ATContentTypes.content.base import registerATCT
  File /usr/local/zope/Products210/ATContentTypes/content/base.py, line
  63, in ?
  from Products.CMFPlone.PloneFolder import ReplaceableWrapper
  File /usr/local/zope/Products210/CMFPlone/__init__.py, line 215, in ?
  from browser import ploneview
  File /usr/local/zope/Products210/CMFPlone/browser/ploneview.py, line
 12,
  in ?
  from Products.CMFPlone import utils
  File /usr/local/zope/Products210/CMFPlone/utils.py, line 7, in ?
  from plone.i18n.normalizer.interfaces import IIDNormalizer
  ImportError: No module named plone.i18n.normalizer.interfaces
  Traceback (most recent call last):
  File /usr/local/zope/210/lib/python/Zope2/Startup/run.py, line 56, in
 ?
  run()
  File /usr/local/zope/210/lib/python/Zope2/Startup/run.py, line 21, in
  run starter.prepare()
  File /usr/local/zope/210/lib/python/Zope2/Startup/__init__.py, line
 102,
  in prepare
  self.startZope()
  File /usr/local/zope/210/lib/python/Zope2/Startup/__init__.py, line
 278,
  in startZope
  Zope2.startup()
  File /usr/local/zope/210/lib/python/Zope2/__init__.py, line 47, in
  startup _startup()
  File /usr/local/zope/210/lib/python/Zope2/App/startup.py, line 45, in
  startup
  OFS.Application.import_products()
  File /usr/local/zope/210/lib/python/OFS/Application.py, line 686, in
  import_products
  import_product(product_dir, product_name, raise_exc=debug_mode)
  File /usr/local/zope/210/lib/python/OFS/Application.py, line 709, in
  import_product
  product=__import__(pname, global_dict, global_dict, silly)
  File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 64,
  in ? import Products.ATContentTypes.content
  File /usr/local/zope/Products210/ATContentTypes/content/__init__.py,
  line 26, in ?
  import Products.ATContentTypes.content.link
  File /usr/local/zope/Products210/ATContentTypes/content/link.py, line
  39, in ?
  from Products.ATContentTypes.content.base import registerATCT
  File /usr/local/zope/Products210/ATContentTypes/content/base.py, line
  63, in ?
  from Products.CMFPlone.PloneFolder import ReplaceableWrapper
  File /usr/local/zope/Products210/CMFPlone/__init__.py, line 215, in ?
  from browser import ploneview
  File /usr/local/zope/Products210/CMFPlone/browser/ploneview.py, line
 12,
  in ?
  from Products.CMFPlone import utils
  File /usr/local/zope/Products210/CMFPlone/utils.py, line 7, in ?
  from plone.i18n.normalizer.interfaces import IIDNormalizer
  ImportError: No module named plone.i18n.normalizer.interfaces
 
  So I run this from the base of where all my Zope and Plone stuff lives:
  find . -name normalizer
  Nothing. So I try this:
  find . -type f|xargs grep normalizer
  and get back a bunch of stuff that has nothing to do with what I'm
 looking
  for. What do?
  TIA,
  Victor



 --
 ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
 Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
 
 E-Publishing, Python, Zope  Plone development, Consulting

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Problem w/ Fresh Build

2007-12-24 Thread Victor Subervi
Hi;
I'm building Z29 on a new FBSD62 server from port. I've done this before
with no problem. I followed the instructions exactly. Now, I get this:


2007-12-24 22:26:50 ERROR Zope Could not import Products.ATContentTypes

Traceback (most recent call last):

File /usr/local/www/Zope29/lib/python/OFS/Application.py, line 708, in
import_product

File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 37, in ?

from Products.ATContentTypes.config import HAS_LINGUA_PLONE

File /usr/local/zope/Products210/ATContentTypes/config.py, line 30, in ?

from Products.ATContentTypes.configuration import zconf

File /usr/local/zope/Products210/ATContentTypes/configuration/__init__.py,
line 25, in ?

from Products.ATContentTypes.configuration.config import zconf

File /usr/local/zope/Products210/ATContentTypes/configuration/config.py,
line 29, in ?

from Products.ATContentTypes.configuration.schema import atctSchema

File /usr/local/zope/Products210/ATContentTypes/configuration/schema.py,
line 29, in ?

from Products.ATContentTypes.configuration import datatype

File /usr/local/zope/Products210/ATContentTypes/configuration/datatype.py,
line 25, in ?

from Products.CMFCore import permissions as CMFCorePermissions

File /usr/local/zope/Products210/CMFCore/__init__.py, line 24, in ?

import five.localsitemanager

File
/usr/local/zope/Products210/CMFCore/src/five/localsitemanager/__init__.py,
line 2, in ?

from zope.component.globalregistry import base

ImportError: No module named globalregistry

Traceback (most recent call last):

File /usr/local/zope/295/lib/python/Zope2/Startup/run.py, line 56, in ?

run()

File /usr/local/zope/295/lib/python/Zope2/Startup/run.py, line 21, in run

starter.prepare()

File /usr/local/zope/295/lib/python/Zope2/Startup/__init__.py, line 98, in
prepare

self.startZope()

File /usr/local/zope/295/lib/python/Zope2/Startup/__init__.py, line 257,
in startZope

Zope2.startup()

File /usr/local/zope/295/lib/python/Zope2/Startup/__init__.py, line 47, in
startup

starter.setConfiguration(cfg)

File /usr/local/www/Zope29/lib/python/Zope2/App/startup.py, line 46, in
startup

File /usr/local/www/Zope29/lib/python/OFS/Application.py, line 685, in
import_products

File /usr/local/www/Zope29/lib/python/OFS/Application.py, line 723, in
import_product

KeyError



TIA,

Victor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Problem w/ Fresh Build

2007-12-24 Thread Victor Subervi
Ah. Thanks :)

On Dec 24, 2007 11:02 AM, Tres Seaver [EMAIL PROTECTED] wrote:



 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Victor Subervi wrote:
  Hi;
  I'm building Z29 on a new FBSD62 server from port. I've done this before
  with no problem. I followed the instructions exactly. Now, I get this:
 
 
  2007-12-24 22:26:50 ERROR Zope Could not import Products.ATContentTypes
 
  Traceback (most recent call last):
 
  File /usr/local/www/Zope29/lib/python/OFS/Application.py, line 708, in
  import_product
 
  File /usr/local/zope/Products210/ATContentTypes/__init__.py, line 37,
 in ?
 
  from Products.ATContentTypes.config import HAS_LINGUA_PLONE
 
  File /usr/local/zope/Products210/ATContentTypes/config.py, line 30, in
 ?
 
  from Products.ATContentTypes.configuration import zconf
 
  File
 /usr/local/zope/Products210/ATContentTypes/configuration/__init__.py,
  line 25, in ?
 
  from Products.ATContentTypes.configuration.config import zconf
 
  File
 /usr/local/zope/Products210/ATContentTypes/configuration/config.py,
  line 29, in ?
 
  from Products.ATContentTypes.configuration.schema import atctSchema
 
  File
 /usr/local/zope/Products210/ATContentTypes/configuration/schema.py,
  line 29, in ?
 
  from Products.ATContentTypes.configuration import datatype
 
  File
 /usr/local/zope/Products210/ATContentTypes/configuration/datatype.py,
  line 25, in ?
 
  from Products.CMFCore import permissions as CMFCorePermissions
 
  File /usr/local/zope/Products210/CMFCore/__init__.py, line 24, in ?
 
  import five.localsitemanager
 
  File
 
 /usr/local/zope/Products210/CMFCore/src/five/localsitemanager/__init__.py,
  line 2, in ?
 
  from zope.component.globalregistry import base
 
  ImportError: No module named globalregistry

 The pathnames of the files in the traceback would inicate you are using
 product versions compatible with Zope 2.10, rather than 2.9.  In
 particular, CMF 2.1 requires Zope 2.10.4 or later.



 Tres.
 - --
 ===
 Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
 Palladion Software   Excellence by Designhttp://palladion.com
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFHb8nw+gerLs4ltQ4RAjo4AKC3Lh0bU7CBHzdrwMb922gJFbYYjACgv9I7
 e1gg2QZO8smTuFdDS7lKBGo=
 =3hSz
 -END PGP SIGNATURE-


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Progam To Write To PT

2007-12-05 Thread Victor Subervi
Hi;
How do I programmatically write to a page template? That is, I have a
program on server and I want to write from that to PT in Zope.
Documentation?
TIA,
Victor
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Progam To Write To PT

2007-12-05 Thread Victor Subervi
I will need to create it first. Using your formula, would this be correct?
my_folder/manage_addProduct/PageTemplates/manage_addPageTemplateForm(id =
my_id)
TIA,
Victor

On Dec 5, 2007 3:28 PM, Eric Bréhault [EMAIL PROTECTED] wrote:

 Hello,

 is there any particular reason why you cannot make your program write its
 output in the ZODB and then access this content from a regular page template
 to display it properly ?

 Eric BREHAULT

 On Dec 5, 2007 8:19 PM, Victor Subervi [EMAIL PROTECTED] wrote:

  Hi;
  How do I programmatically write to a page template? That is, I have a
  program on server and I want to write from that to PT in Zope.
  Documentation?
  TIA,
  Victor
 
  ___
  Zope maillist  -  Zope@zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
 
 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )