sozi-projects / Sozi

A "zooming" presentation editor
http://sozi.baierouge.fr
Mozilla Public License 2.0
1.56k stars 164 forks source link

Sozi in CentOS6 (RHEL6) #160

Closed mawhite closed 11 years ago

mawhite commented 11 years ago

Has anyone had any luck getting Sozi to run on Centos6?

Sozi seems to not support RHEL6. It seems to be a python compatibility issue, el6 supports python 2.6, while Sozi seems to need 2.7.

I used the following RPMs to get the latest Inkkscape and Sozi to run. However the Sozi extension produces a "Traceball call"

sudo yum localinstall ~/downloads/inkscape-0.48.0-1.el6.rfx.x86_64.rpm sudo yum localinstall ~/downloads/inkscape-0.48.0-1.el6.rfx.x86_64.rpm ~/downloads/perl-_el6_rpm sudo yum localinstall ~/downloads/inkscape-sozi-12.09-1.fc18.noarch.rpm

Traceback (most recent call last): File "sozi.py", line 30, in from sozi.document import * File "/usr/share/inkscape/extensions/sozi/document.py", line 81 self.layers = { l.attrib[group_attr] : SoziLayer(self, l) for l in self.xml.xpath("sozi:layer", namespaces=inkex.NSS) if group_attr in l.attrib } ^ SyntaxError: invalid syntax

aumouvantsillage commented 11 years ago

Hi,

2012/12/7 mawhite notifications@github.com

Sozi seems to not support RHEL6. It seems to be a python compatibility issue, el6 supports python

2.6, while Sozi seems to need 2.7.

Yes, Sozi requires Python 2.7.

Python 2.6 is quite old now. Most recent Linux distros ship Python 2.7 or 3.x as the default.

Guillaume

mawhite commented 11 years ago

That is a shame. We tend to run CentOS on our Linux workstations and servers. The bleading-edge distros are fine for personal use, but change too frequently to be used for our production machines.

aumouvantsillage commented 11 years ago

That is a shame. We tend to run CentOS on our Linux workstations and servers.

Sozi is a personal project that I develop in my spare time. I tend to use the tools I'm comfortable with.

The bleading-edge distros are fine for personal use, but change too frequently to be used for our production machines.

So maybe you should not try to use the "bleeding-edge" version of Sozi. Sozi 12.05 is compatible with Python 2.6. You can find it here: https://github.com/senshu/Sozi/downloads

mawhite commented 11 years ago

Guillaume,

Thanks, I did not see the previous versions for download, and did not know what the compatibility would be for Centos6 without your help.

Best regards, Mark

On Fri, 2012-12-07 at 13:08 -0800, Guillaume Savaton wrote:

That is a shame. We tend to run CentOS on our Linux workstations and servers.

Sozi is a personal project that I develop in my spare time. I tend to use the tools I'm comfortable with.

The bleading-edge distros are fine for personal use, but change too frequently to be used for our production machines.

So maybe you should not try to use the "bleeding-edge" version of Sozi. Sozi 12.05 is compatible with Python 2.6. You can find it here: https://github.com/senshu/Sozi/downloads

— Reply to this email directly or view it on GitHub.

Yours sincerely,

Mark A. White, Ph.D. Associate Professor of Biochemistry and Molecular Biology, Manager, Sealy Center for Structural Biology and Molecular Biophysics X-ray Crystallography Laboratory, Basic Science Building, Room 6.660 C University of Texas Medical Branch Galveston, TX 77555-0647 Tel. (409) 747-4747 Cell. (281) 734-3614 Fax. (409) 747-1404 mailto://mawhite@utmb.edu http://xray.utmb.edu http://xray.utmb.edu/~white