z3ext 1.0.0 beta1

Replies: 13
Up one level
 
Nikolay Kim
z3ext 1.0.0 beta1
« on: Dec 1, 2008 9:20:50 PM »
finally z3ext 1.0.0 beta1 is released.

list versions here http://download.z3ext.net/z3ext1.0/versions-1.0.0b1.cfg

or http://download.z3ext.net/z3ext1.0/versions.cfg

versions-1.0.0b1.cfg is stable list

versions.cfg contains latest versions from 1.0 branch
 
Gareth Bult
Re: z3ext 1.0.0 beta1
« on: Dec 10, 2008 4:26:41 AM »
This looks strangely like Plone ...!!! ???
 
Unauthenticated User
Re: z3ext 1.0.0 beta1
« on: Dec 10, 2008 9:42:32 AM »
But it's not Plone, it's a bunch of really nice and clean zope3-only code. :)

I would gladly use some z3ext components only that there's one thing I really HATE about it - usage of z3c.autoinclude everywhere. Even in z3ext.ownership and things like that. Why do you do this? What if I don't want to include some configuration provided by dependencies and provide my own? Also z3c.autoinclude is slowing down startup process by 100000x times. :-(
 
Dan Korostelev
Re: z3ext 1.0.0 beta1
« on: Dec 10, 2008 9:43:14 AM »
(oh, that was me unauthenticated)
 
Nikolay Kim
Re: z3ext 1.0.0 beta1
« on: Dec 11, 2008 3:47:35 PM »
actually i don't cear what to use. it's just much simpler for me. you can send patch to me or even change it by yourself
 
Nikolay Kim
Re: z3ext 1.0.0 beta1
« on: Dec 11, 2008 3:49:09 PM »
but we always can discuss things. all code is open source and zpl.

Dan i can give you access to sourceforge project if you like
 
Dan Korostelev
Re: z3ext 1.0.0 beta1
« on: Dec 13, 2008 12:31:30 AM »
Well, my patch will be just removing includeDependencies and z3c.autoinclude at all. :)

I think, it's an application (say "site") duty to include configuration it needs, not component's one. So, for example "z3ext.formatter" shouldn't autoinclude the "zope.app.pagetemplate" ZCML, but an application that use it (z3ext.portal, for example) should do it.

For those, who really like autoincludes, could use <includeDependencies package="z3ext.formatter" /> in their application. Or even it would be nice to have recursive autoincluder in the "z3c.autoinclude" package itself.

I'd gladly remove z3c.autoinclude from several packages, like already mentioned z3ext.formatter and z3ext.ownership. If you want - I can do it in Zope's SVN. And even make a PyPI release, if you give me rights (my pypi username is "nadako").

You can give me SF.net access, but I don't think I'll make much contribution, as I don't really use most of z3ext packages yet. My username there is "dankor".
 
Nikolay Kim
Re: z3ext 1.0.0 beta1
« on: Dec 15, 2008 5:54:35 PM »
removing z3c.autoinclude is not an option untile i have better solution.

you want use one package z3ext.formulator and for this case it's trivial to include all dependencies, but when you start use most of z3ext package you'll get really big problem. you'll have permanent problems with dependencies tracking. right now i just add package name to requires and everything works, and i want same in future
 
Cykooz
Re: z3ext 1.0.0 beta1
« on: Dec 31, 2008 8:58:30 PM »
Уже не первый раз пытаюсь установить z3ext, но так ни разу и не получилось. Думал может на этот раз получится, но стало ещё хуже. Если раньше buildout сначала загружал много пакетов и потом вываливалась ошибка (не помню какая), то теперь ошибка в самом же начале:
-----------------------------
cykooz@cykooz-pc:~/Work/z3ext/z3extnet$ ./bin/buildout
Creating directory '/home/cykooz/Work/z3ext/z3extnet/eggs'.
Getting distribution for 'setuptools==0.6c8'.
Got setuptools 0.6c8.
Upgraded:
  setuptools version 0.6c8;
restarting.
Generated script '/home/cykooz/Work/z3ext/z3extnet/bin/buildout'.
Develop: '/home/cykooz/Work/z3ext/z3extnet/.'
Traceback (most recent call last):
  File "/tmp/tmpqKdI1P", line 11, in <module>
    execfile('/home/cykooz/Work/z3ext/z3extnet/./setup.py')
  File "/home/cykooz/Work/z3ext/z3extnet/./setup.py", line 61, in <module>
    zip_safe = False
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/develop.py", line 27, in run
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/develop.py", line 85, in install_for_development
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 171, in run
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 252, in find_sources
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 306, in run
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 333, in add_defaults
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 45, in walk_revctrl
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 52, in _default_revctrl
  File "/home/cykooz/Work/z3ext/z3extnet/eggs/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 98, in entries_finder
NameError: global name 'log' is not defined
While:
  Installing.
  Processing develop directory '/home/cykooz/Work/z3ext/z3extnet/.'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/cykooz/Work/z3ext/lib/python2.5/site-packages/zc.buildout-1.1.1-py2.5.egg/zc/buildout/buildout.py", line 1477, in main
    getattr(buildout, command)(args)
  File "/home/cykooz/Work/z3ext/lib/python2.5/site-packages/zc.buildout-1.1.1-py2.5.egg/zc/buildout/buildout.py", line 324, in install
    installed_develop_eggs = self._develop()
  File "/home/cykooz/Work/z3ext/lib/python2.5/site-packages/zc.buildout-1.1.1-py2.5.egg/zc/buildout/buildout.py", line 556, in _develop
    zc.buildout.easy_install.develop(setup, dest)
  File "/home/cykooz/Work/z3ext/lib/python2.5/site-packages/zc.buildout-1.1.1-py2.5.egg/zc/buildout/easy_install.py", line 866, in develop
    assert os.spawnl(os.P_WAIT, executable, _safe_arg (executable), *args) == 0
AssertionError
-----------------------------

Устанавливал по инструкции с главной страницы этого сайта. Пробывал устанавливать с использованием системного python и в виртуальное окружение (virtualenv)  - разницы ни какой.
 
kevin gill
Re: z3ext 1.0.0 beta1
« on: Jan 1, 2009 11:16:34 PM »
Re: Cykooz problem

I believe that this problem is a subversion problem. If you attempt to use subversion 1.5 with setuptools version 0.6c8 you get this error.

You need to downgrade to subversion 1.4 or upgrade to setuptools 0.6c9.

The buildout.cfg add this line after versions

setuptools = 0.6c9

Then rerun the buildout.
 
kevin gill
Re: z3ext 1.0.0 beta1
« on: Jan 1, 2009 11:29:08 PM »
Hi Nickolay,

z3ext is a great piece of work. Well done. I sincerely hope that your project gets some followers in the Zope community.

1. Locales

In our office a number when we tried to use z3ext first, we had problems adding newsitems. We could not enter the date strings correctly. It turns out that the default installs of Firefox on our systems are US locale, whereas we are in Ireland and use a different version of dates.

It would be useful to be able to override the browse choice of locale with a system specific one.

This is probably only relevant in English speaking countries where we use the defaults and never look at them.

2. TTW Customisation

Finally, do you have any notes on the TTW customisation. I found User Interface Configuration. I have been spoilt by the functionality of CPS so I just want to make sure there is not a WYSIWYG skin layout editor that I am missing.

3.  Naming

How should I say z3ext. Currently I am spelling it out Z.3.E.X.T. Do you have a cute way of saying it? Z.3.X'ed perhaps?


Regards

Kevin
 
kevin gill
Re: z3ext 1.0.0 beta1
« on: Jan 2, 2009 8:04:28 AM »
Scratch item 1 on my post above. I found the option in the portal formatters.

Also on item 2, I am not asking for a WYSIWYG editor. I would prefer to just edit the skin in the filesystem anyway. I am just curious whether I am missing something.

Regards

Kevin
 
Nikolay Kim
Re: z3ext 1.0.0 beta1
« on: Jan 3, 2009 11:08:20 AM »
Kevin,

answers on your questions:

1) i use z3c.form for all forms, so datetime widget is the one from z3c.form package. i'll add new default datetime widget in next version of z3c.layoutform.

2) about TTW customization. i develop several packages: z3ext.persistentlayout, z3ext.persistentresource, z3ext.persistentviewmodel
you can't do WYSIWYG editing of layouts but you can do edit layouts TTW as simple page templates. persistentviewmodel - it is waht available in 'extensions' tab under 'View model' extension.

3) i've never think about naming :) i just needed namespace for my package.

P.S. about WYSIWYG editor, there is unreleased package z3ext.ui.extjswidget, it contains WYSIWYG editor for newsitems, pages bodies and js versions of date and datetime fields.

and Kevin you should examine all packages from z3ext namespace i don't use all of them in z3extnet instance
http://download.z3ext.net/z3ext1.0/versions.cfg
 
Nikolay Kim
Re: z3ext 1.0.0 beta1
« on: Jan 3, 2009 11:24:29 AM »
btw i use z3ext.ui.extjswidget here

you should select 'ExtJS Editor' in personal preferences http://z3ext.net/preferences/portal/

package sources here: http://z3ext.svn.sourceforge.net/viewvc/z3ext/Sandbox/sources/z3ext.ui.extjswidget/trunk/