Re: [Zope-dev] zope-tests - FAILED: 2, OK: 40

2012-05-29 Thread Michael Howitz
Am 29.05.2012 um 03:00 schrieb Zope tests summarizer:
[…]
 Non-OK results
 --
 
 [1]FAILED  ZTK 1.0 / Python2.5.5 Linux 64bit
   https://mail.zope.org/pipermail/zope-tests/2012-May/063668.html

Strange Buildout error:

While:
  Installing.
  Checking for upgrades.
  Getting distribution for 'distribute==0.6.27'.

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/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py,
 line 1683, in main
getattr(buildout, command)(args)
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py,
 line 404, in install
self._maybe_upgrade()
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/buildout.py,
 line 827, in _maybe_upgrade
allow_hosts = self._allow_hosts
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py,
 line 800, in install
return installer.install(specs, working_set)
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py,
 line 646, in install
for dist in self._get_dist(requirement, ws, self._always_unzip):
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py,
 line 543, in _get_dist
dist.location, ws, self._dest, dist)
  File 
/home/ccomb/buildout-eggs/zc.buildout-1.4.4-py2.5.egg/zc/buildout/easy_install.py,
 line 378, in _call_easy_install
shutil.rmtree(newloc)
  File /usr/local/python2.5.5/lib/python2.5/shutil.py, line 184, in rmtree
onerror(os.rmdir, path, sys.exc_info())
  File /usr/local/python2.5.5/lib/python2.5/shutil.py, line 182, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: 
'/home/ccomb/buildout-eggs/distribute-0.6.27-py2.5.egg'

 [2]FAILED  ZTK 1.1dev / Python2.7.2 Linux 64bit
   https://mail.zope.org/pipermail/zope-tests/2012-May/063641.html


Timeout in buildout phase.


Yours sincerely,
-- 
Michael Howitz · m...@gocept.com · software developer
gocept gmbh  co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Python, Pyramid, Plone, Zope - consulting, development, hosting, operations

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Remove zmi_views menus from zope.file?

2012-05-29 Thread Christopher Lozinski
On 5/28/12 7:22 AM, Uli Fouquet wrote:
 It's at least interesting to find other non-zope.app packages that
register zmi_views components. I think these could/should be fixed as
well. I would do that, if people tell me what packages there are.

Here you go.

zope.app.dtmlpage-3.5.0-py2.6.egg

Thank you.

-- 
Regards
Christopher Lozinski

Check out my iPhone apps TextFaster and EmailFaster
http://textfaster.com

Expect a paradigm shift.
http://MyHDLClass.com:8080

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Remove zmi_views menus from zope.file?

2012-05-29 Thread Uli Fouquet
Hi Christopher,

On Tue, 29 May 2012 06:05:57 -0500 Christopher Lozinski wrote:

 On 5/28/12 7:22 AM, Uli Fouquet wrote:
 It's at least interesting to find other non-zope.app packages that
 register zmi_views components. I think these could/should be fixed as
 well. I would do that, if people tell me what packages there are.
 
 Here you go.
 
 zope.app.dtmlpage-3.5.0-py2.6.egg

I'm afraid, this _is_ a zope.app package and IIRC correctly, they can
expect the regular ZMI to exist/be registered.

Unfortunately you can't expect zope.app packages to work out-of-the-box
with newer non-zope.app packages.

To make this package work (i.e. to get the zmi_views menu) you might
include zope.app.zcmlfiles in the files required by your project.

This, however, pulls in a huge bunch of other zope.app-packages often
not compatible with more recent non-zope.app packages (and often not
wanted anyway).

A workaround (avoiding zope.app.zcmlfiles) might be to register such a
'zmi_view' menu in your own project/package's configure.zcml:

  include package=zope.browsermenu file=meta.zcml /
  include package=zope.browsermenu /
  browser:menu id=zmi_views title=ZMI Views /
  browser:menu id=zmi_actions title=ZMI Actions /

This would avoid the ImportError concerning 'zmi_views' but not
neccessarily add a menu in your ztfy framework (because it looks like
ztfy comes with its own set of menus). I think it would be best to ask
the ztfy author about this.

Beside this I might ask on zope-dev about 'fixing' also zope.app packages.

Best regards,

-- 
Uli



signature.asc
Description: OpenPGP digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Add zmi_views 'fix' also for zope.app packages?

2012-05-29 Thread Uli Fouquet
Hi there,

As Christopher Lozinski pointed out, there seem to be usecases where
people want to use single zope.app packages without zope.app.zcmlfiles
and the whole bunch of zope.app packages it pulls in.

Would it make sense for these packages to also register ZMI related
stuff only if some condition is met (say: zope.app.zcmlfiles is installed)?

Best regards,

-- 
Uli



signature.asc
Description: OpenPGP digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Add zmi_views 'fix' also for zope.app packages?

2012-05-29 Thread Charlie Clark

Hi Uli,

Am 29.05.2012, 13:44 Uhr, schrieb Uli Fouquet u...@gnufix.de:


Hi there,
As Christopher Lozinski pointed out, there seem to be usecases where
people want to use single zope.app packages without zope.app.zcmlfiles
and the whole bunch of zope.app packages it pulls in.


I think this is a non-usecase. zope.app is a namespace for the app part  
of Zope. If you want to use a part of this app then it's reasonable to  
assume that you want the rest: caveat developor!



Would it make sense for these packages to also register ZMI related
stuff only if some condition is met (say: zope.app.zcmlfiles is  
installed)?


No, having apps trying to guess about their use as library code is a bad  
idea and should not be encouraged.


Charlie
--
Charlie Clark
Managing Director
Clark Consulting  Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope-tests - FAILED: 1, OK: 39

2012-05-29 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2012-05-28 00:00:00 UTC and 2012-05-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


   Bluebream / Python2.5.5 64bit linux
   Bluebream / Python2.6.7 64bit linux
   Bluebream / Python2.7.2 64bit linux
   ZTK 1.0 / Python2.4.6 Linux 64bit
   ZTK 1.0 / Python2.6.7 Linux 64bit
   ZTK 1.0dev / Python2.4.6 Linux 64bit
   ZTK 1.0dev / Python2.5.5 Linux 64bit
   ZTK 1.0dev / Python2.6.7 Linux 64bit
   ZTK 1.1 / Python2.5.5 Linux 64bit
   ZTK 1.1 / Python2.6.7 Linux 64bit
   ZTK 1.1 / Python2.7.2 Linux 64bit
[1]ZTK 1.1dev / Python2.5.5 Linux 64bit
   ZTK 1.1dev / Python2.6.7 Linux 64bit
   ZTK 1.1dev / Python2.7.2 Linux 64bit
   Zope 3.4 KGS / Python2.4.6 64bit linux
   Zope 3.4 KGS / Python2.5.5 64bit linux
   Zope 3.4 Known Good Set / py2.4-32bit-linux
   Zope 3.4 Known Good Set / py2.4-64bit-linux
   Zope 3.4 Known Good Set / py2.5-32bit-linux
   Zope 3.4 Known Good Set / py2.5-64bit-linux
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.6 : Linux
   Zope-2.12-alltests Python-2.6.6 : Linux
   Zope-2.13 Python-2.6.6 : Linux
   Zope-2.13-alltests Python-2.6.6 : Linux
   Zope-trunk Python-2.6.6 : Linux
   Zope-trunk-alltests Python-2.6.6 : Linux
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  ZTK 1.1dev / Python2.5.5 Linux 64bit
   https://mail.zope.org/pipermail/zope-tests/2012-May/063677.html


___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope-tests - FAILED: 1, OK: 39

2012-05-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/29/2012 09:00 PM, Zope tests summarizer wrote:
 Non-OK results --
 
 [1]FAILED  ZTK 1.1dev / Python2.5.5 Linux 64bit 
 https://mail.zope.org/pipermail/zope-tests/2012-May/063677.html

Very odd:

 Develop:
 '/home/ccomb/ztk1.1dev-slave/Python2.5.5-Linux-64bit/build/src/zope.app.error'

 
/usr/local/python2.5.5/lib/python2.5/distutils/dist.py:263: UserWarning:
Unknown distribution option: 'extras_require'
 warnings.warn(msg) 
 /usr/local/python2.5.5/lib/python2.5/distutils/dist.py:263:
 UserWarning: Unknown distribution option: 'zip_safe' 
 warnings.warn(msg) 
 /usr/local/python2.5.5/lib/python2.5/distutils/dist.py:263:
 UserWarning: Unknown distribution option: 'include_package_data' 
 warnings.warn(msg) 
 /usr/local/python2.5.5/lib/python2.5/distutils/dist.py:263:
 UserWarning: Unknown distribution option: 'namespace_packages' 
 warnings.warn(msg) 
 /usr/local/python2.5.5/lib/python2.5/distutils/dist.py:263:
 UserWarning: Unknown distribution option: 'install_requires' 
 warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts]
 [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or:
 setup.py --help-commands or: setup.py cmd --help
 
 error: invalid command 'develop' While: Installing. Processing develop
 directory
 '/home/ccomb/ztk1.1dev-slave/Python2.5.5-Linux-64bit/build/src/zope.app.error'.


I
 
cannot imagine how *that* began to fail.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Fgv0ACgkQ+gerLs4ltQ674ACfT59iNWDr7s4HdC6Q4UrZZ4Jv
kSoAmwfi/S+JAtg1cOk1rPkY2ux50C1M
=/fIN
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )