[cctbxbb] cctbxbb Digest, Vol 105, Issue 3

Mooers, Blaine H.M. (HSC) Blaine-Mooers at ouhsc.edu
Fri Dec 8 12:22:53 PST 2017


Hi Gianluca ,

You might try getting the sources for 2.7 from here: 

https://gist.github.com/0x414A/8b64178e69d9f8331938


Best regards,

Blaine

Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology, College of Medicine
University of Oklahoma Health Sciences Center
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419
Faculty webpage   X-ray lab (LBSF)  COBRE in Structural Biology
SSRL UEC Facebook Page  SSRL UEC  SSRL SAC  LCLS UEC
EasyPyMOL Molecular Graphics  Small Angle Scattering
office: (405) 271-8300   lab: (405) 271-8313   e-mail: blaine-mooers at ouhsc.edu

________________________________________
From: cctbxbb-bounces at phenix-online.org [cctbxbb-bounces at phenix-online.org] on behalf of cctbxbb-request at phenix-online.org [cctbxbb-request at phenix-online.org]
Sent: Friday, December 08, 2017 2:00 PM
To: cctbxbb at phenix-online.org
Subject: cctbxbb Digest, Vol 105, Issue 3

Send cctbxbb mailing list submissions to
        cctbxbb at phenix-online.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
or, via email, send a message with subject or body 'help' to
        cctbxbb-request at phenix-online.org

You can reach the person managing the list at
        cctbxbb-owner at phenix-online.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cctbxbb digest..."


Today's Topics:

   1. Importing PyQt4 in litbx.python (Gianluca SANTONI)
   2. Re: Importing PyQt4 in litbx.python (markus.gerstel at diamond.ac.uk)
   3. Re: Importing PyQt4 in litbx.python (Gianluca SANTONI)


----------------------------------------------------------------------

Message: 1
Date: Fri, 8 Dec 2017 13:18:13 +0100
From: Gianluca SANTONI <gianluca.santoni at esrf.fr>
To: cctbx mailing list <cctbxbb at phenix-online.org>
Subject: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID: <09889a85-3126-af38-05f3-8af190cdfd07 at esrf.fr>
Content-Type: text/plain; charset=utf-8; format=flowed

Dear all,
I'm having some troubles recently in importing pyqt4 in libtbx.python
under Debian8.
It used to work with a previous build compiled from the sources, but I
don't find a reasonable way to make it work from the bootstrap installation.

More details:

1) If I do in libtbx.python
sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
import QtCore", I get an

unidentified symbol: PyUnicodeUCS4_AsLatin1String

2) If I try to compile cctbx as I did in the past "python
../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
missing something

Thanks everybody for your help.
Gian

--
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)




------------------------------

Message: 2
Date: Fri, 8 Dec 2017 12:40:13 +0000
From: <markus.gerstel at diamond.ac.uk>
To: <cctbxbb at phenix-online.org>
Subject: Re: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID: <f8d53c3e-c8d8-4941-9540-c9b80f95441d at email.android.com>
Content-Type: text/plain; charset=utf-8

Hi,

There is an issue open on UCS4 which is somewhat related: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cctbx_cctbx-5Fproject_issues_60&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=6LpNkcGx8bq7tAB89CLg2QKT2RSt2pTELiRC1u5Yx7I&e=

We currently don't use UCS4, and your system pyqt4 does. You would have to install (and potentially, compile) it for the cctbx python directly.

A 3 minute research from my mobile phone suggests that you might be able to download the sources as tar.gz files and then do something along the lines of

cctbx.python -m pip install SIP
cctbx.python -m pip install pyqt-source.tar.gz

but this is untested, and I haven't used pyqt before.

-Markus

On 8 Dec 2017 12:19, Gianluca SANTONI <gianluca.santoni at esrf.fr> wrote:
Dear all,
I'm having some troubles recently in importing pyqt4 in libtbx.python
under Debian8.
It used to work with a previous build compiled from the sources, but I
don't find a reasonable way to make it work from the bootstrap installation.

More details:

1) If I do in libtbx.python
sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
import QtCore", I get an

unidentified symbol: PyUnicodeUCS4_AsLatin1String

2) If I try to compile cctbx as I did in the past "python
../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
missing something

Thanks everybody for your help.
Gian

--
Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)


_______________________________________________
cctbxbb mailing list
cctbxbb at phenix-online.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=


--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



------------------------------

Message: 3
Date: Fri, 8 Dec 2017 14:20:26 +0100
From: Gianluca SANTONI <gianluca.santoni at esrf.fr>
To: cctbxbb at phenix-online.org
Subject: Re: [cctbxbb] Importing PyQt4 in litbx.python
Message-ID: <820c8b08-d380-dd46-e25a-e9ee9e4b076b at esrf.fr>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Markus,

I could fix everyting by compiling both libraries from source with cctbx.python.
Hope this helps others with similar problem too.

cctbx.python -m pip install SIP
cctbx.python -m pip install pyqt-source.tar.gz
did not work. There is actually no PyPi package for sip in python2.7

Cheers
Gian

Gianluca Santoni, PhD
ESRF structural biology group
71 avenue des Martyrs
38027 Grenoble cedex (France)

On 08/12/2017 13:40, markus.gerstel at diamond.ac.uk wrote:
> Hi,
>
> There is an issue open on UCS4 which is somewhat related: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cctbx_cctbx-5Fproject_issues_60&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=6LpNkcGx8bq7tAB89CLg2QKT2RSt2pTELiRC1u5Yx7I&e=
>
> We currently don't use UCS4, and your system pyqt4 does. You would have to install (and potentially, compile) it for the cctbx python directly.
>
> A 3 minute research from my mobile phone suggests that you might be able to download the sources as tar.gz files and then do something along the lines of
>
> cctbx.python -m pip install SIP
> cctbx.python -m pip install pyqt-source.tar.gz
>
> but this is untested, and I haven't used pyqt before.
>
> -Markus
>
> On 8 Dec 2017 12:19, Gianluca SANTONI <gianluca.santoni at esrf.fr> wrote:
> Dear all,
> I'm having some troubles recently in importing pyqt4 in libtbx.python
> under Debian8.
> It used to work with a previous build compiled from the sources, but I
> don't find a reasonable way to make it work from the bootstrap installation.
>
> More details:
>
> 1) If I do in libtbx.python
> sys.path.append('/usr/lib/python2.7/dist-packages/') and "from PyQt4
> import QtCore", I get an
>
> unidentified symbol: PyUnicodeUCS4_AsLatin1String
>
> 2) If I try to compile cctbx as I did in the past "python
> ../libtbx/configure.py cctbx" no make file is produced. Maybe I'm
> missing something
>
> Thanks everybody for your help.
> Gian
>
> --
> Gianluca Santoni, PhD
> ESRF structural biology group
> 71 avenue des Martyrs
> 38027 Grenoble cedex (France)
>
>
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=
>
>




------------------------------

_______________________________________________
cctbxbb mailing list
cctbxbb at phenix-online.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__phenix-2Donline.org_mailman_listinfo_cctbxbb&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=GwdNPY7ypHlodjN8ehNayxUtD5BdVtwq8HHjGGTGlc4&s=JYMUbXhgIvB9zetty4-LwQ1pm3KUahYmGDgtXhgpEhw&e=


End of cctbxbb Digest, Vol 105, Issue 3
***************************************



More information about the cctbxbb mailing list