[Zope] Lama - ZopeEdit, Win

2006-09-19 Thread durumdara

Hi !

I installed this tool for better development.
But I have a problem with it.
When I click on index_html, or any dtml, I got good result.
But when I want to edit a Python Script, or other elements, they are 
showed in the browser, not in the local editor.


I tried it in Opera, Firefox... Same result I got.

How to suppress this automatic content showing ?

Thanks for your help:
dd

___
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] Lama - ZopeEdit, Win

2006-09-19 Thread durumdara

Hi !

Jaroslav Lukesh írta:





I tried it in Opera, Firefox... Same result I got.

How to suppress this automatic content showing ?


You need to edit ZopeEdit.ini located at your profile directory

JL.



This is my ini file. I don't know what's the next step:

   # Zope External Editor helper application configuration

   [general]
   # General configuration options

   # Uncomment and specify an editor value to override the editor
   # specified in the environment
   editor = C:\Program Files\Context\Context.exe

   # Automatic save interval, in seconds. Set to zero for
   # no auto save (save to Zope only on exit).
   save_interval = 1

   # Temporary file cleanup. Set to false for debugging or
   # to waste disk space. Note: setting this to false is a
   # security risk to the zope server
   cleanup_files = 1

   # Use WebDAV locking to prevent concurrent editing by
   # different users. Disable for single user use or for
   # better performance
   use_locks = 1

   # To suppress warnings about borrowing locks on objects
   # locked by you before you began editing you can
   # set this flag. This is useful for applications that
   # use server-side locking, like CMFStaging
   always_borrow_locks = 0

   # Specific settings by content-type or meta-type. Specific
   # settings override general options above. Content-type settings
   # override meta-type settings for the same option.

   [meta-type:DTML Document]
   extension=.dtml

   [meta-type:DTML Method]
   extension=.dtml

   [meta-type:Script (Python)]
   extension=.py
   editor = C:\Program Files\Context\Context.exe

   [meta-type:Page Template]
   extension=.pt
   editor = C:\Program Files\Context\Context.exe

   [meta-type:Z SQL Method]
   extension=.sql
   editor = C:\Program Files\Context\Context.exe

   [content-type:text/plain]
   extension=.txt

   [content-type:text/html]
   extension=.html

   [content-type:text/xml]
   extension=.xml

   [content-type:text/css]
   extension=.css

   [content-type:text/javascript]
   extension=.js

   [content-type:image/*]
   editor=gimp

   [content-type:image/gif]
   extension=.gif

   [content-type:image/jpeg]
   extension=.jpg

   [content-type:image/png]
   extension=.png

Please help me !

dd

___
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] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara

Hi !

I have home pc, and other pc in my corp.

The home pc have py2.3, the work pc have py2.4.

I installed Zope 2.8.4 in every system.

I have been building a zope site in my home machine. Then I copy to usb
pendrive (data.fs), and move to corp machine.
But when I want to start this site in my corp machine, it is show error
message: python23.dll is not found.

How can I import this database ? Or I need to drop my site structure,
and need to begin the work again ?

Please help me. Thanks for every solution.

dd

___
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] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara

Hi !

So you say that I must use Zope 2.x (x=7,8) with Python 2.3 versions ?
Can I use Zope3 with Python 2.4 ?

Or I forget it, and I need to use Py2.3 for everything ?
(I have wx, local, and other developments, so if I need to change that, I must 
change everything...)

Thanks for help: dd





I think you need to use the same python version as on your home PC. Or try
exporting to a zexp and then reimporting. 


But be aware that running Zope 2.7 oder 2.8 with Python 2.4 is not
supported and you won't get much help here or anywhere else with that
combination.

Andreas




Andreas Pakulat wrote:


On 05.12.05 11:42:19, Durumdara wrote:
 


Hi !

I have home pc, and other pc in my corp.

The home pc have py2.3, the work pc have py2.4.

I installed Zope 2.8.4 in every system.

I have been building a zope site in my home machine. Then I copy to usb
pendrive (data.fs), and move to corp machine.
But when I want to start this site in my corp machine, it is show error
message: python23.dll is not found.
   



___
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] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara

Hi !

Yes, everything is working. That is working in older versions: I create 
instance with mkinstance.py, and copy the data.fs to it.

Every PC is WinXP, only different is Python version number.
I have been probed python 2.4, and it is working good, that I thinking 
about that I change (upgrade) to it.


But that have some dependecies like this: some packages are working good 
only in Py2.3...


dd


Huh? Did you copy only the Data.fs?
What OS do you run on your work PC?
Did the Zope work on your Zope PC before you copied the Data.fs?
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/

 



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