Re: [Zope] (also) ConflictError from Products.Transience.Transience.Increaser

2010-08-04 Thread Maciej Wisniowski
session_resolution_seconds (eg. to 300) at your zope.conf to get rid of these conflict errors. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https

Re: [Zope] (also) ConflictError from Products.Transience.Transience.Increaser

2010-08-04 Thread Maciej Wisniowski
Chris Withers pisze: Maciej Wisniowski wrote: You may try to incerase session_resolution_seconds (eg. to 300) at your zope.conf to get rid of these conflict errors. Is that a root zope.conf setting or does it live in some special section? It is a root setting in zope.conf. Example from my

[Zope] Zope 2.8.4 - ZEO ClientStorage cache problem

2010-04-07 Thread Maciej Wisniowski
Hi! I have a problem with my instances of Zope 2.8.4: recently they started to run slowly. Restarting doesn't help much. After observing Zope threads with DeadlockDebugger we found that very often threads are stuck while trying to access to ZEO cache file. We have ZEO server and 2 ZEO clients.

Re: [Zope-DB] use of cx_oracle adapter from within python script ?

2007-11-16 Thread Maciej Wisniowski
---t3039608.html -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Maciej Wisniowski
. You may take a look at CCZSQLMethods as they are example of extending ZSQLMethods. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Weird hangs on zope/plone.

2007-10-09 Thread Maciej Wisniowski
time happen? Use DeadlockDebugger and if this doesn't help try: http://www.zopelabs.com/cookbook/1073504990 -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Weird hangs on zope/plone.

2007-10-09 Thread Maciej Wisniowski
resources like LDAP are not restarted/backed up or sth. like that at this time, or before (eg. there is a backup at night that causes 'something' wrong for connections from your zope and your users start working since 8:00 - thats when you see 'hangup'). -- Maciej Wisniowski

Re: [Zope] How to upgrade Python in older Zope?

2007-09-11 Thread Maciej Wisniowski
ZODB and make it smaller. Of course create a backup before ;) -- 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-DB] case insensitive ZSQL queries

2007-09-06 Thread Maciej Wisniowski
thanks -- it now works like a charm AFAIR 'ilike' in postgres doesn't properly support i18n characters, so be carefull with that. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] UTF encoding problem w/ ZPT's (No, not the usual :)

2007-08-30 Thread Maciej Wisniowski
that the string - unicode difference might come from the encoding of the PT itself? Which Zope version do you have and are you sure your versions are same in both environments? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Can t start Zope

2007-08-28 Thread Maciej Wisniowski
previous error is possibly due to broken installation. Check if you have AccessControl.Role and if so, then check if your python/site-packages doesn't contain another one eg. from Zope3. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope-DB] updating fields in a zsql method programmatically

2007-08-27 Thread Maciej Wisniowski
) or even: context.insertNew(field1='something', field2=other_variable) It is more clear than getting values from context I think. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] updating fields in a zsql method programmatically

2007-08-27 Thread Maciej Wisniowski
onsombal napisaƂ(a): I tried the techniques you suggested and it results in the same error -- KeyError: 'form.submitted' You didn't tell about this kind of error before. Post a full traceback, please. I suppose that error is somewhere else... -- Maciej Wisniowski

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Maciej Wisniowski
/name/div /div -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Conflict errors

2007-07-27 Thread Maciej Wisniowski
Could anyone suggest whats happening here that cause this error. Look at list archives. You may try to incerase session-resolution-seconds to 300 in your instances zope.conf and see if there is less of these errors. BTW. Zope-DB is about Zope and relational databases only. -- Maciej

[Zope-DB] Re: [Zope] Conflict errors

2007-07-27 Thread Maciej Wisniowski
Could anyone suggest whats happening here that cause this error. Look at list archives. You may try to incerase session-resolution-seconds to 300 in your instances zope.conf and see if there is less of these errors. BTW. Zope-DB is about Zope and relational databases only. -- Maciej

Re: [Zope] Extracting all files from Zope DB

2007-07-26 Thread Maciej Wisniowski
' to FTP requests, and you can see them in your FTP client. If some objects are not 'FTP enabled' you will not be able to use them via FTP. Take a look at group archives. AFAIR there were similiar questions some time ago. -- Maciej Wisniowski ___ Zope

Re: [Zope] Site Error page

2007-07-22 Thread Maciej Wisniowski
BlankIs there any way to update the Zope's error page that appears during any Site error with a different content? Any help is appreciated in advance. Change standard_error_message object (located at root folder - visible via ZMI) -- Maciej Wisniowski

[Zope] UnicodeDecodeError in Zope 2.10.4 (upgrade from 2.8.4)

2007-07-17 Thread Maciej Wisniowski
while oryginally in 2.8.4 it was false. This caused that tales expressions disappeared from ZPTs under 2.10.4. I've written a script that explicitly set expand=0 to all ZPT instances in Zope 2.8.4 and then, after migration, everything is OK. -- Maciej Wisniowski

Re: [Zope] UnicodeDecodeError in Zope 2.10.4 (upgrade from 2.8.4)

2007-07-17 Thread Maciej Wisniowski
with UnicodeDecodeErrors in a reasonable way, we added a configurable Unicode conflict resolver. As I said before resolver is not even called when using 'structure' keyword. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] UnicodeDecodeError in Zope 2.10.4 (upgrade from 2.8.4)

2007-07-17 Thread Maciej Wisniowski
If the documented hints don't work, please submit a bugreport with a reproducable testcase in form of a unittest. Bug submitted with tests attached at: http://www.zope.org/Collectors/Zope/2339 -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org

Re: [Zope] UnicodeDecodeError in Zope 2.10.4 (upgrade from 2.8.4)

2007-07-17 Thread Maciej Wisniowski
') as a quick fix. This works but is not nice solution. I rather expected Zope 2.10 resolver to deal with this. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Problem w/ ZMySQLDA

2007-07-16 Thread Maciej Wisniowski
Furthermore, mytop shows the user is hanging: 30 mysqluser localhost mrtableclo 473 Sleep What should I do next to troubleshoot this? Try deadlockdebugger to see what is happening -- Maciej Wisniowski ___ Zope maillist - Zope

Re: [Zope] Logon process

2007-07-06 Thread Maciej Wisniowski
ones. -- 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] Logon process

2007-07-05 Thread Maciej Wisniowski
- PluggableAuthService and possibly just write your own plugin. There is Zope-PAS mailing list too. You may take a look at docs/ and interfaces in this package. Default PAS plugins include ZODB users storage and cookie authentication. -- Maciej Wisniowski

Re: [Zope] KeyErrors in Zope using ZEO

2007-07-03 Thread Maciej Wisniowski
there is no better way although there are different ways. Maybe you should think again if you really have to use sessions shared between zeo clients. If so then you should possibly try Faster (another session implementation) that is said to be better especially in such setup with ZEO. -- Maciej Wisniowski

[Zope] Re: [Zope3-Users] z3c.form 1.3.0, z3c.formui 1.0.1, and z3c.formdemo 1.1.0 released!

2007-06-28 Thread Maciej Wisniowski
SQL data. Thanks for this one :) -- 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] A question on pool-size

2007-06-27 Thread Maciej Wisniowski
with ./runzope or ./zopectl fg to see your prints. You may also take a look at 'push' method of _ConnectionPool in the same file. This is the place where warning messages came from. If you look closer then you'll see that there is no absolute limit for pool_size. Only warnings are printed. -- Maciej

Re: [Zope] how to restore a copied instance.

2007-06-26 Thread Maciej Wisniowski
. it doesn't work this way either, it only sees the default objects, i can access the site ... but all my objects are not visible. Check ControlPanel-Product Management if your products are installed correctly -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] A question on pool-size

2007-06-26 Thread Maciej Wisniowski
ZODB so it should have connection to use. In fact connection is created as needed, even if pool_size is too small. That is why number of connections in your logs is bigger than pool_size. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] zope stopped working suddenly

2007-06-18 Thread Maciej Wisniowski
the folders in both /tmp/zope and /opt/Zope-2.10 folders, and installed Zope Again and everything is working fine right :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Maciej Wisniowski
be harmful unless you're sure that it is not possible to do sql injection. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Maciej Wisniowski
? It may be used to do 'where colname in ' statements. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] zope stopped working suddenly

2007-06-15 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

Re: [Zope] zope stopped working suddenly

2007-06-15 Thread Maciej Wisniowski
(as a root) but now the stop command displays that the daemon manager is not open. Strange that it worked. In general I think you shouldn't run zope as root. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] a warning message before performing an action

2007-06-14 Thread Maciej Wisniowski
this picture)) return true return false which may be used with onsubmit event of form object. Of course this is javascript code not python. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] zope stopped working suddenly

2007-06-13 Thread Maciej Wisniowski
errors etc. If you find any errors post full traceback here. -- 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] Re: Zope 2.7 - sporadic service hangup

2007-06-05 Thread Maciej Wisniowski
serve them because all it's threads are busy. Solution is to use DeadlockDebugger to see what your threads are doing while Zope seems to be 'hang'. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Re: [Zope-DB] blobs and dtml-sqlvar

2007-06-02 Thread Maciej Wisniowski
object container.set_logo(companyid=companyid, logo = Binary( obraz )) Maybe there is something similiar in MySQLDB. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Zope 2.7 - sporadic service hangup

2007-06-01 Thread Maciej Wisniowski
threads doing? I'm not sure if this works with Zope 2.7 -- 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-dev] Re: [Bug] ZODB invalidation processing

2007-05-31 Thread Maciej Wisniowski
transaction changes it then second transaction raises conflict. With sessions I had problems with OOBTree not IOBTree. -- Maciej Wisniowski ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Re: [Bug] ZODB invalidation processing

2007-05-31 Thread Maciej Wisniowski
information about the actual object,which is causing the conflict. http://www.zopelabs.com/cookbook/1054240694 Maybe this will help. Take a look at comments on this page. -- Maciej Wisniowski ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope] Re: Function reindexObject()

2007-05-31 Thread Maciej Wisniowski
object of the specific type to ZMI. -- 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] Uncaptured python exception

2007-05-31 Thread Maciej Wisniowski
Var1 = var2 Where var2 is undefined (i.e. has never been assigned anything) Just silent failure. No error. So how do you know there is a failure then? There is really nothing in event.log and nothing in error_log? -- Maciej Wisniowski ___ Zope

Re: [Zope] Function reindexObject()

2007-05-30 Thread Maciej Wisniowski
are your scripts? External methods? -- 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-dev] many conflict errors

2007-05-25 Thread Maciej Wisniowski
that is bound to it is still being served) this causes conflicts. You may look at group archives for my posts month or two months ago... It is easy to reproduce these errors. -- Maciej Wisniowski ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope-dev] many conflict errors

2007-05-25 Thread Maciej Wisniowski
check this? One more thing I wonder about is what number of threads your zope instance is running? I read this already I am also using the faster-session product and patched it to use the AppendOnlyDict. In this case it had no effect for me too. -- Maciej Wisniowski

Re: [Zope-DB] Seeking a suitable ZpsycopgDA

2007-05-01 Thread Maciej Wisniowski
zope instance Products/ this will work (if only you will have correct version). -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] extract page title

2007-04-24 Thread Maciej Wisniowski
came from? If this is from typical title_or_id function then you may use something like: title tal:content=here/title_or_id/title you may then also do: img tal:attributes=src python: 'http://domain/xxx/xxx/s?websitename.%s' % (here.title_or_id()) width=1 height=1 alt= -- Maciej Wisniowski

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
that it was slower than the other, and therefore didn't scale as well, even given the possibility of conflicts. Thanks for that clue. -- Maciej Wisniowski ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
) since startup at Thu Apr 12 10:17:09 2007) Is there a point in faster where I can put debug message to see that bucket splits (or something like that) happened? -- Maciej Wisniowski ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org

Re: [Zope-dev] Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
like to know how exactly this goes, eg. when I can expect conflicts. So far I'm still not sure when and why conflict will appear. Thanks for the answer -- Maciej Wisniowski ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

Re: [Zope-dev] Re: Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Maciej Wisniowski
at 2aaab1c75710 2007-04-12 21:45:11 DEBUG txn.1082132832 commit (...) -- Maciej Wisniowski ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] nested queries and zpt

2007-04-12 Thread Maciej Wisniowski
is that the ServerSoftwareList needs the server/ID passed to it for the query, which will return the software on file for that server... any ideas? tal:x replace=structure python: here.ServerSoftwareList(id=server['id'])list of software goes here/tal:x -- Maciej Wisniowski

[Zope-dev] Sessions and long requests = conflicts? Mcdutils?

2007-04-11 Thread Maciej Wisniowski
to not even touch that? -- Maciej Wisniowski ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] [Ann] analyseObjects: analyse live objects

2007-04-10 Thread Maciej Wisniowski
Hi Dieter, am I missing something, or the code is not on the web? I'm able to get the code from here: http://www.dieter.handshake.de/pyprojects/zope/analyseObjects.py -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread Maciej Wisniowski
ImportError: No module named cPersistence Check zope list archives. -- 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] IOError: [Errno 11] Resource temporarily unavailable for ./zopectl adduser...?

2007-04-03 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

Re: [Zope] Making pythonscript changes to formulator fields persistent

2007-04-02 Thread Maciej Wisniowski
how to solve this I would be less frustrated for a while ;-) Use ExternalMethod - easy just like python scripts and it's code is trusted. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Making pythonscript changes to formulator fields persistent

2007-04-02 Thread Maciej Wisniowski
'FormulatorForm', this may be 'Formulator Form' 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 lists - http://mail.zope.org/mailman

Re: [Zope] Making pythonscript changes to formulator fields persistent

2007-04-02 Thread Maciej Wisniowski
EM gives you no security restrictions in comparision to Script Python. I should rather say that it gives you less restrictions: access to all python modules etc. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] ZSQL, call for early beta testers

2007-04-01 Thread Maciej Wisniowski
it works but some early feedback would be appreciated. I'm interested, although I can't guarantee quick response :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] include?

2007-03-28 Thread Maciej Wisniowski
this works. -- 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-DB] Unified DA for Zope 2 using SQLAlchemy?

2007-03-26 Thread Maciej Wisniowski
) is a nice idea :) -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] Unified DA for Zope 2 using SQLAlchemy?

2007-03-25 Thread Maciej Wisniowski
from databases. How does SQLAlchemy support this? Another thing, what about speed of ORMs in comparision to traditional queries with ZSQLMethods? -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Attribute error

2007-03-23 Thread Maciej Wisniowski
: visible And I have no idea what it means or how to fix it. Any suggestions would be much appreciated. You have to start learning about python and zope :) Take a look at site error log (via ZMI) or at event.log in the filesystem to see full error traceback. -- Maciej Wisniowski

Re: [Zope] dtml Z SQL doubt

2007-03-22 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

Re: [Zope] open image in a fitted new window

2007-03-22 Thread Maciej Wisniowski
would be very welcome so. What you're asking for? How to insert javascript code into html page? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-DB] DCOracle2 and x86_64

2007-03-22 Thread Maciej Wisniowski
servers in order to avoid segfaults :) ) but I'll try when it'll be possible. -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns REFCURSOR / ORA TIMESTAMP DataType Issue

2007-03-20 Thread Maciej Wisniowski
systems everything was ok. Is your problem with TimeStamp related to 64 bit platform or it happens on 32 bit platforms too? -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Re: losing random session data

2007-03-19 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

Re: [Zope] losing random session data

2007-03-18 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] accessing the user search using mxODBC adapter

2007-03-14 Thread Maciej Wisniowski
? For me, mxODBC can't be a problem here. Do you have error tracebacks? This issue can be better answered on Plone-users list I think. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] accessing the user search using mxODBC adapter

2007-03-14 Thread Maciej Wisniowski
'. So far you didn't even tell us if you use PlonePAS and if so what kind of authentication plugin. I still think this is a Plone related problem/question :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] have problem with managing objects within a external product

2007-03-12 Thread Maciej Wisniowski
and Implicit already are base clases of Folder. -- 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

Re: [Zope] 'int' object has no attribute 'objectValues'

2007-03-12 Thread Maciej Wisniowski
span tal:define=batch here/quotes/objectValues; num python:len(batch) p tal:replace=python:here.randomNumber(num) / /span Check what here/quotes is evaluating to. Seems that it is int. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] No space left on device

2007-03-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

Re: [Zope] can not install ZMySQLDA

2007-03-08 Thread Maciej Wisniowski
Management Interface. After copying restart Zope and in ZMI go to ControlPanel/Products and see if your product is there and if it is not broken. You may also check event.log of your instance if something goes wrong. -- Maciej Wisniowski ___ Zope maillist

Re: [Zope] Iteration Over Non-sequence

2007-03-08 Thread Maciej Wisniowski
about: Expression: standard:'here/en-us/quotes/?number/macros/quote' and there is nothing about global number here/quotes/randomNumber So check first if you're looking in the right place. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] can not install ZMySQLDA

2007-03-08 Thread Maciej Wisniowski
Send your emails also to the zope list, please. There were questions about this recently (not sure if it was here or on Zope3s list. Message says that you have to set proper permissions to the .pyton-eggs folder, so just do it (give write access to everybody or something like that). -- Maciej

Re: [Zope] can not install ZMySQLDA

2007-03-08 Thread Maciej Wisniowski
too much. Try to search the web for this problem, you'll possibly find something. -- 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] Download Large Files in Zope

2007-03-07 Thread Maciej Wisniowski
this product can help me after I resolved the Zope issue. I think that if you'll use tramline you'll have no 'Zope issue' anymore. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Download Large Files in Zope

2007-03-07 Thread Maciej Wisniowski
you're asking for. You say that tramline may help you after resolving zope issues, but I don't get it... By using tramline you will have no files in Zope (ZODB or LocalFS) so you will have no problem to eliminate. But maybe I missed something in your's use case. -- Maciej Wisniowski

Re: [Zope] Download Large Files in Zope

2007-03-07 Thread Maciej Wisniowski
identifier of the uploaded file. I don't know whether it is a file name, but seems that while uploading/downloading you may do some writes into db. Good luck! -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Download Large Files in Zope

2007-03-07 Thread Maciej Wisniowski
that contains unique file identifier and this causes that tramline will return real, big file to the browser. Upload similarly uses headers to allow or disallow uploading. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] database connection in script

2007-03-07 Thread Maciej Wisniowski
Rottermann suggested. -- 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] Download Large Files in Zope

2007-03-07 Thread Maciej Wisniowski
not. This is application server that decides if user is allowed to upload/download file (by setting proper headers). -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-DB] form-controllerPythonScript-ZSQL

2007-03-07 Thread Maciej Wisniowski
zsql: how to do it Have you read 'Relational database connectivity' chapter of Zope Book? -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Download Large Files in Zope

2007-03-06 Thread Maciej Wisniowski
idea to hold and serve large files directly from ZODB. This should be done by Apache etc. -- 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] Download Large Files in Zope

2007-03-06 Thread Maciej Wisniowski
What about railorad: http://www.infrae.com/products/railroad I meant tramline: http://www.infrae.com/products/tramline -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Maciej Wisniowski
src=myimage.jpg/resize / It is plain html. something like: img tal:attributes=src myimage.jpg/resize / may do something 'dynamic'. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Re: ImportError: cannot import name base_hasattr

2007-03-04 Thread Maciej Wisniowski
. Unfortunately, I got the same_darn_error, just without the www dir: In general it still seems to me that you have two ...Products/CMFPlone/utils.py in your system. Try to search your filesystem for utils.py. Have you tried debugging via zopectl like I suggested in previous email? -- Maciej

Re: [Zope] Resizing Images In Page Templates

2007-03-04 Thread Maciej Wisniowski
img src=myimage.jpg/resize / OK, I thinked again about this. This may work :) You may have object with id 'myimage.jpg' with resize method, and it may be referenced this 'hardcoced' way. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: ImportError: cannot import name base_hasattr

2007-02-28 Thread Maciej Wisniowski
prompt enter: zopectl debug and when you'll see python prompt write: import Products.CMFPlone print Products.CMFPlone module 'Products.CMFPlone' from '/opt/Zope/instancje/Zope296/Products/CMFPlone/__init__.pyc' and check what path you have there. -- Maciej Wisniowski

Re: [Zope] ImportError: cannot import name base_hasattr

2007-02-27 Thread Maciej Wisniowski
something wrong with your PYTHONPATH. -- 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: Exporting portal member data to csv

2007-02-27 Thread Maciej Wisniowski
) * Module C:\Program Files\Plone 2\Data\Extensions\export.py, line 15, in createcsv What code do you have in export.py, especially what is in line 15? -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Large jumps of memory use increase, and seeking overall understanding of memory use

2007-02-25 Thread Maciej Wisniowski
then serving all this stuff from zope may also cause bigger RAM usage as all these objects are read into memory by Zope when they're 'touched'. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Large jumps of memory use increase, and seeking overall understanding of memory use

2007-02-25 Thread Maciej Wisniowski
used because of above is huge enough to cause described problem. It's just a though. Feel free to correct me if I'm wrong. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Large jumps of memory use increase, and seeking overall understanding of memory use

2007-02-25 Thread Maciej Wisniowski
product I am using (the templates for the slots were not being cached and caused significant performance issues). I said sorry if I'm telling something obvious :) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Large jumps of memory use increase, and seeking overall understanding of memory use

2007-02-25 Thread Maciej Wisniowski
. It is used with ZEO setups. Maybe it is worth looking at how big value it is set to. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

  1   2   3   >