[Zope] Re: Forum product

2006-03-17 Thread Maik Ihde
Hi

Updating to Zope 2.8.6 and using PloneBoard with 2.1.2, as Jens mentioned is a
solution which is quite easy to do. Another Option might be the new zForum
Release, wich can be integratet in Plone now. But it ist more complex and you
will need an additional SQL Database (MySQL/PostGres).

Kind Regards
Maik

___
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] Re: Ape

2006-03-17 Thread Chris Withers

Paul Winkler wrote:
1. Allow use of source control (branching, diffs, revision history, etc) on 
all content types as plain text files, not python pickles.
2. Allow editing of zope objects (DTML, ZPT, ZSQL, py script) externally in 
appropriate editor.

3. Allow us to quickly push out minor patches to running servers.
4. A distant final item was using TTW editing to do minor tweaks.


DirectoryViews would mean you'd lose #4.


If you really need to, you have the customize button for temporary 
patches.



Also, if you have any persistent objects for which there isn't an existing
FSObject-derived version, you'd have to write one.


GenericSetup likely covers those ;-)


Another issue is that AFAIK there's no way to control the refresh
interval of FSObject subclasses.  I guess you could monkeypatch
FSObject._updateFromFS.  You might want to do that anyway so you
don't have to run your production servers in debug mode.


I don't think there's any place for debugging or updating from the FS on 
a running production server, but maybe that's just me...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
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] About PickListWidget

2006-03-17 Thread cristina clavijo
Hi! I need to limit the number of selected items with a PickListWidget and I 
don't know if it is possible. Does anybody know it??

Thanks!!
Cris.


___
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] Newbie install from source

2006-03-17 Thread zope
Hi,

I'm installing Plone from source onto a RedHat EL4 test server using
http://plone.org/documentation/how-to/setup-from-source
as my reference.

I have got as far as Setting up the software
but this is the part I'm having difficulty understanding

Extract the Plone tarball. This will give you a folder called Plone-2.1
(presuming you have version 2.1), in which you will see a number of
products folders, such as CMFPlone and CMFCore. Copy all these product
folders (not the top-level Plone- folder) into
~/zope/instance1/Products/.

The Plone-2.1.2/CMFPlone/install.txt lists these as mandatory

**REQUIREMENTS**

  **MANDATORY**

  - Zope 2.7.8 (or 2.8.5)

  - CMF 1.5.5 (not 1.4)
 Included in the Plone tarball

  - CMFQuickInstallerTool 1.5.5 or newer
  - GroupUserFolder 3.5 or newer
  - BTreeFolder2 1.0.2 or newer
  - CMFFormController 1.0.6 or newer
  - SecureMailHost 1.0.1 or newer
  - Archetypes 1.3.6 or newer
  - ATContentTypes 1.0.2 or newer
  - ATReferenceBrowserWidget 1.1 or newer
  - ResourceRegistries 1.1 or newer
  - ExtendedPathIndex 2.2 or newer
  - CMFDynamicViewFTI 1.0.1 or newer

  - Python Imaging Library 1.1.5 or newer
 Not included in the Plone tarball
 http://effbot.org/downloads/#Imaging
 Note: You have to build PIL with jpeg and png support. See the README
 of PIL for more information.

  - Placeless Translation Service 1.2.5 or newer
  - PloneTranslations 2.1.2
  - PloneLanguageTool 0.9 or newer

as neither CMF 1.5.5 or Python Imaging Library 1.1.5 are included in the
Plone-2.1.2 tar ball I am wondering; which is correct the install.txt or
is it the how-to/setup-from-source?

Regards

Steve







___
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] Best Practice for transparent redirect for plone site

2006-03-17 Thread JulianRead

Hi i have set up a plone site and here at :

http://www.myplonesite.com:8080/ploneinstance/mypage

and i want it to look like 

http://www.myplonesite.com/mypage

what is the best way to achieve this

server setup is linux/apache/zope2.8.6/plone2.1.2

i have looked at virutalhostmonster but is it more efficient to use apache
mod_rewrite rules?

Please give examples as mod_rewrite leaves me confused.

Thanks  
--
View this message in context: 
http://www.nabble.com/Best-Practice-for-transparent-redirect-for-plone-site-t1299242.html#a3460348
Sent from the Zope - General forum at Nabble.com.

___
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: Newbie install from source

2006-03-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Hi,
 
 I'm installing Plone from source onto a RedHat EL4 test server using
 http://plone.org/documentation/how-to/setup-from-source
 as my reference.
 
 I have got as far as Setting up the software
 but this is the part I'm having difficulty understanding
 
 Extract the Plone tarball. This will give you a folder called Plone-2.1
 (presuming you have version 2.1), in which you will see a number of
 products folders, such as CMFPlone and CMFCore. Copy all these product
 folders (not the top-level Plone- folder) into
 ~/zope/instance1/Products/.
 
 The Plone-2.1.2/CMFPlone/install.txt lists these as mandatory
 
 **REQUIREMENTS**
 
   **MANDATORY**
 
   - Zope 2.7.8 (or 2.8.5)
 
   - CMF 1.5.5 (not 1.4)
  Included in the Plone tarball
 
   - CMFQuickInstallerTool 1.5.5 or newer
   - GroupUserFolder 3.5 or newer
   - BTreeFolder2 1.0.2 or newer
   - CMFFormController 1.0.6 or newer
   - SecureMailHost 1.0.1 or newer
   - Archetypes 1.3.6 or newer
   - ATContentTypes 1.0.2 or newer
   - ATReferenceBrowserWidget 1.1 or newer
   - ResourceRegistries 1.1 or newer
   - ExtendedPathIndex 2.2 or newer
   - CMFDynamicViewFTI 1.0.1 or newer
 
   - Python Imaging Library 1.1.5 or newer
  Not included in the Plone tarball
  http://effbot.org/downloads/#Imaging
  Note: You have to build PIL with jpeg and png support. See the README
  of PIL for more information.
 
   - Placeless Translation Service 1.2.5 or newer
   - PloneTranslations 2.1.2
   - PloneLanguageTool 0.9 or newer
 
 as neither CMF 1.5.5 or Python Imaging Library 1.1.5 are included in the
 Plone-2.1.2 tar ball I am wondering; which is correct the install.txt or
 is it the how-to/setup-from-source?

CMFCore, CMFCalendar, CMFDefault, CMFSetup, DCWorkflow, and CMFTopic are
included in the Plone 2.1.2 tarball, and are drawn from CMF 1.5.5.

I don't know about the PIL requirement, however.  BTW, your question
would likely get a more authoritative answer on the plone-users list.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEGvA8+gerLs4ltQ4RAqPBAKDPlQCxmWp3rU1TzRxFtjfX1HbLhQCfdfOl
xtQ2MM/hzTu27R8vQ/B1zKc=
=gCKi
-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 )


Re: [Zope] setup.py build

2006-03-17 Thread Dieter Maurer
wavemaster2000 wrote at 2006-3-16 17:36 -0800:
 ...
/GX /DNDEBUG -IC:\Python24\include -IC:\Python24\PC /Tc_mysql.c
/Fobuild\temp.wi
 ...
c:\python24\include\pyconfig.h(130) : fatal error C1083: Cannot open include
fil
e: 'basetsd.h': No such file or directory

Looks as if your Python installation were not sufficient...

   Apparently pyconfig.h tries to include basetsd.h
   and fails to locate it.

   I do not know what basetsd.h is. It might be a
   header file generated during Python configuration.

-- 
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] how to count authenticated and anonymous users currently online ?

2006-03-17 Thread Dieter Maurer
Luca Dall'Olio wrote at 2006-3-16 23:39 +0100:
 ...
Could you please help me find out the list of active sessions? this is 
driving me crazy...

You find not the list but its length on the Manage tab
of /temp_folder/session_data.

And (as you know) you can look at the source for this page
to learn which method is used to determine the value.

As the next step, you look at the source of this method.
It is unlikely that the lower methods are available for
untrusted code (you do *NOT* want that some untrusted code
can look into all sessions) but in trusted code
(e.g. an ExternalMethod), you will be able to use them.


-- 
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] Newbie install from source

2006-03-17 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-3-17 10:13 -:
I'm installing Plone from source onto a RedHat EL4 test server using
http://plone.org/documentation/how-to/setup-from-source
as my reference.

You probably should send your Plone related questions to
the plone-users mailing list...
 ...
Extract the Plone tarball. This will give you a folder called Plone-2.1
(presuming you have version 2.1), in which you will see a number of
products folders, such as CMFPlone and CMFCore. Copy all these product
folders (not the top-level Plone- folder) into
~/zope/instance1/Products/.

The Plone-2.1.2/CMFPlone/install.txt lists these as mandatory

**REQUIREMENTS**

I would expect that all those requirements are in your Plone-2.1
tarball -- maybe with the exception of Zope 2.7.8/2.8.5).

Reread the instructions again; somewhere you will see
the ~zope/instance1 to be mentioned for the first time.
This is a so called Zope INSTANCE_HOME. It has
a subdirectory Products. The prescription tells you to
copy the products extracted from the Plone tarball into
this Products subdirectory.

-- 
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] Re: Ape

2006-03-17 Thread Chris Withers

Chris Kratz wrote:
How does the refresh interval work for DirectoryView?  


When zope is in dev mode, each time an fs-based object is rendered, it 
checks to see if it has changed on disk. This is pretty quick on linux, 
but can have issues on windows.


In production mode, it is cached from the first time it is rendered 
until zope is restarted.


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] setup.py build

2006-03-17 Thread Chris Withers
Are you sure you have the right version of Visual C++ and the python 
headers available?


Chris

wavemaster2000 wrote:

hey I am trying to setup a connection between python and mysql, trying to get
a connection for zope.
I get this error on building
C:\Program Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0setup.py
buil
d
running build
running build_py
creating build
creating build\lib.win32-2.4
copying _mysql_exceptions.py - build\lib.win32-2.4
creating build\lib.win32-2.4\MySQLdb
copying MySQLdb\__init__.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\converters.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\connections.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\cursors.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\sets.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\times.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\stringtimes.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\mxdatetimes.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\pytimes.py - build\lib.win32-2.4\MySQLdb
creating build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\__init__.py -
build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\CR.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py -
build\lib.win32-2.4\MySQLdb\constants

copying MySQLdb\constants\ER.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\FLAG.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\REFRESH.py -
build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py - build\lib.win32-2.4\MySQLdb\constants
running build_ext
building '_mysql' extension
creating build\temp.win32-2.4
creating build\temp.win32-2.4\Release
C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe /c /nologo /Ox /MD
/W3
/GX /DNDEBUG -IC:\Python24\include -IC:\Python24\PC /Tc_mysql.c
/Fobuild\temp.wi
n32-2.4\Release\_mysql.obj
cl : Command line warning D9035 : option 'GX' has been deprecated and will
be re
moved in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
_mysql.c
c:\python24\include\pyconfig.h(130) : fatal error C1083: Cannot open include
fil
e: 'basetsd.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe'
fail
ed with exit status 2

C:\Program Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0setup.py
buil
d
running build
running build_py
creating build
creating build\lib.win32-2.4
copying _mysql_exceptions.py - build\lib.win32-2.4
creating build\lib.win32-2.4\MySQLdb
copying MySQLdb\__init__.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\converters.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\connections.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\cursors.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\sets.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\times.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\stringtimes.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\mxdatetimes.py - build\lib.win32-2.4\MySQLdb
copying MySQLdb\pytimes.py - build\lib.win32-2.4\MySQLdb
creating build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\__init__.py -
build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\CR.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py -
build\lib.win32-2.4\MySQLdb\constants

copying MySQLdb\constants\ER.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\FLAG.py - build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\REFRESH.py -
build\lib.win32-2.4\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py - build\lib.win32-2.4\MySQLdb\constants
running build_ext
building '_mysql' extension
Traceback (most recent call last):
  File C:\Program
Files\Zope-2.9.1\lib\python\Products\MySQL-python-1.2.0\setup
.py, line 153, in ?
setup(**metadata)
  File C:\Python24\lib\distutils\core.py, line 149, in setup
dist.run_commands()
  File C:\Python24\lib\distutils\dist.py, line 946, in run_commands
self.run_command(cmd)
  File C:\Python24\lib\distutils\dist.py, line 966, in run_command
cmd_obj.run()
  File C:\Python24\lib\distutils\command\build.py, line 112, in run
self.run_command(cmd_name)
  File C:\Python24\lib\distutils\cmd.py, line 333, in run_command
self.distribution.run_command(command)
  File C:\Python24\lib\distutils\dist.py, line 966, in run_command
cmd_obj.run()
  File C:\Python24\lib\distutils\command\build_ext.py, line 279, in run
self.build_extensions()
  File C:\Python24\lib\distutils\command\build_ext.py, line 405, in
build_exte
nsions
self.build_extension(ext)
  File C:\Python24\lib\distutils\command\build_ext.py, line 470, in
build_exte
nsion
depends=ext.depends)
  File C:\Python24\lib\distutils\msvccompiler.py, line 309, in compile
depends, extra_postargs)
  File C:\Python24\lib\distutils\ccompiler.py, line 363, in _setup_compile
raise TypeError, \
TypeError: 'include_dirs' (if supplied) must be a list of strings


Re: [Zope] Best Practice for transparent redirect for plone site

2006-03-17 Thread Chris Withers

JulianRead wrote:

Hi i have set up a plone site and here at :

http://www.myplonesite.com:8080/ploneinstance/mypage

and i want it to look like 


http://www.myplonesite.com/mypage


Why don't you ask on a Plohn list?


what is the best way to achieve this

server setup is linux/apache/zope2.8.6/plone2.1.2

i have looked at virutalhostmonster but is it more efficient to use apache
mod_rewrite rules?


Use mod_rewrite in conjuction with a VHM.


Please give examples as mod_rewrite leaves me confused.


There are tonnes of examples, google is your friend...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] Stepper on Zope 2.9.X

2006-03-17 Thread Dennis Allison

Chris  others -- 

Anyone have experience with Stepper under Zope 2.8.X and Zope 2.9.X.



-- 

___
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] Zasync

2006-03-17 Thread Dennis Allison

Has anyone tested and used in production thi sproduct with Zope 2.9.X?


-- 

___
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 )