Hi Markos,

Thanks for replying !


This issue raised by Anna here
http://permalink.gmane.org/gmane.comp.web.zope.plone.plumi.general/6417
can be solved by updating the *setuptools *link in the *builldout *as
described earlier by me in this thread.

I also see an interesting comment in Anna's thread:

Comment (by anna):
 Debian 8 Jessie released - April 25th, 2015. Unless another stable version
 has emerged - please test on that.
 Sam did this today - "buildout got fixed just before lunch .. seems there
 is a latest version of varnish that get installed if you update .. I pinned
it back to the previous version in the buildout and all went ok"


I wonder if Sam documented the steps to fix/update dependencies and do a
successful build on Debian 8.

In my buildout as far as i see we have :

[downloads]
varnish = http://downloads.sourceforge.net/varnish/*varnish-2.1.3.tar.gz*


But i'm not sure what Sam refers to when he says *"gets installed if you
update*" maybe he talks about the PLUMI upgrade from a previous version ?

My problem is that *zc.z3monitor 0.8.0*. requres *mock *and the one which
gets installed is the *mock 1.1.3 *which then fails with error:

*AttributeError: 'module' object has no attribute 'version'*


Given yesterday's announcement by Anna :

Hi all,

Just to let you know, Sam and I have been working on a new Plumi release
for some time now, but it looks very close to release. Mainly working on
a new feature to bring in videos from other hosting sites, plus make
Plumi work on Debian 8.

Will post details when it arrives.

Cheers,
Anna
_______________________________________________
Plumi-announce mailing list
[email protected]
http://lists.plumi.org/listinfo/plumi-announce



Maybe its better for me to wait for the official 4.5.2 to be released
instead of blindly keep trying something Sam already succeeded doing ?


Thanks to everyone for the bandwidth.


Best Regards,

*Christian Bocchi*

*RawNews - *Technical Lead

http://raw-news.net/

http://raw-news.net/about_us



2015-07-15 23:07 GMT+02:00 Markos Gogoulos <[email protected]>:

> Hi,
>
> the buildout is broken, sadly due to buildout/python dependencies that
> need update. Don't have the time to do it now, hopefully will do soon.
> Contributions are welcome! Have a look at this thread here, with
> suggestions for Debian 7.8
>
> http://lists.plumi.org/pipermail/discuss/2015-March/006347.html
>
> Hope it works for Debian 8 as well
> Cheers
>
> On Wed, Jul 15, 2015 at 2:38 PM, KRiSh <[email protected]> wrote:
>
>> Hi,
>>
>> First post for me here.
>>
>> I'm trying to deploy* Plumi 4.5.1 *using the following guide:
>>
>> https://mgogoulos.trinket.io/plumi-4-5#/installation/installation
>>
>> On the following server (latest Debian 8):
>>
>> *3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 / Debian
>> GNU/Linux 8*
>>
>> I encountered some problems and apparently fixed some of them, so i'd
>> like to share my findings with the list and kindly ask for your support in
>> fixing remaining ones.
>>
>> 1) The bootstrap.py loads *setuptools *from a broken link:
>>
>> /home/plumi/PLUMI/plumi.app# ./bin/python  bootstrap.py && ./bin/buildout 
>> -vTraceback (most recent call last):
>>   File "bootstrap.py", line 61, in <module>
>>     ).read() in ez
>>   File "<string>", line 1
>>     <!DOCTYPE html>
>>     ^SyntaxError: invalid syntax
>>
>> The issue was solved by replacing the link with the actual up to date 
>> working one, everything is documented in the question i opened here:
>>
>> http://stackoverflow.com/questions/31401717/syntax-error-during-plumi-plone-buildout/31401970#31401970
>>
>> Maybe its better to update the link present in bootstrap.py in the 
>> repository https://github.com/plumi/plumi.app/
>>
>> 2)
>>
>> *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/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py",
>>  line 1683, in main
>>     getattr(buildout, command)(args)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py",
>>  line 439, in install
>>     [self[part]['recipe'] for part in install_parts]
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py",
>>  line 987, in __getitem__
>>     options._initialize()
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py",
>>  line 1071, in _initialize
>>     recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py",
>>  line 1032, in _install_and_load
>>     req.project_name, group, entry)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py",
>>  line 337, in load_entry_point
>>     return get_distribution(dist).load_entry_point(group, name)
>> *  File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py",
>>  line 2306, in load_entry_point*
>> *    raise ImportError("Entry point %r not found" % ((group,name),))*
>> *ImportError: Entry point ('zc.buildout', 'default') not found*
>>
>> This problem was fixed by adding these in *buildout.cfg*
>>
>> zc.buildout = 1.7.1
>> distribute = 0.6.35
>>
>> I documented this in the question i opened here:
>>
>> http://stackoverflow.com/questions/31403969/importerror-entry-point-zc-buildout-default-not-found/31412315#31412315
>>
>> 3)
>>
>> Getting required 'collective.z3cform.datetimewidget==1.2.0'
>> We have the distribution that satisfies 
>> 'collective.z3cform.datetimewidget==1.2.0'.Getting required 'mock'
>>   required by zc.z3monitor 0.8.0.
>> We have no distributions for mock that satisfies 'mock'.
>> Getting distribution for 'mock'.
>> Running easy_install:/home/plumi/PLUMI/plumi.app/bin/python "-c" "from 
>> setuptools.command.easy_install import main;main()" "-mUNxd" 
>> "/home/plumi/PLUMI/plumi.app/eggs/tmpYSVOMR" "-q" 
>> "/home/plumi/PLUMI/plumi.app/downloads/dist/mock-1.1.3.tar.gz"
>> path=/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg
>>
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1937, in main
>>     with_ei_usage(lambda:
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1918, in with_ei_usage
>>     return f()
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1941, in <lambda>
>>     distclass=DistributionWithoutHelpCommands, **kw
>>   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/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 358, in run
>>     self.easy_install(spec, not self.no_deps)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 578, in easy_install
>>     return self.install_item(None, spec, tmpdir, deps, True)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 628, in install_item
>>     dists = self.install_eggs(spec, download, tmpdir)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 823, in install_eggs
>>     return self.build_and_install(setup_script, setup_base)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1103, in build_and_install
>>     self.run_setup(setup_script, setup_base, args)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/command/easy_install.py",
>>  line 1089, in run_setup
>>     run_setup(setup_script, args)
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/sandbox.py",
>>  line 33, in run_setup
>>     lambda: execfile(
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/sandbox.py",
>>  line 81, in run
>>     return func()
>>   File 
>> "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.35-py2.7.egg/setuptools/sandbox.py",
>>  line 35, in <lambda>
>>     {'__file__':setup_script, '__name__':'__main__'}
>>   File "setup.py", line 10, in <module>
>>     read('README.txt')AttributeError: 'module' object has no attribute 
>> 'version'
>> An error occurred when trying to install mock 1.1.3. Look above this message 
>> for any errors that were output by easy_install.
>> While:
>>   Installing plone.
>>   Getting distribution for 'mock'.
>> Error: Couldn't install: mock 1.1.3
>> *********************************************
>> Overwriting versions.cfg
>> *********************************************
>>
>> This problem is currently under analysis.
>>
>> Could you kindly help me understanding how to fix this one ?
>>
>>
>> I can also suggest to add this package to the pre-requisites of the buildout 
>> in the aforementioned guide (its mandatory to have it for *nginx*):
>>
>> *libssl-dev*
>>
>>
>> Thanks to everybody in advance,
>>
>> Best Regards.
>>
>>
>> *Christian Bocchi*
>>
>> RawNews - Technical Lead
>>
>> http://raw-news.net/
>>
>> http://raw-news.net/about_us
>>
>>
>> _______________________________________________
>> Discuss mailing list
>> [email protected]
>> http://lists.plumi.org/listinfo/discuss
>>
>>
>
>
> --
> https://unweb.me
> state of the art information systems
>
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to