From chigga101 at gmail.com Sun Aug 4 16:13:30 2013 From: chigga101 at gmail.com (Matthew Ngaha) Date: Sun, 4 Aug 2013 15:13:30 +0100 Subject: [PySide] QGraphicsItem Events Message-ID: hi, I'm trying to get familiar with the QGraphics classes. I have made 2 custom subclasses. The main one is a QGraphicsScene subclass and in it i have an instance of a QGraphicsItem subclass. These are my 2 reimplimented classes. I need the QGraphicsItem instance to respond to user input (mouse and keyboard). Looking at the docs i have set these properties in its init method: self.GraphicsItemFlags(QGraphicsItem.ItemIsFocusable) self.setFocus(Qt.ActiveWindowFocusReason) then i print print(self.hasFocus()) the print returns False and my events like keyPressEvent are ignored as the Item doesn't have focus. Please can anyone tell me or show me an example of making a QGraphicsItem respond to user input? From chigga101 at gmail.com Mon Aug 5 14:26:46 2013 From: chigga101 at gmail.com (Matthew Ngaha) Date: Mon, 5 Aug 2013 13:26:46 +0100 Subject: [PySide] QGraphicsItem Events In-Reply-To: <1413381610.212970.1375699975996.JavaMail.open-xchange@webmail.nmp.skynet.be> References: <1413381610.212970.1375699975996.JavaMail.open-xchange@webmail.nmp.skynet.be> Message-ID: > On Mon, Aug 5, 2013 at 11:52 AM, fb569808 at skynet.be wrote: Thanks i did manage to sort that problem. But i'm now finding the way the QGraphicsView handles the QGraphics Scene not very nice. My view uses scrollbars because the Scene is bigger than the View. I found out how to remove the scrollbars and still it doesnt display my whole Scene. Is there a way to make the View as big as the scene?, QGraphicsView.scale() does it but then my Scene and its items are no longer able to be displayed From oscar.campos at member.fsf.org Wed Aug 7 13:51:46 2013 From: oscar.campos at member.fsf.org (Oscar Campos) Date: Wed, 07 Aug 2013 12:51:46 +0100 Subject: [PySide] PysIde plugin for Sublime Text Message-ID: <520234D2.8000305@member.fsf.org> Hi all. If you are using Sublime Text 2 or 3 for your daily development needs, you may be interested in this plugin that adds some features implemented in QtCreator and some new ones like conversion from PyQt4 to PySide and from PySide to PyQt4 for Sublime Text. https://github.com/DamnWidget/SublimePySide Regards. -- Join the Free Software Foundation and become free as in freedom From greatrgb at gmail.com Wed Aug 7 17:12:41 2013 From: greatrgb at gmail.com (Tony Barbieri) Date: Wed, 7 Aug 2013 11:12:41 -0400 Subject: [PySide] PysIde plugin for Sublime Text In-Reply-To: <520234D2.8000305@member.fsf.org> References: <520234D2.8000305@member.fsf.org> Message-ID: Thanks for sharing!! On Wed, Aug 7, 2013 at 7:51 AM, Oscar Campos wrote: > Hi all. > > If you are using Sublime Text 2 or 3 for your daily development needs, > you may be interested in this plugin that adds some features implemented > in QtCreator and some new ones like conversion from PyQt4 to PySide and > from PySide to PyQt4 for Sublime Text. > > https://github.com/DamnWidget/SublimePySide > > Regards. > > -- > Join the Free Software Foundation and become free as in freedom > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -- -tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From chigga101 at gmail.com Thu Aug 8 17:34:28 2013 From: chigga101 at gmail.com (Matthew Ngaha) Date: Thu, 8 Aug 2013 16:34:28 +0100 Subject: [PySide] PySide Digest, Vol 19, Issue 2 In-Reply-To: References: Message-ID: Hey Oscar. Im pretty new to coding and don't really understand github and the link you posted. Could you please tell me how i could install that plugin, Or the direct link etc. Thanks From oscar.campos at member.fsf.org Thu Aug 8 18:15:08 2013 From: oscar.campos at member.fsf.org (Oscar Campos) Date: Thu, 08 Aug 2013 17:15:08 +0100 Subject: [PySide] PySide Digest, Vol 19, Issue 2 In-Reply-To: References: Message-ID: <5203C40C.1020001@member.fsf.org> There are two ways to install this plugin. If you use Package Control to install packages in your Sublime Text: 1. Open the Command Palette 2. Write "install" 3. Select "Package Control: Install Package" 4.Type "PySide" 5. Select "SublimePySide" and press If you don't use Package Control: 1. In your Sublime Text go to Preferences > Browse Packages... 2. Click on this link: https://github.com/DamnWidget/SublimePySide/archive/master.zip 3. Donwload the ZIP file and extract it to the directory that you opened in the step 1 4. Rename it to "PySide" I really recommend you to install Package Control (if you don't have it already) and install this plugin with it cos it will take care of maintain it up to date for you with no interaction. Regards. On 08/08/2013 04:34 PM, Matthew Ngaha wrote: > Hey Oscar. Im pretty new to coding and don't really understand github > and the link you posted. Could you please tell me how i could install > that plugin, Or the direct link etc. Thanks > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -- Join the Free Software Foundation and become free as in freedom From chigga101 at gmail.com Fri Aug 9 17:37:21 2013 From: chigga101 at gmail.com (Matthew Ngaha) Date: Fri, 9 Aug 2013 16:37:21 +0100 Subject: [PySide] PySide Digest, Vol 19, Issue 3 In-Reply-To: References: Message-ID: Excellent! I will install Package Control. Thank you:) From frank at ohufx.com Thu Aug 29 08:22:17 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Thu, 29 Aug 2013 18:22:17 +1200 Subject: [PySide] help: can't install Pyside on linux anymore Message-ID: <521EE899.4060401@ohufx.com> Hi guys, this may be a linux problem more than a PySide problem, but after a day of searching for a solution I am a bit desperate and was hoping somebody here would be able to help: A few days ago I installed PySide on Kubuntu 12.10 without any trouble by running those commands: |sudo add-apt-repository ppa:pyside sudo apt-get update sudo apt-get install python-pyside| This successfully installed PySide to /usr/lib/python2.7/dist-packages/PySide I then decided to move the installed PySide folder to a central server location which is in my PYTHONPATH to be able to access the same PySide install from multiple machine (to avoid version problems etc). After that some host applications that are using PySide natively wouldn't launch any longer (PySide itself worked fine), so I decided to back paddle; I deleted all files on the server again and ran this to clean up: | sudo apt-get purge python-pyside| |sudo apt-get autoremove | Now I thought I'd be ready for a clean install again, so I started over with the above mentioned install commands. First, this only installed the binaries (.so files) into /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. So I tried un-installing and re-installing a few times, but now nothing gets installed at all anymore. When running |sudo apt-get update|, I now get these errors: /Err http://ppa.launchpad.net quantal/main Sources 404 Not Found// //Hit http://security.ubuntu.com quantal-security/restricted i386 Packages// //Err http://ppa.launchpad.net quantal/main amd64 Packages 404 Not Found// //Err http://ppa.launchpad.net quantal/main i386 Packages 404 Not Found// //W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources 404 Not Found// //W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages 404 Not Found// //W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found/ I checked in a web browser, and sure enough, the "quantal" dist does not exist: http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ It feels like it was simply removed the other day since I was able to install PySide successfully but it's more likely that I'm stuffing up something here. Can somebody please help with this? I am stuck and need to get this running soon :( Cheers, frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian at risefx.com Thu Aug 29 09:03:37 2013 From: sebastian at risefx.com (Sebastian Elsner) Date: Thu, 29 Aug 2013 09:03:37 +0200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <521EE899.4060401@ohufx.com> References: <521EE899.4060401@ohufx.com> Message-ID: <521EF249.3040003@risefx.com> Hey Frank, I don't know about the linux part but you can keep PySide on a central server, just don't add that path to you PYTHONPATH by default. Nuke does not need to know about it, but in a standalone app you could just do something like: import sys sys.path.add("/server/pyside") and that one works again. The strategy I am going for here is: All standalone apps use the standard (Windows) Python and standard installers for packages. We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL in Maya/Nuke/Houdini. The path.add method is the way I manage those to dynamically "mount" (i.e. path.add) all the packages I need per host program (with their own compiler version, because thats where the problem comes from) Cheers Sebastian placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > Hi guys, > > this may be a linux problem more than a PySide problem, but after a > day of searching for a solution I am a bit desperate and was hoping > somebody here would be able to help: > > A few days ago I installed PySide on Kubuntu 12.10 without any trouble > by running those commands: > |sudo add-apt-repository ppa:pyside > sudo apt-get update > sudo apt-get install python-pyside| > > This successfully installed PySide to > /usr/lib/python2.7/dist-packages/PySide > > I then decided to move the installed PySide folder to a central server > location which is in my PYTHONPATH to be able to access the same > PySide install from multiple machine (to avoid version problems etc). > > After that some host applications that are using PySide natively > wouldn't launch any longer (PySide itself worked fine), so I decided > to back paddle; I deleted all files on the server again and ran this > to clean up: > | > sudo apt-get purge python-pyside| > |sudo apt-get autoremove > > | > Now I thought I'd be ready for a clean install again, so I started > over with the above mentioned install commands. > First, this only installed the binaries (.so files) into > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. > So I tried un-installing and re-installing a few times, but now > nothing gets installed at all anymore. > > When running |sudo apt-get update|, I now get these errors: > > /Err http://ppa.launchpad.net quantal/main Sources 404 Not Found// > //Hit http://security.ubuntu.com quantal-security/restricted i386 > Packages// > //Err http://ppa.launchpad.net quantal/main amd64 Packages 404 > Not Found// > //Err http://ppa.launchpad.net quantal/main i386 Packages 404 > Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > 404 Not Found/ > > > > I checked in a web browser, and sure enough, the "quantal" dist does > not exist: > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > It feels like it was simply removed the other day since I was able to > install PySide successfully but it's more likely that I'm stuffing up > something here. > > Can somebody please help with this? I am stuck and need to get this > running soon :( > > Cheers, > frank > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -- check out www.pointcloud9.com Sebastian Elsner - Pipeline Technical Director - RISE t: +49 30 20180300 florian at risefx.com f: +49 30 61651074 www.risefx.com RISE FX GmbH Schlesische Strasse 28, Aufgang B, 10997 Berlin c/o action concept, An der Hasenkaule 1-7, 50354 Hürth Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow Handelsregister Berlin HRB 106667 B -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at ohufx.com Thu Aug 29 09:09:04 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Thu, 29 Aug 2013 19:09:04 +1200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <521EF249.3040003@risefx.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com> Message-ID: <521EF390.6090904@ohufx.com> Thanks for the heads up Sebastian. That is probably a good way to go, as I need to add os specific logic as well (I am in a mixed linux and osx environment). For now, I'm just trying to get the vanilla install to work again though. And then get my head back into PySide which I was forced to neglect for almost a year. Hope all is well in Berlin! Cheers, frank On 29/08/13 19:03, Sebastian Elsner wrote: > Hey Frank, > > I don't know about the linux part but you can keep PySide on a central > server, just don't add that path to you PYTHONPATH by default. Nuke > does not need to know about it, but in a standalone app you could just > do something like: > > import sys > sys.path.add("/server/pyside") > > and that one works again. > > The strategy I am going for here is: All standalone apps use the > standard (Windows) Python and standard installers for packages. > We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL in > Maya/Nuke/Houdini. The path.add method is the way I manage those to > dynamically "mount" (i.e. path.add) all the packages I need per host > program (with their own compiler version, because thats where the > problem comes from) > > Cheers > > Sebastian > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: >> Hi guys, >> >> this may be a linux problem more than a PySide problem, but after a >> day of searching for a solution I am a bit desperate and was hoping >> somebody here would be able to help: >> >> A few days ago I installed PySide on Kubuntu 12.10 without any >> trouble by running those commands: >> |sudo add-apt-repository ppa:pyside >> sudo apt-get update >> sudo apt-get install python-pyside| >> >> This successfully installed PySide to >> /usr/lib/python2.7/dist-packages/PySide >> >> I then decided to move the installed PySide folder to a central >> server location which is in my PYTHONPATH to be able to access the >> same PySide install from multiple machine (to avoid version problems >> etc). >> >> After that some host applications that are using PySide natively >> wouldn't launch any longer (PySide itself worked fine), so I decided >> to back paddle; I deleted all files on the server again and ran this >> to clean up: >> | >> sudo apt-get purge python-pyside| >> |sudo apt-get autoremove >> >> | >> Now I thought I'd be ready for a clean install again, so I started >> over with the above mentioned install commands. >> First, this only installed the binaries (.so files) into >> /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. >> So I tried un-installing and re-installing a few times, but now >> nothing gets installed at all anymore. >> >> When running |sudo apt-get update|, I now get these errors: >> >> /Err http://ppa.launchpad.net quantal/main Sources 404 Not Found// >> //Hit http://security.ubuntu.com quantal-security/restricted i386 >> Packages// >> //Err http://ppa.launchpad.net quantal/main amd64 Packages 404 >> Not Found// >> //Err http://ppa.launchpad.net quantal/main i386 Packages 404 >> Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources >> 404 Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages >> 404 Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages >> 404 Not Found/ >> >> >> >> I checked in a web browser, and sure enough, the "quantal" dist does >> not exist: >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ >> >> It feels like it was simply removed the other day since I was able to >> install PySide successfully but it's more likely that I'm stuffing up >> something here. >> >> Can somebody please help with this? I am stuck and need to get this >> running soon :( >> >> Cheers, >> frank >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside > > > -- > check outwww.pointcloud9.com > > Sebastian Elsner - Pipeline Technical Director - RISE > > t: +49 30 20180300florian at risefx.com > f: +49 30 61651074www.risefx.com > > RISE FX GmbH > Schlesische Strasse 28, Aufgang B, 10997 Berlin > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > Handelsregister Berlin HRB 106667 B > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -------------- next part -------------- An HTML attachment was scrubbed... URL: From kandraitibold at gmail.com Thu Aug 29 11:36:36 2013 From: kandraitibold at gmail.com (=?utf-8?Q?Tibold_Kandrai?=) Date: Thu, 29 Aug 2013 09:36:36 +0000 Subject: [PySide] =?utf-8?q?help=3A_can=27t_install_Pyside_on_linux_anymor?= =?utf-8?q?e?= In-Reply-To: <521EF390.6090904@ohufx.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com>,<521EF390.6090904@ohufx.com> Message-ID: <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Hey Frank, If the ppa doesn’t exist, you could try to compile it yourself or by manually downloading it or by installing from PyPi with: sudo pip install PySide There are a few dependencies you need to have installed like CMake, but the build will let you know what does it need. I just had to build it myself too as for OS X there are no 1.2.1 binaries available. In my case the only problem I had with it is that the Ui tools didn’t build, but since I’m not really using it that’s not that big of a problem for me, although they can be compiled by fixing the cmake files. Cheers, Tibold Kandrai From: Frank Rueter | OHUfx Sent: ‎Thursday‎, ‎29‎ ‎August‎ ‎2013 ‎09‎:‎09 To: pyside at qt-project.org Thanks for the heads up Sebastian. That is probably a good way to go, as I need to add os specific logic as well (I am in a mixed linux and osx environment). For now, I'm just trying to get the vanilla install to work again though. And then get my head back into PySide which I was forced to neglect for almost a year. Hope all is well in Berlin! Cheers, frank On 29/08/13 19:03, Sebastian Elsner wrote: Hey Frank, I don't know about the linux part but you can keep PySide on a central server, just don't add that path to you PYTHONPATH by default. Nuke does not need to know about it, but in a standalone app you could just do something like: import sys sys.path.add("/server/pyside") and that one works again. The strategy I am going for here is: All standalone apps use the standard (Windows) Python and standard installers for packages. We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL in Maya/Nuke/Houdini. The path.add method is the way I manage those to dynamically "mount" (i.e. path.add) all the packages I need per host program (with their own compiler version, because thats where the problem comes from) Cheers Sebastian placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: Hi guys, this may be a linux problem more than a PySide problem, but after a day of searching for a solution I am a bit desperate and was hoping somebody here would be able to help: A few days ago I installed PySide on Kubuntu 12.10 without any trouble by running those commands: sudo add-apt-repository ppa:pyside sudo apt-get update sudo apt-get install python-pyside This successfully installed PySide to /usr/lib/python2.7/dist-packages/PySide I then decided to move the installed PySide folder to a central server location which is in my PYTHONPATH to be able to access the same PySide install from multiple machine (to avoid version problems etc). After that some host applications that are using PySide natively wouldn't launch any longer (PySide itself worked fine), so I decided to back paddle; I deleted all files on the server again and ran this to clean up: sudo apt-get purge python-pyside sudo apt-get autoremove Now I thought I'd be ready for a clean install again, so I started over with the above mentioned install commands. First, this only installed the binaries (.so files) into /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. So I tried un-installing and re-installing a few times, but now nothing gets installed at all anymore. When running sudo apt-get update, I now get these errors: Err http://ppa.launchpad.net quantal/main Sources 404 Not Found Hit http://security.ubuntu.com quantal-security/restricted i386 Packages Err http://ppa.launchpad.net quantal/main amd64 Packages 404 Not Found Err http://ppa.launchpad.net quantal/main i386 Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found I checked in a web browser, and sure enough, the "quantal" dist does not exist: http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ It feels like it was simply removed the other day since I was able to install PySide successfully but it's more likely that I'm stuffing up something here. Can somebody please help with this? I am stuck and need to get this running soon :( Cheers, frank _______________________________________________ PySide mailing list PySide at qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside -- check out www.pointcloud9.com Sebastian Elsner - Pipeline Technical Director - RISE t: +49 30 20180300 florian at risefx.com f: +49 30 61651074 www.risefx.com RISE FX GmbH Schlesische Strasse 28, Aufgang B, 10997 Berlin c/o action concept, An der Hasenkaule 1-7, 50354 Hürth Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow Handelsregister Berlin HRB 106667 B _______________________________________________ PySide mailing list PySide at qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside -------------- next part -------------- An HTML attachment was scrubbed... URL: From backup.rlacko at gmail.com Thu Aug 29 12:24:03 2013 From: backup.rlacko at gmail.com (Roman Lacko) Date: Thu, 29 Aug 2013 12:24:03 +0200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <521f1795.0e03cc0a.1789.5bbb@mx.google.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com> <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Message-ID: 2013/8/29 Tibold Kandrai > Hey Frank, > > If the ppa doesn’t exist, you could try to compile it yourself or by > manually downloading it or by installing from PyPi with: > sudo pip install PySide > > There are a few dependencies you need to have installed like CMake, but > the build will let you know what does it need. > Detailed instructions how to build on linux are here https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts > I just had to build it myself too as for OS X there are no 1.2.1 binaries > available. > > In my case the only problem I had with it is that the Ui tools didn’t > build, but since I’m not really using it that’s not that big of a problem > for me, although they can be compiled by fixing the cmake files. > > Cheers, > Tibold Kandrai > > *From:* Frank Rueter | OHUfx > *Sent:* Thursday, 29 August 2013 09:09 > *To:* pyside at qt-project.org > > Thanks for the heads up Sebastian. > That is probably a good way to go, as I need to add os specific logic as > well (I am in a mixed linux and osx environment). > > For now, I'm just trying to get the vanilla install to work again though. > And then get my head back into PySide which I was forced to neglect for > almost a year. > > Hope all is well in Berlin! > > Cheers, > frank > > On 29/08/13 19:03, Sebastian Elsner wrote: > > Hey Frank, > > I don't know about the linux part but you can keep PySide on a central > server, just don't add that path to you PYTHONPATH by default. Nuke does > not need to know about it, but in a standalone app you could just do > something like: > > import sys > sys.path.add("/server/pyside") > > and that one works again. > > The strategy I am going for here is: All standalone apps use the standard > (Windows) Python and standard installers for packages. > We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL in > Maya/Nuke/Houdini. The path.add method is the way I manage those to > dynamically "mount" (i.e. path.add) all the packages I need per host > program (with their own compiler version, because thats where the problem > comes from) > > Cheers > > Sebastian > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > > Hi guys, > > this may be a linux problem more than a PySide problem, but after a day of > searching for a solution I am a bit desperate and was hoping somebody here > would be able to help: > > A few days ago I installed PySide on Kubuntu 12.10 without any trouble by > running those commands: > > sudo add-apt-repository ppa:pyside > sudo apt-get update > sudo apt-get install python-pyside > > > This successfully installed PySide to > /usr/lib/python2.7/dist-packages/PySide > > I then decided to move the installed PySide folder to a central server > location which is in my PYTHONPATH to be able to access the same PySide > install from multiple machine (to avoid version problems etc). > > After that some host applications that are using PySide natively wouldn't > launch any longer (PySide itself worked fine), so I decided to back paddle; > I deleted all files on the server again and ran this to clean up: > > sudo apt-get purge python-pyside > sudo apt-get autoremove > > > Now I thought I'd be ready for a clean install again, so I started over > with the above mentioned install commands. > First, this only installed the binaries (.so files) into > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. > So I tried un-installing and re-installing a few times, but now nothing > gets installed at all anymore. > > When running sudo apt-get update, I now get these errors: > > *Err http://ppa.launchpad.net quantal/main Sources 404 Not Found** > **Hit http://security.ubuntu.com quantal-security/restricted i386 Packages > ** > **Err http://ppa.launchpad.net quantal/main amd64 Packages 404 Not Found > ** > **Err http://ppa.launchpad.net quantal/main i386 Packages 404 Not Found* > * > **W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > 404 Not Found** > **W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > 404 Not Found** > **W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > 404 Not Found* > > > > I checked in a web browser, and sure enough, the "quantal" dist does not > exist: > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > It feels like it was simply removed the other day since I was able to > install PySide successfully but it's more likely that I'm stuffing up > something here. > > Can somebody please help with this? I am stuck and need to get this > running soon :( > > Cheers, > frank > > > _______________________________________________ > PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside > > > > -- > check out www.pointcloud9.com > > Sebastian Elsner - Pipeline Technical Director - RISE > > t: +49 30 20180300 florian at risefx.com > f: +49 30 61651074 www.risefx.com > > RISE FX GmbH > Schlesische Strasse 28, Aufgang B, 10997 Berlin > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > Handelsregister Berlin HRB 106667 B > > > > _______________________________________________ > PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From schampailler at skynet.be Thu Aug 29 13:34:27 2013 From: schampailler at skynet.be (S. Champailler) Date: Thu, 29 Aug 2013 13:34:27 +0200 (CEST) Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com> <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Message-ID: <1627720764.173188.1377776067733.JavaMail.open-xchange@webmail.nmp.skynet.be> In case it can give you some confidence, I can say that building from source is easy. I've done that a few times and it's just a matter of reading the explanations, running 2 or 3 scripts and waiting half an hour for the build to complete. The scripts even take care of the dependencies if i remember well. never had a problem stF > 2013/8/29 Tibold Kandrai > > > > Hey Frank, > > > > If the ppa doesn’t exist, you could try to compile it yourself or by > > manually downloading it or by installing from PyPi with: > > sudo pip install PySide > > > > There are a few dependencies you need to have installed like CMake, but > > the build will let you know what does it need. > > > > Detailed instructions how to build on linux are here > https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts > > > > > > I just had to build it myself too as for OS X there are no 1.2.1 > > > binaries available. > > > > In my case the only problem I had with it is that the Ui tools didn’t > > build, but since I’m not really using it that’s not that big of a problem > > for me, although they can be compiled by fixing the cmake files. > > > > Cheers, > > Tibold Kandrai > > > > > > From: Frank Rueter | OHUfx > > Sent: Thursday, 29 August 2013 09:09 > > To: pyside at qt-project.org > > > > Thanks for the heads up Sebastian. > > That is probably a good way to go, as I need to add os specific logic as > > well (I am in a mixed linux and osx environment). > > > > For now, I'm just trying to get the vanilla install to work again though. > > And then get my head back into PySide which I was forced to neglect for > > almost a year. > > > > Hope all is well in Berlin! > > > > Cheers, > > frank > > > > On 29/08/13 19:03, Sebastian Elsner wrote: > > > > > Hey Frank, > > > > > > I don't know about the linux part but you can keep PySide on a > > > central server, just don't add that path to you PYTHONPATH by default. > > > Nuke does not need to know about it, but in a standalone app you could > > > just do something like: > > > > > > import sys > > > sys.path.add("/server/pyside") > > > > > > and that one works again. > > > > > > The strategy I am going for here is: All standalone apps use the > > > standard (Windows) Python and standard installers for packages. > > > We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL > > > in Maya/Nuke/Houdini. The path.add method is the way I manage those to > > > dynamically "mount" (i.e. path.add) all the packages I need per host > > > program (with their own compiler version, because thats where the problem > > > comes from) > > > > > > Cheers > > > > > > Sebastian > > > > > > > > > > > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > > > > > > > Hi guys, > > > > > > > > this may be a linux problem more than a PySide problem, but > > > > after a day of searching for a solution I am a bit desperate and was > > > > hoping somebody here would be able to help: > > > > > > > > A few days ago I installed PySide on Kubuntu 12.10 without > > > > any trouble by running those commands: > > > > > > > > sudo add-apt-repository ppa:pyside > > > > sudo apt-get update > > > > sudo apt-get install python-pyside > > > > > > > > > > > > This successfully installed PySide to > > > > /usr/lib/python2.7/dist-packages/PySide > > > > > > > > I then decided to move the installed PySide folder to a > > > > central server location which is in my PYTHONPATH to be able to access > > > > the same PySide install from multiple machine (to avoid version problems > > > > etc). > > > > > > > > After that some host applications that are using PySide > > > > natively wouldn't launch any longer (PySide itself worked fine), so I > > > > decided to back paddle; I deleted all files on the server again and ran > > > > this to clean up: > > > > > > > > sudo apt - get purge python-pyside > > > > sudo apt - get autoremove > > > > > > > > > > > > Now I thought I'd be ready for a clean install again, so I > > > > started over with the above mentioned install commands. > > > > First, this only installed the binaries (.so files) into > > > > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, nothing else. > > > > So I tried un-installing and re-installing a few times, but > > > > now nothing gets installed at all anymore. > > > > > > > > When running sudo apt - get update, I now get these errors: > > > > > > > > > Err http://ppa.launchpad.net > > > > > > > > > quantal/main Sources > > > > > > > > > 404 Not Found > > > > > Hit http://security.ubuntu.com > > > > > quantal-security/restricted i386 Packages > > > > > Err http://ppa.launchpad.net > > > > > quantal/main amd64 Packages 404 Not Found > > > > > Err http://ppa.launchpad.net > > > > > quantal/main i386 Packages 404 Not Found > > > > > W: Failed to fetch > > > > > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > > > > > > > > > > 404 Not Found > > > > > W: Failed to fetch > > > > > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > > > > > > > > > > 404 Not Found > > > > > W: Failed to fetch > > > > > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > > > > > > > > > > 404 Not Found > > > > > > > > > > > > > I checked in a web browser, and sure enough, the "quantal" > > > > dist does not exist: > > > > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > > > > > > > > > > > It feels like it was simply removed the other day since I was > > > > able to install PySide successfully but it's more likely that I'm > > > > stuffing up something here. > > > > > > > > Can somebody please help with this? I am stuck and need to > > > > get this running soon :( > > > > > > > > Cheers, > > > > frank > > > > > > > > > > > > > > > > _______________________________________________ > > > > PySide mailing list > > > > PySide at qt-project.org > > > > http://lists.qt-project.org/mailman/listinfo/pyside > > > > > > > > > > > > > > > > > > > > > -- > > > check out www.pointcloud9.com > > > > > > Sebastian Elsner - Pipeline Technical Director - RISE > > > > > > t: +49 30 20180300 florian at risefx.com > > > > > > f: +49 30 61651074 www.risefx.com > > > > > > > > > RISE FX GmbH > > > Schlesische Strasse 28, Aufgang B, 10997 Berlin > > > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > > > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > > > Handelsregister Berlin HRB 106667 B > > > > > > > > > > > > _______________________________________________ > > > PySide mailing list > > > PySide at qt-project.org > > > http://lists.qt-project.org/mailman/listinfo/pyside > > > > > > > > > > > > > _______________________________________________ > > PySide mailing list > > PySide at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/pyside > > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at ohufx.com Thu Aug 29 23:20:22 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Fri, 30 Aug 2013 09:20:22 +1200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <521f1795.0e03cc0a.1789.5bbb@mx.google.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com>, <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Message-ID: <521FBB16.40502@ohufx.com> thanks Tibold, I will have a look at your suggestions. It baffles me though that I had it installed just fine a few days ago with exactly those commands, then it installed partially, now it's gone completely. I would love to get in touch with the owners of the PPA to investigate, but I can't get an email without creating an account on launchpad.net They wouldn't be lurking around here, would they (Didier, you in here)??? ;) Cheers, frank On 29/08/13 21:36, Tibold Kandrai wrote: > Hey Frank, > If the ppa doesn’t exist, you could try to compile it yourself or by > manually downloading it or by installing from PyPi with: > sudo pip install PySide > There are a few dependencies you need to have installed like CMake, > but the build will let you know what does it need. I just had to build > it myself too as for OS X there are no 1.2.1 binaries available. > In my case the only problem I had with it is that the Ui tools didn’t > build, but since I’m not really using it that’s not that big of a > problem for me, although they can be compiled by fixing the cmake files. > Cheers, > Tibold Kandrai > *From:* Frank Rueter | OHUfx > *Sent:* ‎Thursday‎, ‎29‎ ‎August‎ ‎2013 ‎09‎:‎09 > *To:* pyside at qt-project.org > Thanks for the heads up Sebastian. > That is probably a good way to go, as I need to add os specific logic > as well (I am in a mixed linux and osx environment). > > For now, I'm just trying to get the vanilla install to work again though. > And then get my head back into PySide which I was forced to neglect > for almost a year. > > Hope all is well in Berlin! > > Cheers, > frank > > On 29/08/13 19:03, Sebastian Elsner wrote: > > Hey Frank, > > I don't know about the linux part but you can keep PySide on a > central server, just don't add that path to you PYTHONPATH by > default. Nuke does not need to know about it, but in a standalone > app you could just do something like: > > import sys > sys.path.add("/server/pyside") > > and that one works again. > > The strategy I am going for here is: All standalone apps use the > standard (Windows) Python and standard installers for packages. > We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL > in Maya/Nuke/Houdini. The path.add method is the way I manage > those to dynamically "mount" (i.e. path.add) all the packages I > need per host program (with their own compiler version, because > thats where the problem comes from) > > Cheers > > Sebastian > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > > Hi guys, > > this may be a linux problem more than a PySide problem, but > after a day of searching for a solution I am a bit desperate > and was hoping somebody here would be able to help: > > A few days ago I installed PySide on Kubuntu 12.10 without any > trouble by running those commands: > > |sudo add-apt-repository ppa:pyside > sudo apt-get update > sudo apt-get install python-pyside| > > > This successfully installed PySide to > /usr/lib/python2.7/dist-packages/PySide > > I then decided to move the installed PySide folder to a > central server location which is in my PYTHONPATH to be able > to access the same PySide install from multiple machine (to > avoid version problems etc). > > After that some host applications that are using PySide > natively wouldn't launch any longer (PySide itself worked > fine), so I decided to back paddle; I deleted all files on the > server again and ran this to clean up: > | > sudo apt-get purge python-pyside| > |sudo apt-get autoremove > > | > Now I thought I'd be ready for a clean install again, so I > started over with the above mentioned install commands. > First, this only installed the binaries (.so files) into > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, > nothing else. > So I tried un-installing and re-installing a few times, but > now nothing gets installed at all anymore. > > When running |sudo apt-get update|, I now get these errors: > > /Err http://ppa.launchpad.net quantal/main Sources 404 > Not Found// > //Hit http://security.ubuntu.com > quantal-security/restricted i386 Packages// > //Err http://ppa.launchpad.net quantal/main amd64 > Packages 404 Not Found// > //Err http://ppa.launchpad.net quantal/main i386 Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > 404 Not Found/ > > > > I checked in a web browser, and sure enough, the "quantal" > dist does not exist: > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > It feels like it was simply removed the other day since I was > able to install PySide successfully but it's more likely that > I'm stuffing up something here. > > Can somebody please help with this? I am stuck and need to get > this running soon :( > > Cheers, > frank > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > > > -- > check outwww.pointcloud9.com > > Sebastian Elsner - Pipeline Technical Director - RISE > > t: +49 30 20180300florian at risefx.com > f: +49 30 61651074www.risefx.com > > RISE FX GmbH > Schlesische Strasse 28, Aufgang B, 10997 Berlin > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > Handelsregister Berlin HRB 106667 B > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at ohufx.com Thu Aug 29 23:23:08 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Fri, 30 Aug 2013 09:23:08 +1200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com> <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Message-ID: <521FBBBC.2050709@ohufx.com> thank you sir! On 29/08/13 22:24, Roman Lacko wrote: > 2013/8/29 Tibold Kandrai > > > Hey Frank, > If the ppa doesn’t exist, you could try to compile it yourself or > by manually downloading it or by installing from PyPi with: > sudo pip install PySide > There are a few dependencies you need to have installed like > CMake, but the build will let you know what does it need. > > > Detailed instructions how to build on linux are here > https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts > > I just had to build it myself too as for OS X there are no 1.2.1 > binaries available. > In my case the only problem I had with it is that the Ui tools > didn’t build, but since I’m not really using it that’s not that > big of a problem for me, although they can be compiled by fixing > the cmake files. > Cheers, > Tibold Kandrai > *From:* Frank Rueter | OHUfx > *Sent:* Thursday, 29 August 2013 09:09 > *To:* pyside at qt-project.org > Thanks for the heads up Sebastian. > That is probably a good way to go, as I need to add os specific > logic as well (I am in a mixed linux and osx environment). > > For now, I'm just trying to get the vanilla install to work again > though. > And then get my head back into PySide which I was forced to > neglect for almost a year. > > Hope all is well in Berlin! > > Cheers, > frank > > On 29/08/13 19:03, Sebastian Elsner wrote: > > Hey Frank, > > I don't know about the linux part but you can keep PySide on a > central server, just don't add that path to you PYTHONPATH by > default. Nuke does not need to know about it, but in a > standalone app you could just do something like: > > import sys > sys.path.add("/server/pyside") > > and that one works again. > > The strategy I am going for here is: All standalone apps use > the standard (Windows) Python and standard installers for > packages. > We have a lot of compiled dependencies like PyQt, ZeroMQ or > MySQL in Maya/Nuke/Houdini. The path.add method is the way I > manage those to dynamically "mount" (i.e. path.add) all the > packages I need per host program (with their own compiler > version, because thats where the problem comes from) > > Cheers > > Sebastian > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > > Hi guys, > > this may be a linux problem more than a PySide problem, > but after a day of searching for a solution I am a bit > desperate and was hoping somebody here would be able to help: > > A few days ago I installed PySide on Kubuntu 12.10 without > any trouble by running those commands: > > |sudo add-apt-repository ppa:pyside > sudo apt-get update > sudo apt-get install python-pyside| > > > This successfully installed PySide to > /usr/lib/python2.7/dist-packages/PySide > > I then decided to move the installed PySide folder to a > central server location which is in my PYTHONPATH to be > able to access the same PySide install from multiple > machine (to avoid version problems etc). > > After that some host applications that are using PySide > natively wouldn't launch any longer (PySide itself worked > fine), so I decided to back paddle; I deleted all files on > the server again and ran this to clean up: > | > sudo apt-get purge python-pyside| > |sudo apt-get autoremove > > | > Now I thought I'd be ready for a clean install again, so I > started over with the above mentioned install commands. > First, this only installed the binaries (.so files) into > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, > nothing else. > So I tried un-installing and re-installing a few times, > but now nothing gets installed at all anymore. > > When running |sudo apt-get update|, I now get these errors: > > /Err http://ppa.launchpad.net quantal/main Sources > 404 Not Found// > //Hit http://security.ubuntu.com > quantal-security/restricted i386 Packages// > //Err http://ppa.launchpad.net quantal/main amd64 > Packages 404 Not Found// > //Err http://ppa.launchpad.net quantal/main i386 > Packages 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > 404 Not Found/ > > > > I checked in a web browser, and sure enough, the "quantal" > dist does not exist: > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > It feels like it was simply removed the other day since I > was able to install PySide successfully but it's more > likely that I'm stuffing up something here. > > Can somebody please help with this? I am stuck and need to > get this running soon :( > > Cheers, > frank > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > > > -- > check outwww.pointcloud9.com > > Sebastian Elsner - Pipeline Technical Director - RISE > > t:+49 30 20180300 florian at risefx.com > f:+49 30 61651074 www.risefx.com > > RISE FX GmbH > Schlesische Strasse 28, Aufgang B, 10997 Berlin > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > Handelsregister Berlin HRB 106667 B > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at ohufx.com Thu Aug 29 23:25:04 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Fri, 30 Aug 2013 09:25:04 +1200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <1627720764.173188.1377776067733.JavaMail.open-xchange@webmail.nmp.skynet.be> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com> <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> <1627720764.173188.1377776067733.JavaMail.open-xchange@webmail.nmp.skynet.be> Message-ID: <521FBC30.4050809@ohufx.com> Cheers. I have done this before but not often, and I do tend to shy away from it if I can find an excuse :-D I will give it a go though. Still keen to understand how that dist can just vanish on me after it worked. I checked the parent folder's modified date online (the one that holds all the dists), and supposedly it hasn't been modified in 50 days or so. A mystery... Thanks everybody for your input, it's very much appreciated! frank On 29/08/13 23:34, S. Champailler wrote: > In case it can give you some confidence, I can say that building from > source is easy. I've done that a few times and it's just a matter of > reading the explanations, running 2 or 3 scripts and waiting half an > hour for the build to complete. The scripts even take care of the > dependencies if i remember well. > never had a problem > stF > > >> 2013/8/29 Tibold Kandrai > > >> >> Hey Frank, >> If the ppa doesn't exist, you could try to compile it yourself or >> by manually downloading it or by installing from PyPi with: >> sudo pip install PySide >> There are a few dependencies you need to have installed like >> CMake, but the build will let you know what does it need. >> >> >> Detailed instructions how to build on linux are here >> https://pypi.python.org/pypi/PySide#building-pyside-on-a-unix-system-ubuntu-12-04-lts >> >> >> I just had to build it myself too as for OS X there are no 1.2.1 >> binaries available. >> In my case the only problem I had with it is that the Ui tools >> didn't build, but since I'm not really using it that's not that >> big of a problem for me, although they can be compiled by fixing >> the cmake files. >> Cheers, >> Tibold Kandrai >> *From:* Frank Rueter | OHUfx >> *Sent:* Thursday, 29 August 2013 09:09 >> *To:* pyside at qt-project.org >> Thanks for the heads up Sebastian. >> That is probably a good way to go, as I need to add os specific >> logic as well (I am in a mixed linux and osx environment). >> >> For now, I'm just trying to get the vanilla install to work again >> though. >> And then get my head back into PySide which I was forced to >> neglect for almost a year. >> >> Hope all is well in Berlin! >> >> Cheers, >> frank >> >> On 29/08/13 19:03, Sebastian Elsner wrote: >> >> Hey Frank, >> >> I don't know about the linux part but you can keep PySide on >> a central server, just don't add that path to you PYTHONPATH >> by default. Nuke does not need to know about it, but in a >> standalone app you could just do something like: >> >> import sys >> sys.path.add("/server/pyside") >> >> and that one works again. >> >> The strategy I am going for here is: All standalone apps use >> the standard (Windows) Python and standard installers for >> packages. >> We have a lot of compiled dependencies like PyQt, ZeroMQ or >> MySQL in Maya/Nuke/Houdini. The path.add method is the way I >> manage those to dynamically "mount" (i.e. path.add) all the >> packages I need per host program (with their own compiler >> version, because thats where the problem comes from) >> >> Cheers >> >> Sebastian >> >> >> >> >> placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: >> >> Hi guys, >> >> this may be a linux problem more than a PySide problem, >> but after a day of searching for a solution I am a bit >> desperate and was hoping somebody here would be able to >> help: >> >> A few days ago I installed PySide on Kubuntu 12.10 >> without any trouble by running those commands: >> >> sudo add-apt-repository ppa:pyside >> sudo apt-get update >> sudo apt-get install python-pyside >> >> >> This successfully installed PySide to >> /usr/lib/python2.7/dist-packages/PySide >> >> I then decided to move the installed PySide folder to a >> central server location which is in my PYTHONPATH to be >> able to access the same PySide install from multiple >> machine (to avoid version problems etc). >> >> After that some host applications that are using PySide >> natively wouldn't launch any longer (PySide itself worked >> fine), so I decided to back paddle; I deleted all files >> on the server again and ran this to clean up: >> >> sudo apt - get purge python-pyside >> sudo apt - get autoremove >> >> >> Now I thought I'd be ready for a clean install again, so >> I started over with the above mentioned install commands. >> First, this only installed the binaries (.so files) into >> /usr/lib/python2.7/dist-packages/PySide, no __init__.py, >> nothing else. >> So I tried un-installing and re-installing a few times, >> but now nothing gets installed at all anymore. >> >> When running sudo apt - get update, I now get these errors: >> >> /Err http://ppa.launchpad.net quantal/main Sources >> 404 Not Found/ / >> / /Hit http://security.ubuntu.com >> quantal-security/restricted i386 Packages/ / >> / /Err http://ppa.launchpad.net quantal/main amd64 >> Packages 404 Not Found/ / >> / /Err http://ppa.launchpad.net quantal/main i386 >> Packages 404 Not Found/ / >> / /W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources >> 404 Not Found/ / >> / /W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages >> 404 Not Found/ / >> / /W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages >> 404 Not Found/ >> >> >> >> I checked in a web browser, and sure enough, the >> "quantal" dist does not exist: >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ >> >> It feels like it was simply removed the other day since I >> was able to install PySide successfully but it's more >> likely that I'm stuffing up something here. >> >> Can somebody please help with this? I am stuck and need >> to get this running soon :( >> >> Cheers, >> frank >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> >> >> -- >> check outwww.pointcloud9.com >> >> Sebastian Elsner - Pipeline Technical Director - RISE >> >> t:+49 30 20180300 florian at risefx.com >> f:+49 30 61651074 www.risefx.com >> >> RISE FX GmbH >> Schlesische Strasse 28, Aufgang B, 10997 Berlin >> c/o action concept, An der Hasenkaule 1-7, 50354 Hürth >> Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow >> Handelsregister Berlin HRB 106667 B >> >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -------------- next part -------------- An HTML attachment was scrubbed... URL: From thoromyr at mac.com Fri Aug 30 00:58:08 2013 From: thoromyr at mac.com (Tim Doty) Date: Thu, 29 Aug 2013 17:58:08 -0500 Subject: [PySide] PySide and OpenGL Message-ID: I'm working on a pyside application that will use OpenGL to display a mesh. I'm new to OpenGL, but there are a variety of tutorials online to help with that. However, there's precious little dealing with PySide. I can make things "work" by putting the mesh information in the paintGL() function, but that seems very ugly and likely to be slow -- particularly with a real mesh of several thousand (or many more) polygons. It looked like glGenLists was the solution to the problem, but using it results in an error. Specifically, the code between glBegin() and glEnd() that works in the paintGL() function causes an error* when called elsewhere. If the code is called in __init__() or initializeGL() (in either case as the final call in the function) an error occurs at glEnd() and the list is never populated so nothing is drawn. I'm missing something, obviously. The error is as follows and I've attached the (somewhat) minimal file that demonstrates the problem. -------------- next part -------------- A non-text attachment was scrubbed... Name: reduced.py Type: text/x-python-script Size: 4379 bytes Desc: not available URL: -------------- next part -------------- Traceback (most recent call last): File "./reduced.py", line 68, in initializeGL self.mesh = self.makeObject() File "./reduced.py", line 106, in makeObject glEnd() File "/Library/Python/2.7/site-packages/OpenGL/latebind.py", line 61, in __call__ return self.wrapperFunction( self.baseFunction, *args, **named ) File "/Library/Python/2.7/site-packages/OpenGL/GL/exceptional.py", line 57, in glEnd return baseFunction( ) File "/Library/Python/2.7/site-packages/OpenGL/error.py", line 208, in glCheckError baseOperation = baseOperation, OpenGL.error.GLError: GLError( err = 1286, description = 'invalid framebuffer operation', baseOperation = glEnd, cArguments = () ) From frank at ohufx.com Fri Aug 30 01:43:19 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Fri, 30 Aug 2013 11:43:19 +1200 Subject: [PySide] help: can't install Pyside on linux anymore In-Reply-To: <521f1795.0e03cc0a.1789.5bbb@mx.google.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com>, <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> Message-ID: <521FDC97.90103@ohufx.com> So I followed those instructions to compile PySide myself. All seemed to go through fine and installed it here: /usr/local/lib/python2.7/dist-packages/PySide-1.2.1-py2.7.egg/PySide I can import PySide ok, but when I now try to import PySide.QtGui I get this error: from PySide.QtGui import * Traceback (most recent call last): File "/ohufx/pipeline/tools/python/PublishPanel/PublishPanel.py", line 2, in ImportError: libpyside-python2.7.so.1.2: cannot open shared object file: No such file or directory Is that what your problem was? I didn't catch any errors when it was compiling. Is there a log that I can check after the fact? Thanks! frank On 29/08/13 21:36, Tibold Kandrai wrote: > Hey Frank, > If the ppa doesn’t exist, you could try to compile it yourself or by > manually downloading it or by installing from PyPi with: > sudo pip install PySide > There are a few dependencies you need to have installed like CMake, > but the build will let you know what does it need. I just had to build > it myself too as for OS X there are no 1.2.1 binaries available. > In my case the only problem I had with it is that the Ui tools didn’t > build, but since I’m not really using it that’s not that big of a > problem for me, although they can be compiled by fixing the cmake files. > Cheers, > Tibold Kandrai > *From:* Frank Rueter | OHUfx > *Sent:* ‎Thursday‎, ‎29‎ ‎August‎ ‎2013 ‎09‎:‎09 > *To:* pyside at qt-project.org > Thanks for the heads up Sebastian. > That is probably a good way to go, as I need to add os specific logic > as well (I am in a mixed linux and osx environment). > > For now, I'm just trying to get the vanilla install to work again though. > And then get my head back into PySide which I was forced to neglect > for almost a year. > > Hope all is well in Berlin! > > Cheers, > frank > > On 29/08/13 19:03, Sebastian Elsner wrote: > > Hey Frank, > > I don't know about the linux part but you can keep PySide on a > central server, just don't add that path to you PYTHONPATH by > default. Nuke does not need to know about it, but in a standalone > app you could just do something like: > > import sys > sys.path.add("/server/pyside") > > and that one works again. > > The strategy I am going for here is: All standalone apps use the > standard (Windows) Python and standard installers for packages. > We have a lot of compiled dependencies like PyQt, ZeroMQ or MySQL > in Maya/Nuke/Houdini. The path.add method is the way I manage > those to dynamically "mount" (i.e. path.add) all the packages I > need per host program (with their own compiler version, because > thats where the problem comes from) > > Cheers > > Sebastian > > > > > placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: > > Hi guys, > > this may be a linux problem more than a PySide problem, but > after a day of searching for a solution I am a bit desperate > and was hoping somebody here would be able to help: > > A few days ago I installed PySide on Kubuntu 12.10 without any > trouble by running those commands: > > |sudo add-apt-repository ppa:pyside > sudo apt-get update > sudo apt-get install python-pyside| > > > This successfully installed PySide to > /usr/lib/python2.7/dist-packages/PySide > > I then decided to move the installed PySide folder to a > central server location which is in my PYTHONPATH to be able > to access the same PySide install from multiple machine (to > avoid version problems etc). > > After that some host applications that are using PySide > natively wouldn't launch any longer (PySide itself worked > fine), so I decided to back paddle; I deleted all files on the > server again and ran this to clean up: > | > sudo apt-get purge python-pyside| > |sudo apt-get autoremove > > | > Now I thought I'd be ready for a clean install again, so I > started over with the above mentioned install commands. > First, this only installed the binaries (.so files) into > /usr/lib/python2.7/dist-packages/PySide, no __init__.py, > nothing else. > So I tried un-installing and re-installing a few times, but > now nothing gets installed at all anymore. > > When running |sudo apt-get update|, I now get these errors: > > /Err http://ppa.launchpad.net quantal/main Sources 404 > Not Found// > //Hit http://security.ubuntu.com > quantal-security/restricted i386 Packages// > //Err http://ppa.launchpad.net quantal/main amd64 > Packages 404 Not Found// > //Err http://ppa.launchpad.net quantal/main i386 Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages > 404 Not Found// > //W: Failed to fetch > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages > 404 Not Found/ > > > > I checked in a web browser, and sure enough, the "quantal" > dist does not exist: > http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ > > It feels like it was simply removed the other day since I was > able to install PySide successfully but it's more likely that > I'm stuffing up something here. > > Can somebody please help with this? I am stuck and need to get > this running soon :( > > Cheers, > frank > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > > > -- > check outwww.pointcloud9.com > > Sebastian Elsner - Pipeline Technical Director - RISE > > t: +49 30 20180300florian at risefx.com > f: +49 30 61651074www.risefx.com > > RISE FX GmbH > Schlesische Strasse 28, Aufgang B, 10997 Berlin > c/o action concept, An der Hasenkaule 1-7, 50354 Hürth > Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow > Handelsregister Berlin HRB 106667 B > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at ohufx.com Fri Aug 30 03:34:50 2013 From: frank at ohufx.com (Frank Rueter | OHUfx) Date: Fri, 30 Aug 2013 13:34:50 +1200 Subject: [PySide] help: can't install Pyside on linux anymore - SOLVED In-Reply-To: <521FDC97.90103@ohufx.com> References: <521EE899.4060401@ohufx.com> <521EF249.3040003@risefx.com>, <521EF390.6090904@ohufx.com> <521f1795.0e03cc0a.1789.5bbb@mx.google.com> <521FDC97.90103@ohufx.com> Message-ID: <521FF6BA.2070903@ohufx.com> Sorry for the noise. I had forgotten to run the post install script. After that everything seems to be working fine now. Thanks for baring with me everyone! frank On 30/08/13 11:43, Frank Rueter | OHUfx wrote: > So I followed those instructions to compile PySide myself. All seemed > to go through fine and installed it here: > > /usr/local/lib/python2.7/dist-packages/PySide-1.2.1-py2.7.egg/PySide > > I can import PySide ok, but when I now try to import PySide.QtGui I > get this error: > > from PySide.QtGui import * > Traceback (most recent call last): > File "/ohufx/pipeline/tools/python/PublishPanel/PublishPanel.py", > line 2, in > ImportError: libpyside-python2.7.so.1.2: cannot open shared object > file: No such file or directory > > > Is that what your problem was? > I didn't catch any errors when it was compiling. Is there a log that I > can check after the fact? > > Thanks! > frank > > > On 29/08/13 21:36, Tibold Kandrai wrote: >> Hey Frank, >> If the ppa doesn't exist, you could try to compile it yourself or by >> manually downloading it or by installing from PyPi with: >> sudo pip install PySide >> There are a few dependencies you need to have installed like CMake, >> but the build will let you know what does it need. I just had to >> build it myself too as for OS X there are no 1.2.1 binaries available. >> In my case the only problem I had with it is that the Ui tools didn't >> build, but since I'm not really using it that's not that big of a >> problem for me, although they can be compiled by fixing the cmake files. >> Cheers, >> Tibold Kandrai >> *From:* Frank Rueter | OHUfx >> *Sent:* ?Thursday?, ?29? ?August? ?2013 ?09?:?09 >> *To:* pyside at qt-project.org >> Thanks for the heads up Sebastian. >> That is probably a good way to go, as I need to add os specific logic >> as well (I am in a mixed linux and osx environment). >> >> For now, I'm just trying to get the vanilla install to work again though. >> And then get my head back into PySide which I was forced to neglect >> for almost a year. >> >> Hope all is well in Berlin! >> >> Cheers, >> frank >> >> On 29/08/13 19:03, Sebastian Elsner wrote: >> >> Hey Frank, >> >> I don't know about the linux part but you can keep PySide on a >> central server, just don't add that path to you PYTHONPATH by >> default. Nuke does not need to know about it, but in a standalone >> app you could just do something like: >> >> import sys >> sys.path.add("/server/pyside") >> >> and that one works again. >> >> The strategy I am going for here is: All standalone apps use the >> standard (Windows) Python and standard installers for packages. >> We have a lot of compiled dependencies like PyQt, ZeroMQ or >> MySQL in Maya/Nuke/Houdini. The path.add method is the way I >> manage those to dynamically "mount" (i.e. path.add) all the >> packages I need per host program (with their own compiler >> version, because thats where the problem comes from) >> >> Cheers >> >> Sebastian >> >> >> >> >> placeOn 08/29/2013 08:22 AM, Frank Rueter | OHUfx wrote: >> >> Hi guys, >> >> this may be a linux problem more than a PySide problem, but >> after a day of searching for a solution I am a bit desperate >> and was hoping somebody here would be able to help: >> >> A few days ago I installed PySide on Kubuntu 12.10 without >> any trouble by running those commands: >> >> |sudo add-apt-repository ppa:pyside >> sudo apt-get update >> sudo apt-get install python-pyside| >> >> >> This successfully installed PySide to >> /usr/lib/python2.7/dist-packages/PySide >> >> I then decided to move the installed PySide folder to a >> central server location which is in my PYTHONPATH to be able >> to access the same PySide install from multiple machine (to >> avoid version problems etc). >> >> After that some host applications that are using PySide >> natively wouldn't launch any longer (PySide itself worked >> fine), so I decided to back paddle; I deleted all files on >> the server again and ran this to clean up: >> | >> sudo apt-get purge python-pyside| >> |sudo apt-get autoremove >> >> | >> Now I thought I'd be ready for a clean install again, so I >> started over with the above mentioned install commands. >> First, this only installed the binaries (.so files) into >> /usr/lib/python2.7/dist-packages/PySide, no __init__.py, >> nothing else. >> So I tried un-installing and re-installing a few times, but >> now nothing gets installed at all anymore. >> >> When running |sudo apt-get update|, I now get these errors: >> >> /Err http://ppa.launchpad.net quantal/main Sources 404 >> Not Found// >> //Hit http://security.ubuntu.com >> quantal-security/restricted i386 Packages// >> //Err http://ppa.launchpad.net quantal/main amd64 >> Packages 404 Not Found// >> //Err http://ppa.launchpad.net quantal/main i386 >> Packages 404 Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/source/Sources >> 404 Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages >> 404 Not Found// >> //W: Failed to fetch >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/quantal/main/binary-i386/Packages >> 404 Not Found/ >> >> >> >> I checked in a web browser, and sure enough, the "quantal" >> dist does not exist: >> http://ppa.launchpad.net/pyside/ppa/ubuntu/dists/ >> >> It feels like it was simply removed the other day since I was >> able to install PySide successfully but it's more likely that >> I'm stuffing up something here. >> >> Can somebody please help with this? I am stuck and need to >> get this running soon :( >> >> Cheers, >> frank >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> >> >> -- >> check outwww.pointcloud9.com >> >> Sebastian Elsner - Pipeline Technical Director - RISE >> >> t: +49 30 20180300florian at risefx.com >> f: +49 30 61651074www.risefx.com >> >> RISE FX GmbH >> Schlesische Strasse 28, Aufgang B, 10997 Berlin >> c/o action concept, An der Hasenkaule 1-7, 50354 Hürth >> Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow >> Handelsregister Berlin HRB 106667 B >> >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -------------- next part -------------- An HTML attachment was scrubbed... URL: