On Wed, Sep 13, 2000 at 10:20:15AM -0300, Celio C. Guimaraes wrote:
1) In order to connect successfully I had to drop the @sid parameter:
dbc=DCOracle.Connect('scott/tiger@ora8')
returns with error: ORA-12154 : TNS: could not resolve service name
I think this is default oracle
--
From: tom smith [EMAIL PROTECTED]
Date: Thu, 14 Sep 2000 09:01:22 +0100
To: tom smith [EMAIL PROTECTED]
Subject: Re: [Zope] FW: list of users tied to database
dtml-in "theOTHERintranet.acl_users.getUserNames()"
dtml-let TheUserName==dtml-var sequence-item
dtml-in
On Wed, 13 Sep 2000 12:03:40 -0400, Brian Lloyd [EMAIL PROTECTED]
wrote:
i couldn't find anything in the list archives or the docs about python
1.6 from python's site, it looks like there are a lot of changes that
could break code. can i run zope 2.2.1 on python 1.6 or should i
stick with
Hallo,
my question is about organizing scripting when you have to deal with huge
amounts of content.
I.e. you have a custom that wants to establish a website .This website
should have in the future about 2000 pages but you on your own are building
only some pages and a lot of templates that his
On Thu, 14 Sep 2000, Riku Voipio wrote:
How do you reolad an external method that has changed?
Just click on 'Edit' button.
[EMAIL PROTECTED]
/--\
| `long long long' is too long for GCC |
\--/
Nick Trout wrote:
My question: what is the best way to do this?
Is there a product to this.?
You could look in the mail list archvies before asking this question
since it's such a FAQ :-(
LocalFS
load_site.py
cheers,
Chris
___
Zope maillist -
Riku Voipio wrote:
How do you reolad an external method that has changed?
You shouldn't need to do anything, or so I was told...
In practice, you can either:
- wait a few minutes until the external method object gets flushed out
of the cache
- Hit the 'Edit' button for the external method.
I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to
1.6 release, I found that I can't run Zope again(Can go to the first, very
simple page, and no further). The error msg are:
WARNING: Python C API version mismatch for module ExtensionClass:
This Python has API
Andreas Pauley wrote:
I have an external method that looks (somewhat) like this:
def extAccess(self, accttype_cde):
return accttype_cde
dtml-if "extAccess(accttype_cde='COM')"
bThe external method returned true/b
/dtml-if
I get the following error for the above statement:
Error
on 14/9/00 9:28 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
Did you try this proposal posted yesterday ?
Yep, and I can't quite get it to work. I'm still trying though
tom
___
Zope maillist - [EMAIL PROTECTED]
Hello!
I am curious to see if there are any Swedish and/or Nordic users of Zope on
this list.
Cheers,
/dario
-
Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology
[EMAIL PROTECTED] ICQ will yield no hits
On Thu, Sep 14, 2000 at 11:52:59AM +0100, Chris Withers wrote:
Riku Voipio wrote:
How do you reolad an external method that has changed?
(versions are rather cool, now I can develop on the production
server safely).
Versions and external methods interact very badly :-(
Don't try
The best way is the product called Loadsite. You can point it to a
directory and it will suck up all your images and html. Zope will
have no problem serving it up.
J
At 9:56 AM +0100 9/14/2000, Nick Trout wrote:
Hi, I would like to incorporate a load of static HTML pages into my Zope
website.
I have made a zClass called "newsProduct" that is articles with predefined
properties.
It works nicely when I am logged on as an Administrator. I can add articles.
No problem.
I also have a site with the following structure
root
news
I want some users to be able to add "news" articles
Squishdot 0.7.2 is now available from
http://www.zope.org/Members/chrisw/Squishdot/
http://www.squishdot.org/Download/Squishdot
The following changes were made:
- Squishdot now works with INSTANCE_HOME Zope installations
If you run into problems, remember Squishdot has a mailing list at
Hi,
hope someone can point me to the right direction with this:
I want to add an object using DTML. To do this I create a method
'addanewFolder' (not in a product, but somewhere in the document
tree):
=== cut here ===
dtml-call "REQUEST.set('ts', ZopeTime())"
dtml-call "REQUEST.set('id',
Hi,
Given the new strictness characters allowed in id's, it'd be great if
there was something called id_quote which behaved in the same way as
html_quote or url-quote except it made a string suitable for use as an
id. It's be great if ti was available as a methdo in python as well :-)
What do
subscribe
MfG / best
regards,
Peer Dicken
IMD GmbH
Softwareentwicklung
Unternehmensberatung
Edisonstr. 1
59199 Bönen
Tel.:
+49 23 83 - 9191-0
Fax.:
+49 23 83 - 919191
Given the new strictness characters allowed in id's, it'd be great if
there was something called id_quote which behaved in the same way as
html_quote or url-quote except it made a string suitable for use as an
id. It's be great if ti was available as a methdo in python as well :-)
What do
How would you give a content manager the ability to update a live Zope site ?
What I have is an in-house development site with various folders and each
folder has a manager.
I thought I would be able to let them use FTP on port 8021 to unload
objects from the development site and update a
Is there a place where pluggable brains mechanism is described ?
I am beginning a Zope site project. With the few I have read
about pluggable brains, I feel that more info could help me in
deciding which part of data has to stay in ZODB and which should
go inside RDBM.
Thanks.
Godefroid
Hi, I'm running squishdot 0.4.0 on zope 2.1.6
on a system running linux rh 5.2
and I'm experiencing some problem:
when I try to open the main page index_html
I get this error:
Error Type: AttributeError
Error Value: 'string' object has no attribute '__basicnew__'
and on the console running
[EMAIL PROTECTED] wrote:
I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to
1.6 release, I found that I can't run Zope again
Though I am a newbie Zope developer, it was very kindly explained to me that a bug
in Python 1.6 was being ticked by Zope 2.2.1 (you'll find
[EMAIL PROTECTED] wrote:
Plan B was to use the export facility but they would then need to have
telnet access to the Zope import directory in order to put the .zexp file
there, which seems a huge security gap to me.
I set up ncftp to allow ftp uploads (but not erasures or the creation of
new
Hi all,
just to check:
with zope 220 when I do any changes to a normal user in a normal
acl_users folder this user can no more access the zope module via ftp, i.e,
login ok but a simple dir command return a unauthorized error .
Isn't suppose to the FTP server view this changes cause its
On Thu, Sep 14, 2000 at 10:23:21AM +0200, Nils Kassube wrote:
[EMAIL PROTECTED] (Lalo Martins) wrote:
Renderable wasn't even GPL'ed to begin with. And this isn't a
mistake; now that I think if it, I clearly remember having
chosen the ZPL so that DC folks could easily take the changes
Hi,
I trying to use Eventfolder 1.0.1, I imported the EventFolder.zexp,
restartet Zope 2.2.1 and could add an Eventfolder, when I try to open the
created eventfolder I get the message:
The specified module, EventFolder.utils, couldn't be found.
what's wrong here ?
Mit freundlichen Grüßen
If they are:
- very large (MB+)
- generated by some external process
-or-
- uploaded by users
...then Local File System is one way to go.
Otherwise, loadsite.py will just slurp them all into the ZODB and you can serve
them from there.
--jfarr
- Original Message -
From: Nick Trout
Hello
We have folder on our site with a list of links to restricted pages and
downloadable binary objects.
1. 'Anonymous' can view the index_html of the top level folder for this part
of the site.
I did this by selecting 'Security' tab of my Zope folder, and then
deselected the 'Aquire
Hi !
[EMAIL PROTECTED] wrote:
Hallo,
my question is about organizing scripting when you have to deal with huge
amounts of content.
I.e. you have a custom that wants to establish a website .This website
should have in the future about 2000 pages but you on your own are building
only some
Hello
I asked this in longer form before, but it fell by the way I think..
How to add a property to a containing folder.
Looking for DTML or External Method way to do this.
We need a Method to to add a new folder property assigning an 'Id' =
somename adn 'type' = 'tokens'.
We need to be able
[EMAIL PROTECTED] writes:
Is there a place where pluggable brains mechanism is described ?
I forgot where I saw a description.
But it is incredibly simple:
You can wrap an arbitrary class instance around your database rows.
This transforms your rows into full featured objects with
the
[EMAIL PROTECTED] wrote:
Is there a place where pluggable brains mechanism is described ?
I am beginning a Zope site project. With the few I have read
about pluggable brains, I feel that more info could help me in
deciding which part of data has to stay in ZODB and which should
go inside
Any ideas?
the python way of getting the right path separators is to use
os.path.join(item1, item2, ...)
Works even for macs ;-)
Rik
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts
ZPatterns, latest released version.
def abort_sub(self, transaction):
In Transactions.py, aborting a subtransaction will fail because of a
method signature mismatch.
Was:
def abort_sub(self, transaction):
self.tpc_abort()
Should be:
def abort_sub(self, transaction):
Since the beginning of this year DC have moved alot of debate and
discussion out of mailing lists, and in to Wikis.
http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does
anyone else find Wikis to be far less convenient than a good old
mailing list?
Ive been annoyed by the
Toby Dickenson wrote:
http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does
anyone else find Wikis to be far less convenient than a good old
mailing list?
Each has their ups and downs :-S
1. No threading. On several occasions I have made comments in a Wiki
that were
Chris McDonough wrote:
A lot of the listed complaints are trying to be addressed by the
"WikiNG" proposal, which is (of course) in the Proposals wiki on
dev.zope.org.
The irony ;-)
This may be a good idea... personally, I really don't have much of a
problem keeping up with the discussions,
A lot of the listed complaints are trying to be addressed by the
"WikiNG" proposal, which is (of course) in the Proposals wiki on
dev.zope.org.
Okay, here's an idea which people may or may not like:
How about running the 'Discussion' parts of (in particular) dev.zope.org
from ZDiscussions,
On Thu, 14 Sep 2000 10:11:56 -0400, Chris McDonough
[EMAIL PROTECTED] wrote:
A lot of the listed complaints are trying to be addressed by the
"WikiNG" proposal, which is (of course) in the Proposals wiki on
dev.zope.org.
Yes, I was aware of that proposal, and I tried to avoid repeating
issues
At 01:41 PM 9/14/00 +0100, Steve Alexander wrote:
I think there's something not quite right about the way ZPatterns is
handling subtransactions, even with this patch, and the other one
related to Transactions.py that I posted a while back.
Is there any detailed documentation about how Zope
"Spicklemire, Jerry" wrote:
snip very good points about DTML's problems
The greatest mystery to me
is how something this obscure could have possibly been written in Python,
which is about as obvious as code gets.
-- absolutely priceless :-)
Chris
In article [EMAIL PROTECTED],
Toby Dickenson [EMAIL PROTECTED] wrote:
10. There are too many empty pages, because someone has clicked on a ?
next to word that happened to be a WikiName. Useful pages lie hidden
behind a sea of links to empty pages.
IMHO, ZWiki is broken in this respect.
Ty Sarna wrote:
In article [EMAIL PROTECTED],
Toby Dickenson [EMAIL PROTECTED] wrote:
10. There are too many empty pages, because someone has clicked on a ?
next to word that happened to be a WikiName. Useful pages lie hidden
behind a sea of links to empty pages.
IMHO, ZWiki is broken
"Phillip J. Eby" wrote:
I will try to have a ZPatterns snapshot release made this week that will
include those fixes (plus the fix for a problem with DynPersist that we
also discovered yesterday).
Great. I'm looking forward to that.
Can we lose DynPersist altogether for this release?
Or
Carl Robitaille wrote:
It's looks like aq_base is not available.
Yes, apparently it's not available in DTML for security reasons :-(
You could write a really small external method to get it for you:
UNTESTED
def ex_aq_base(object):
return getattr(object,'aq_base',object)
Jon Franz wrote:
This is already being setup as part of the patch and small change
integration page...
more details once it's up this weekend ;P
you will like.
Has anything come of this yet?
cheers,
Chris
___
Zope-Dev maillist - [EMAIL
Lance wrote:
Well, I'm at a loss. I tried a bunch things myself, and I've found out that
instances of the Article class are not inheriting __ac_permissions__ from
the Posting class.
How did you find this out? It's be good to knwo 'cos it might be a weird
acquisiton wrapping thing rather than
At 03:56 PM 9/14/00 +0100, Steve Alexander wrote:
Can we lose DynPersist altogether for this release?
Unfortunately, no. Zope's cPersistent class appears it may have a bug that
is roughly similar to the one we're fixing in DynPersist. (i.e., not
calling __of__ or other binding operations on
It's up now. In addition to the transaction fixes and DynPersist fix, this
release also fixes the missing import of aq_base in PlugIns.py, and the
SkinScript compiler fouling up certain expressions due to its removal of
spaces between tokens. Last, but not least, you can now place Specialists
On Thu, 14 Sep 2000 [EMAIL PROTECTED] wrote:
Since the beginning of this year DC have moved alot of debate and
discussion out of mailing lists, and in to Wikis.
http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does
anyone else find Wikis to be far less convenient than a good
On Thu, 14 Sep 2000 [EMAIL PROTECTED] wrote:
Chris McDonough wrote:
A lot of the listed complaints are trying to be addressed by the
"WikiNG" proposal, which is (of course) in the Proposals wiki on
dev.zope.org.
The irony ;-)
This may be a good idea... personally, I really don't
At 05:39 PM 9/14/00 +0100, Steve Alexander wrote:
Phillip J. Eby wrote:
It's up now. In addition to the transaction fixes and DynPersist fix, this
release also fixes the missing import of aq_base in PlugIns.py, and the
SkinScript compiler fouling up certain expressions due to its removal of
Chris Withers wrote:
Shane Hathaway wrote:
How should I got about petitioning
for
dtml-var anobject aq_context to become valid syntax?
There's one little (okay, big) problem with this idea: aq_context
strips the security context. In fact, it could be used to confuse the
Where do I place the ZClass. I've put a dtml method named index_html
in it. I have a specialist and the ZClass in a product folder. is
this the correct way. Here is the code
dtml-var standard_html_header
h2dtml-var title_or_id dtml-var document_title/h2
dtml-let
So now I need to change it so most normal errors (such as 404) are handled
by standard_error_message. So I went to HTTPResponse.py and found this:
def _error_html(self,title,body):
# XXX could this try to use standard_error_message somehow?
I gather someone smarter than me has tried
--- In [EMAIL PROTECTED], Julio Flores Schwarzbeck [EMAIL PROTECTED] wrote:
The problem is that no matter what I do, with any valid sql statement like
"select * from test1" gives me the following error:
Error Type: ValueError
Error Value: unpack sequence of wrong size
(RoleMgr)
Has anyone
57 matches
Mail list logo