hi all,
Tres Seaver wrote:
>On behalf of the Zope Foundation and its members, I'm pleased to
>announce the 2.13.23 release of the Zope2 package:
Great!
>/path/to/venv/bin/pip install \
>https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.…
raboso:/home/zope/2.13.23$ ./bin/pip install https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.…
Downloading/unpacking https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.…
Downloading requirements.txt
Cannot unpack file /tmp/pip-9UQkA6-unpack/requirements.txt (downloaded from /tmp/pip-GQuiZE-build, content-type: text/plain; charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-GQuiZE-build
Storing complete log in /home/zope/./.pip/pip.log
---------------
raboso:/home/zope/2.13.23$ ./bin/pip install --index-url=http://download.zope.org/Zope2/index/2.13.23/ Zope2
Downloading/unpacking Zope2
Could not find any downloads that satisfy the requirement Zope2
No distributions at all found for Zope2
Storing complete log in /home/zope/./.pip/pip.log
---------------
raboso:/home/zope/2.13.23$ ./bin/easy_install -i http://download.zope.org/Zope2/index/2.13.23 Zope2
Searching for Zope2
Reading http://download.zope.org/Zope2/index/2.13.23/Zope2/
Couldn't find index page for 'Zope2' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://download.zope.org/Zope2/index/2.13.23/
No local packages or download links found for Zope2
Best match: None
Traceback (most recent call last):
File "./bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
---------------
./bin/easy_install ../Zope2-2.13.23.tar.gz works but seems to use the wrong
requirements so Zope2 does not start.
How am I supposed to install Zope2 this time? Which INSTALL.rst,
INSTALL-buildout.rst or INSTALL-virtualenv.rst am I supposed to read (please
provide URL)?
Regards,
Michael Brunnbauer
--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni(a)netestate.de
++ http://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
This may be more of a zodb / relstorage question - I hope it's ok to ask
on the Zope list.
I'm seeing behavior using relstorage and blobs that I didn't expect:
If I upload a large file, say 2 gigs, I am noticing that our SQL
database also grows by 2 Gigs, along with the blob storage.
After a pack, the space is reclaimed on the SQL side, and everyone is
happy.
FWIW - it's videos that are doing this.
I am pretty sure it's the undo log that's growing, based on the fact
that a pack reclaims the space.
Can this behavior be turned off for a specific field or content type?
So undo logs are preserved for everything BUT this monster of a content
type?
Seems strange to do this tho.
Are there other alternatives, like calling .pack() directly on the
field's storage after it's set?
Our problem is that our sql database grows to a huge size between our
weekly packs, and backups of the sql dumps are becoming unmanageable.
Our blob backups are ready to deal with this kind of size, but not the
sql backups.
----------
Going deeper down the rabbit hole, although I don't think it's relevant,
is the fact that I hacked and replaced the storage class for the field.
Instead of using AnnotationStorage - which I found used as default for
ImageField - I intercept the data during storage.set(), ship it out to a
separate storage facility, and replace the data with a happy message
"This is not where your data is" which is then written to the blobs.
It works just great - keeping our blob storage growth from going
crazy. If you try to 'download' the file from Plone, you'll get the
text file with the happy message.
Now that I've been shown that the Blob Storage is functioning just fine,
but the SQL storage size is going off the charts, I hope I'm not back at
square one.
The goal is to allow users to think they are uploading 4Gb videos into
Plone, when under the covers, we're actually shipping the video files
off to some fancy off-site storage. (Akamai) So we don't have to store
them and back them up on-site, and our blob directories remain
manageable in size.
The storage hack can be seen here:
https://github.com/RadioFreeAsia/rfa.kaltura/blob/master/rfa/kaltura/storag…
I'm not proud of it, but it works.
--
Mike McFadden
Radio Free Asia
Technical Operations Division
2025 M Street NW
Washington DC 20036 USA
This e-mail message is intended only for the use of the addressee and may contain information that is privileged and confidential. Any unauthorized dissemination, distribution or copying is strictly prohibited. If you receive this transmission in error, please contact network(a)rfa.org.
________________________________________________________________________
ANNOUNCING
mxODBC Plone/Zope Database Adapter
Version 2.2.3
for the Plone CMS and Zope server platform
Available for Plone 4.0-4.3 and Plone 5.0,
Zope 2.12 and 2.13, on
Windows, Linux, Mac OS X, FreeBSD and other platforms
This announcement is also available on our web-site for online reading:
http://www.egenix.com/company/news/eGenix-mxODBC-Zope-DA-2.2.3-GA.html
________________________________________________________________________
INTRODUCTION
The eGenix mxODBC Zope DA allows you to easily connect your Zope or
Plone CMS installation to just about any database backend on the
market today, giving you the reliability of the commercially supported
eGenix product mxODBC and the flexibility of the ODBC standard as
middle-tier architecture.
The mxODBC Zope Database Adapter is highly portable, just like Zope
itself, and provides a high performance interface to all your ODBC
data sources, using a single well-supported interface on Windows,
Linux, Mac OS X, FreeBSD and other platforms.
This makes it ideal for deployment in ZEO Clusters and Zope hosting
environments where stability and high performance are a top priority,
establishing an excellent basis and scalable solution for your Plone
CMS.
Product page:
http://www.egenix.com/products/zope/mxODBCZopeDA/
________________________________________________________________________
NEWS
The 2.2.3 release of our mxODBC Zope/Plone Database Adapter product is
a patch level release of the popular ODBC database interface for Plone
and Zope. It includes these enhancements and fixes:
Feature Updates
---------------
* We have integrated a new option to force serialized connects on a
per Zope connection object basis. This can be used to work around
bugs in ODBC drivers which are not fully thread-safe in the connect
phase. The option is disabled per default.
Driver Compatibility Enhancements
---------------------------------
* ODBC driver compatibility updated. Upgraded to the latest mxODBC
3.3.5 release, adding compatibility enhancements for MS SQL
Server. See the mxODBC 3.3.5 release announcements for full
details.
Installation Enhancements
-------------------------
* Added pip install compatibility to mxODBC Zope DA by creating
prebuilt archives and uploading a web installer to PyPI. This can
be useful if you are installing Zope or Plone using a
requirements.txt type approach, e.g. using
pip install ThreadLock Products.ZSQLMethods egenix-mxodbc-zopeda
* Enabled creating wheels from the prebuilt archives, which helps
when running pip with the wheels package installed. pip then tries
to build wheels during installation and caches them for future
reuse.
The complete list of changes is available on the mxODBC Zope DA
changelog page.
http://www.egenix.com/products/zope/mxODBCZopeDA/changelog.html
mxODBC Zope DA 2.2.0 was released on 2014-12-11. Please see the mxODBC
Zope DA 2.2.0 release announcement for all the new features we have
added.
http://www.egenix.com/company/news/eGenix-mxODBC-Zope-DA-2.2.0-GA.html
For the full list of features, please see the mxODBC Zope DA feature
list:
http://www.egenix.com/products/zope/mxODBCZopeDA/#Features
The complete list of changes is available on the mxODBC Zope DA
changelog page.
________________________________________________________________________
UPGRADING
Users are encouraged to upgrade to this latest mxODBC Plone/Zope
Database Adapter release to benefit from the new features and updated
ODBC driver support. We have taken special care not to introduce
backwards incompatible changes, making the upgrade experience as
smooth as possible.
For major and minor upgrade purchases, we will give out 20% discount
coupons going from mxODBC Zope DA 1.x to 2.2 and 50% coupons for
upgrades from mxODBC 2.x to 2.2. After upgrade, use of the original
license from which you upgraded is no longer permitted. Patch level
upgrades (e.g. 2.2.0 to 2.2.3) are always free of charge.
Please contact the eGenix.com Sales Team with your existing license
serials for details for an upgrade discount coupon.
If you want to try the new release before purchase, you can request
30-day evaluation licenses by visiting our web-site or writing to
sales(a)egenix.com, stating your name (or the name of the company) and
the number of eval licenses that you need.
http://www.egenix.com/products/python/mxODBCZopeDA/#Evaluation
________________________________________________________________________
DOWNLOADS
Please visit the eGenix mxODBC Zope DA product page for downloads,
instructions on installation and documentation of the packages:
http://www.egenix.com/company/products/zope/mxODBCZopeDA/
If you want to try the package, please jump straight to the download
instructions:
http://www.egenix.com/products/zope/mxODBCZopeDA/#Download
Fully functional evaluation licenses for the mxODBC Zope DA are
available free of charge:
http://www.egenix.com/products/zope/mxODBCZopeDA/#Evaluation
________________________________________________________________________
SUPPORT
Commercial support for this product is available directly from
eGenix.com.
Please see the support section of our website for details:
http://www.egenix.com/services/support/
________________________________________________________________________
MORE INFORMATION
For more information on eGenix mxODBC Zope DA, licensing and download
instructions, please write to sales(a)egenix.com.
About eGenix (http://www.egenix.com/):
eGenix is a software project, consulting and product company
focusing on expert project services and professional quality
products for companies, Python users and developers.
Enjoy,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Sep 14 2015)
>>> Python Projects, Coaching and Consulting ... http://www.egenix.com/
>>> mxODBC Plone/Zope Database Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2015-09-18: PyCon UK 2015 ... 4 days to go
2015-10-21: Python Meeting Duesseldorf ... 37 days to go
::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/