[Zope] ZopeProfiler (python profiler) - strange results

2005-07-19 Thread Maciej Wisniowski
don't think these are concurrent threads... but what makes this difference? It's possibly something trivial but... ;) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Re: Oracle 9.2.0.2

2005-08-01 Thread Maciej Wisniowski
with SQLRelay? I did only one stupid test but SQLRelay was faster than DCOracle2 in it. SQLRelay has function that allows to set buffer size and optimize it to specific kind of queries. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

[Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
PTroubleshooting Suggestions/P (...) - -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] When Debug Spinning Zope doesn't work

2005-08-01 Thread Maciej Wisniowski
)-me_value; (gdb) info threads {gdb) That's it, nothing. It used to work for me. Any clues? Hi! Have you tried DeadlockDebugger product? Maybe it will tell you what is happening. So far it is working perfectly for me. -- Maciej Wisniowski ___ Zope

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
this information here: http://plone.org/documentation/error/loadstate ?? -- Maciej Wisniowski ___ 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

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Maciej Wisniowski
(now in beta) and better will implement MVCC, so you *should* see performance improve (or at least see fewer conflict errors while using sessioning). Today I wanted to install 2.8.1 but we had no time... :) Thanks for the info -- Maciej Wisniowski

Re: [Zope] Zope 2.8 and conflict errors

2005-08-02 Thread Maciej Wisniowski
. BTW. SQLRelay version is a bit faster than DCOracle version :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] localhost:8080 not found on windows

2005-08-02 Thread Maciej Wisniowski
with runzope.bat - it will show you errors. Another thing you can do is changing the port number in zope.conf file from 8080 to 8081 or similiar. And last question. Have you created Zope Instance? -- Maciej Wisniowski ___ Zope maillist - Zope

Re: [Zope] zserver blocking behavior with a slow request

2005-08-02 Thread Maciej Wisniowski
is this blocking effect just expected behavior for zope? We are using Zope and Oracle too, and even 10 threads... and I didn't noticed something like this. What is your processor doing then? What is the CPU(s?) load. -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Maciej Wisniowski
:01.197916) So far I see that DCOracle2 version of my app caused 9 errors for the same scenario with 50 users. These are conflict errors with DCOracle2.DA.Procedure and in ZEO.ClientStorage... -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Maciej Wisniowski
MVCC for OOBTree (if this is the point?). Does anybody know something about that? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Zope 2.8 and conflict errors

2005-08-05 Thread Maciej Wisniowski
That looks like a write conflict. MVCC helps to lower/eliminate the rate of read conflicts. One option to reduce the rate of this write conflict is to tune the session machinery to suit. For example use session-resolution-seconds of say 300 seconds. Thanks! I've changed

Re: [Zope] Zope 2.8 and conflict errors

2005-08-05 Thread Maciej Wisniowski
... but I'm afraid it's not so simple ;) One more question - am I correct that _p_resolveConflict is not used anymore in Zope 2.8.x? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Zope 2.8 and conflict errors

2005-08-06 Thread Maciej Wisniowski
print statements from SP.Procedure are visible. Maybe these conflict errors I'm dealing with are different kind and are not falling into the correct piece of code or maybe this kind of test (print 'something') is too stupid to see if _p_resolveConflict is executed? -- Maciej Wisniowski

Re: [Zope] Zope 2.8 and conflict errors

2005-08-07 Thread Maciej Wisniowski
. It assigns values to self._v_proc, self.connection and self.errors. So except '_v_proc' there are 'connection' and 'errors' variables that are being assigned to. Maybe this it's because of them. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Zope 2.8 and conflict errors

2005-08-07 Thread Maciej Wisniowski
Zope (ZEO) to cause these errors). If you want to dig deeper, look into what happens inside lib/python/ZODB/ConflictResolution.py I'll try to check this, thanks for the hint. :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

[Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Maciej Wisniowski
(?) I need some hints how to find what causes this error - what has changed in 2.8.x and how to deal with this? Our application is written in ZODB not in products. There is a folder named 'input' in it, may it be the problem? -- Maciej Wisniowski

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Maciej Wisniowski
solution, which may not be appropiate in your case, is to render navigation box once and store whole the generated code in session. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Maciej Wisniowski
-seconds of say 300 seconds. It helped me a lot - almost no conflict errors :) Maybe you should try to change this setting in zope.conf and see what will happen. Im curious if there are side effects of setting high value to this variable? I haven't noticed any... -- Maciej Wisniowski

[Zope] Five defaultView and REQUEST.URL0

2006-02-21 Thread Maciej Wisniowski
for=.GeneralModule.IGeneralModule template=./zpt/test_uni.zpt name=test_uni permission=zope.Public / browser:defaultView for=.GeneralModule.IGeneralModule name=test_uni / ... -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Trapping exceptions

2006-02-28 Thread Maciej Wisniowski
put this code into external method - then you'll have no problem with permissions or, if you really need this, you may declare necessary modules as permitted to Zope - this is described in Products/PythonScripts/module_access_examples.py. -- Maciej Wisniowski

Re: [Zope] searching free hosting

2006-03-08 Thread Maciej Wisniowski
I'm looking for a free hosting service to publish my homepage. Freezope.org seems to be unavailable (registration form does not load). Anyone knows another site/service like freezope? Check http://objectis.net/ -- Maciej Wisniowski ___ Zope

[Zope] getView/getMultiAdapter and 'global name 'view' is not defined'

2006-03-09 Thread Maciej Wisniowski
() but now it causes errors. One more question - is it necessary to inherit from Products.Five.BrowserView in view class? I think that I've found somwhere that ZCML itself puts BrowserView into base clases of view class...? -- Maciej Wisniowski ___ Zope

Re: [Zope] Error: gaierror: (-2, 'Name or service not known')

2006-03-14 Thread Maciej Wisniowski
think it is something with your network setup. -- Maciej Wisniowski ___ 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

Re: [Zope] single sign-on

2006-04-02 Thread Maciej Wisniowski
folders for Zope that can use this. The idea of automatic logon to plone may be possibly done with CAS and ActiveDirectory or maybe with X509 certificates, tokens or such things. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

[Zope] request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
is this something with my Zope that I don't have request.locale or is that a bug? -- Maciej Wisniowski * ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
I'd say it's a bug. The Zope3 request has the locale attribute, but the Zope2 request implementation doesn't. Yeah, I supposed that but was not sure. Thanks. I've submitted an issue: http://www.zope.org/Collectors/Zope/2184 -- Maciej Wisniowski

Re: [Zope] request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
That's basically a Zope 3 issue and belongs into the Zope 3 bugtracker :-) Why Zope 3? I'm using Zope 2.9.4. This code is ported directly form Zope 3 or what? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
in Zope 2.9.4 code at all but it does... Do you mean it is correct?? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
request.locale is used). The problem's roots go deeper. I just thought that if there is DateDisplayWidget class in Zope2.9.4 code then it may be used. It is a bit strange for me that Zope contains code that is unuseable. But ok, I'll use something different. -- Maciej Wisniowski

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-05 Thread Maciej Wisniowski
can't be same thing done with DateDisplayWidget? Isn't this a simple solution? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Zope hangs when database takes too long to respond

2006-09-06 Thread Maciej Wisniowski
timeout value ? AFAIK not in Zope. Take a look at ZMySQLDA or rather the python MySQL library it uses. Maybe there is something like that. You may ask this question on Zope-DB list. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Zope hangs when database takes too long to respond

2006-09-07 Thread Maciej Wisniowski
or runzope.bat - you'll she statements from db.py. Of course you may write these to files with logging module or something if you don't want to use runzope. When zope hangs you may take a look at your console or file to see what is the state of threads. HTH -- Maciej Wisniowski

Re: [Zope] Zope hangs when database takes too long to respond

2006-09-07 Thread Maciej Wisniowski
When zope hangs you may take a look at your console or file to see what is the state of threads. Ergh.. I should have written that you'll see whether threads are waiting for database... If any thread does something different it won't be shown here. -- Maciej Wisniowski

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-07 Thread Maciej Wisniowski
used by getFormatter in Zope3. I mean something like: msgid = _('-MM-DD') res = translate(msgid, context=self.request, default=msgid) return renderElement(span, contents=escape(res), cssClass=self.cssClass) -- Maciej Wisniowski configure xmlns=http

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-07 Thread Maciej Wisniowski
), cssClass=self.cssClass) -- Maciej Wisniowski ___ 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

Re: [Zope] Need help tracing my application errors.

2006-09-07 Thread Maciej Wisniowski
and effective logger for this situation may be external method defined as: def print_this(text): print text Start zope with runzope script and as Anderas said call your external method from anywhere in Zope . You'll see your printed statements in the console. -- Maciej Wisniowski

Re: [Zope] assign REQUEST object to redirect?

2006-09-09 Thread Maciej Wisniowski
: in first script: container.REQUEST.SESSION.set('myid', 1) and in the second script: container.REQUEST.SESSION.get('myid', -1) You may want to remove myid from session in the second script. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] issue with a ZODB database conflict error

2006-09-27 Thread Maciej Wisniowski
. In the end a new file is added but that's only after many many minutes etc Don't know why it takes so long but you may install DeadlockDebugger and try to track down what happens with your Zope during adding this file. -- Maciej Wisniowski ___ Zope

Re: [Zope] issue with a ZODB database conflict error

2006-09-27 Thread Maciej Wisniowski
with redirection after this. Have you tried different browser? Firefox instead of IE or something like that? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] automated object exporting

2006-09-27 Thread Maciej Wisniowski
ZODB then you'll have to deal with Zope export features. You may also think about something like zsyncer. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] ZServer error

2006-10-02 Thread Maciej Wisniowski
the group archives for this. -- Maciej Wisniowski ___ 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

Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Maciej Wisniowski
problem too. You may use netstat to check whether your Zope is listening. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] ZopeEditArea, and how to host subfolders?

2006-10-08 Thread Maciej Wisniowski
publish whole folder, with javascripts and images, not using CMF DirectoryView? Mabye you should take a look at Five and directives like: browser:resourceDirectory name=zopeeditarea_js directory=js / -- Maciej Wisniowski ___ Zope

Re: [Zope] New kubuntu zope/plone installation problem

2006-10-16 Thread Maciej Wisniowski
is not running) to add new user. Other thing is that I think it is better to install zope from sources. Then you have control on what is installed, where and what is user account. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Zeo Client hanging

2006-10-17 Thread Maciej Wisniowski
in asyncore asyncore.py error:(110,'Connection timed out') I'm not sure what these errors are. Maybe firewall between zeo server and zeo client closes the connections or something like that? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] ZSQL Method's Precision

2006-10-24 Thread Maciej Wisniowski
(in python2.3 you need additional module decimal.py from Python 2.4 to enable it) which may give you necessary precision for financial operations and is able to store really big numbers. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] External Method = Slow; Shell Script = Fast

2006-11-02 Thread Maciej Wisniowski
results. -- Maciej Wisniowski ___ 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

Re: [Zope] How To Convert Files To Page Templates?

2006-11-07 Thread Maciej Wisniowski
' #- 4. Go back to ZMI and to 'Myfiles/' folder and create 'External method' there by simply filling all fields in the add form as 'files2zpt' 5. Click on your new External method files2zpt in ZMI and 'Test' it :) Thats all HTH BTW. I tested this on Zope 2.8.8 -- Maciej Wisniowski

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Maciej Wisniowski
you'll se this error :P' and then wonder why this page doesn't like you ;) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Problem in install ?

2006-11-14 Thread Maciej Wisniowski
It's just a guess. I'm not sure what the real problem is. -- Maciej Wisniowski ___ 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

Re: [Zope] All the pretty Icons have gone

2006-11-15 Thread Maciej Wisniowski
to directly open the image icon? Do you have any broken products in Control Panel-Product management? And stupid thing but, have you tried different browser...? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Database connectors

2006-11-16 Thread Maciej Wisniowski
_v_db_connection bound to specific ZODB connection's - thus this may be difficult to definitely close all opened connections. There is Zope-DB list for database specific questions. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Database connectors

2006-11-16 Thread Maciej Wisniowski
you have Zope-DB list? I think this thread should be moved there. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] PAS and SSO pubcookie question

2006-11-16 Thread Maciej Wisniowski
Does the 2.7 edition of the zope book that I can find on plope.org cover security as handled by PAS? No. Ehm... mistake, sorry. It does. But doesn't mention about PAS. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] PAS and SSO pubcookie question

2006-11-16 Thread Maciej Wisniowski
describes general concepts of Zope security. It is rather essential to know these things (like roles, permissions etc). If you use PAS then PAS becomes part of this. Read text files in docs/ in PluggableUserFolder, these are helpful too. -- Maciej Wisniowski

Re: [Zope] Database connectors

2006-11-17 Thread Maciej Wisniowski
to do a reconnect on a broken connections. It displays error once, and then reconnects. It also uses a kind of pool of connections, so Open/Close button is working as expected. If you're interested then I may try to publish this code. -- Maciej Wisniowski

Re: [Zope] Database connectors

2006-11-17 Thread Maciej Wisniowski
). We have cxOracleDA for Zope 2.8.x but it was not tested too much yet. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Database connectors

2006-11-17 Thread Maciej Wisniowski
): if self.db: self.db.rollback() Otherwise, when during request you've called only one stored procedure (no other zsqlmethods etc.) and this SP raised an exception, there may be no rollback to Oracle. -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] New to zope

2006-11-17 Thread Maciej Wisniowski
to use this. 8. Forgot password needs to be done somewhere else. -- Maciej Wisniowski ___ 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

Re: [Zope] migration from 2.9.1 to 2.9.4

2006-11-17 Thread Maciej Wisniowski
to be changed. It is possibly marked as resolved now. -- Maciej Wisniowski ___ 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

Re: [Zope] migration from 2.9.1 to 2.9.4

2006-11-17 Thread Maciej Wisniowski
Andreas Jung, so 'svn up' this :) -- Maciej Wisniowski ___ 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

Re: [Zope] Database connectors

2006-11-17 Thread Maciej Wisniowski
Seeing that Zope2 is still alive, kicking and in perfectly good health I think that many people would like an improved DCO2 adapter. I've published my code. Information is availaible at Zope-DB list -- Maciej Wisniowski ___ Zope maillist - Zope

Re: [Zope] Database connectors

2006-11-17 Thread Maciej Wisniowski
another resource managers from db.py. I've seen this alive in my environment, but this might be something wrong with my DCOracle2 version. I'll be glad if somebody may confirm this. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: ImportError: No module named cPersistence

2006-11-18 Thread Maciej Wisniowski
install 4. cd /opt/Zope/Zope285/bin 5. ./mkzopeinstance -- Maciej Wisniowski ___ 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

Re: [Zope] Database connectors

2006-11-18 Thread Maciej Wisniowski
it would be nice to publish this project (with his and our code) on sourceforge (or google code). -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] OFS.Cache.Cacheable.ZCacheable_invalidate and view_name

2006-11-19 Thread Maciej Wisniowski
for ZCacheable_invalidate says. Seems strange but maybe I've missed something here? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Database connectors

2006-11-21 Thread Maciej Wisniowski
() - for rm in self._resources: (Pdb) p self._resources [MultiObjectResourceAdapter for Products.DCOracle2.db.DB instance at 0xb6bee28c at -1241336788] and everything is OK then -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] New HD, Moving ZODB

2006-11-23 Thread Maciej Wisniowski
the end) definitions of your ZODB storage There are pathes to files and folders. You may move these files and folders to new HD and just change zope.conf to point to this. In general I think it is better to move whole Zope\ZEO instance, not only ZODB. -- Maciej Wisniowski

Re: [Zope] error with simple python script loop

2006-11-24 Thread Maciej Wisniowski
by other script? -- Maciej Wisniowski ___ 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

Re: [Zope] error with simple python script loop

2006-11-24 Thread Maciej Wisniowski
+1 increment, and you? -- Maciej Wisniowski ___ 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

Re: [Zope] error with simple python script loop

2006-11-25 Thread Maciej Wisniowski
similiar output as above (but in FF environment). In general seems that it is a IE bug. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] error with simple python script loop

2006-11-27 Thread Maciej Wisniowski
if this changes anything. -- Maciej Wisniowski ___ 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

Re: [Zope] My Sad Tale Of Woe

2006-11-29 Thread Maciej Wisniowski
to instance/var. To add new user, stop your Zope instance and go to instance/bin/zopectl write: useradd user passwd (or adduser, I don't remember) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] conditional python expresion inside ZPT

2006-12-05 Thread Maciej Wisniowski
: test(my_expression,a, b) -- Maciej Wisniowski ___ 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

Re: [Zope] help, installing ZJetDA-0.1.1..

2006-12-05 Thread Maciej Wisniowski
for you. -- Maciej Wisniowski ___ 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

Re: [Zope] Re: Preserving Context

2006-12-12 Thread Maciej Wisniowski
not sure what exactly is your case but you may try: div align=center tal:condition=here/hasSearchEngine(here/aq_inner) or just (without passing a parameter): div align=center tal:condition=here/aq_inner/hasSearchEngine() -- Maciej Wisniowski

Re: [Zope] Zeo question

2006-12-12 Thread Maciej Wisniowski
for example define (in zope.conf) mount points for folders that are individual for each zope etc. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Re: Preserving Context

2006-12-13 Thread Maciej Wisniowski
, and that's where I'm having trouble. So this is not because of this code. Your script ALWAYS returns '0' and does nothing more. Just try to remove everything after 'return 0' and see if it changes anything or remove 'return 0' and see what happens then. -- Maciej Wisniowski

Re: [Zope] Zeo question

2006-12-13 Thread Maciej Wisniowski
://longsleep.org/howto/sharesessionwithzeo/view -- Maciej Wisniowski ___ 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

Re: [Zope] Login track

2006-12-15 Thread Maciej Wisniowski
and if so what zope user_folders? -- Maciej Wisniowski ___ 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

Re: [Zope] Re: Python script, urllib2

2006-12-18 Thread Maciej Wisniowski
a shortcut (Ctrl+l) to do so. And I do pay attention when checking the recipients of my messages. But I haven't seen your post before Jonathan posted it... -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] change manage_addFile

2006-12-20 Thread Maciej Wisniowski
... If you want to create a form with a list of folders then look at plope.org on Zope Book at API Reference. There are functions like objectItems: self.objectItems( 'Folder' ) or objectItems( 'Foldered (Ordered)' ) -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] problem with the shapelib module.. help

2006-12-22 Thread Maciej Wisniowski
:\\web\\ZopeInstance\\taipei.shp') Is this working without Zope? -- Maciej Wisniowski ___ 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

Re: [Zope] zope sql_delimiter windows

2006-12-24 Thread Maciej Wisniowski
provide any further information? Try to execute failing statement directly from python code (without Zope). You should find examples on psycopg pages/docs etc. Looks for me that this may be a psycopg problem that is not connected with Zope. -- Maciej Wisniowski

Re: [Zope] processing data problem

2006-12-26 Thread Maciej Wisniowski
like that) to create typical Windows executable app. and there are other possibilities like installers etc. but you first need to define your target platform and then ask about this (possibly on python mailing list). -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] processing data problem

2006-12-27 Thread Maciej Wisniowski
? Just as you said, I could make an application for windows users, but I really want to keep everything web based and be multi-plateform. With Python you may be multi-platform even without web based solutions. Look at wxPython for example. -- Maciej Wisniowski

Re: [Zope] The product I made isn't in the product management page

2007-01-02 Thread Maciej Wisniowski
-- Maciej Wisniowski ___ 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] LDAPUserFolder Question

2007-01-05 Thread Maciej Wisniowski
dtml-call expr=REQUEST.set( 'User_Name',REQUEST.AUTHENTICATED_USER.getUserName()) I get the uid and not the cn. Any idea how I can get the cn? Maybe: REQUEST.AUTHENTICATED_USER.getUserDN() ? Take a look into LDAPUser.py -- Maciej Wisniowski

Re: [Zope] all_meta_types confusion

2007-01-06 Thread Maciej Wisniowski
HTH -- Maciej Wisniowski ___ 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

Re: [Zope] Migrate exUserFolder back to User Folder

2007-01-08 Thread Maciej Wisniowski
as exUserFolder. If not then, I think, it is not a big deal to write own plugin that will encrypt the passwords same way as exUserFolder. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Maciej Wisniowski
. -- Maciej Wisniowski ___ 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] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Maciej Wisniowski
these variables :) Other thing is, that AFAIR dtml is faster than ZPT. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] store dict in session

2007-01-10 Thread Maciej Wisniowski
objects (instancemethod) to the session. Check what is (what types of objects) in your requestlist variable. Try to assign just {'key1':'val1'} to the session and see if this works. Yur example works for me (in Script (Python) on Zope 2.8.8). Is this exactly the code you're using? -- Maciej Wisniowski

Re: [Zope] zopectl fg error

2007-01-15 Thread Maciej Wisniowski
Any clue to figure out this value? Go to: /usr/lib/zope2.9/lib/python/ZServer/datatypes.py, line 38, in prepare and before line: self.ip = socket.gethostbyname(self.host) write: raise self.host or: print self.host Later try to ping this address. -- Maciej Wisniowski

Re: [Zope] pool_size

2007-01-17 Thread Maciej Wisniowski
this, and then check deadlock debugger. You should see that one thread is busy. You just need to have your zope under some load. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Maciej Wisniowski
was updated. -- Maciej Wisniowski ___ 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

Re: [Zope] How to get modules that are called by external methodsreloaded?

2007-01-19 Thread Maciej Wisniowski
. I've tried this only on a small environment, so I'm not sure how it will work in big, loaded production environment. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] FW: Problem Starting Zope after Installation

2007-01-19 Thread Maciej Wisniowski
it fails on your system. Try googling for datetime problems. -- Maciej Wisniowski ___ 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

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread Maciej Wisniowski
a response to the browser, user pressed a 'Stop' button in browser, closed browser tab/window etc. Nothing to worry about. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

  1   2   3   >