Hello all,
I'm trying to write a piece of code that just changes the password of a
user as they are logged in. This is in a Script(Python). I'm using PAS and
CookieCrumbler and the code is as follows:
container.acl_users.users.manage_updateUserPassword(user['id'],password,password)
This does
Hello,
I'm trying to store strings with certain unicode characters that don't
convert to ascii in the ZODB. Specifically, as a file object and as
properties of that file object. I get the following errors (from a script):
*Error Type: AttributeError*
*Error Value: 'unicode' object has no
, line 468, in manage_upload
- Module OFS.Image, line 504, in _read_data
AttributeError: 'unicode' object has no attribute 'seek'
Thanks,
Thibaud
On Sun, Dec 14, 2008 at 2:19 AM, Andreas Jung li...@zopyx.com wrote:
On 14.12.2008 1:13 Uhr, Thibaud Morel l'Horset wrote:
Hello,
I'm trying
with a
On Mon, Dec 15, 2008 at 2:56 PM, Dieter Maurer die...@handshake.de wrote:
Andreas Jung wrote at 2008-12-14 16:00 +0100:
On 14.12.2008 15:44 Uhr, Thibaud Morel l'Horset wrote:
Hey AJ,
Thanks. Full traceback below. Regarding storing files, I meant the File
Zope Object, as added by the following
into
this...
- Thibaud
On Mon, Dec 15, 2008 at 3:52 PM, Thibaud Morel l'Horset tee...@gmail.comwrote:
Hi Dieter,
That makes a lot of sense, thanks. Once I encode the strings in utf-8
there are no issues.
That's a great tip about setting the content_type charset correctly. The
way I
Sounds like you need to use a string:
tal:attributes=href string:${here/getUserName}/listView?page=1000
- Teebes
On Mon, Jan 12, 2009 at 3:25 PM, Garry Saddington
ga...@schoolteachers.co.uk wrote:
I have this: tal:attributes=href here/getUserName in a link that works
but I
want to append a
I'm guessing that AJ's solution is the best to implement.
What I did to solve this problem is simply create a few crons on the server
that each do a mechanize (http://wwwsearch.sourceforge.net/mechanize/) http
call to a specific location in Zope which basically acts as a private API:
when called,
Is your cookiecrumbler installed at the root of your site? or in a
subfolder? If you're logged in to the ZMI in the root of your zope site and
execute a CookieCrumbler logout in a subdirectory, you will still be logged
in because you're using your manager user (if memory serves me well though
CC
, log in forms, user folder
If that is the cause what do I need to do to make sure when I log out the
username returns to anonymus user than?
I searched the web but couldn’t find any way to do it
*From:* Thibaud Morel l'Horset [mailto:tee...@gmail.com]
*Sent:* Thursday, March 12, 2009 4:29