Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7

2014-02-27 Thread Camilo Andrés Jimenez Cruz
I was trying to avoid compiling pymol in windows. Is there any way to
filter this at a python level? I tried tinkering with the skin text
element, but pymol would freeze


-- Camilo Jiménez


On Wed, Feb 19, 2014 at 12:07 PM, mathog  wrote:

> This patch quiets that warning.  It does nothing about the cause of the
> warning (there is a TODO
> in ortho.c, presumably when it gets done, the warning would go away).
>
> > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8
> --- layer1/Ortho.c.dist 2014-02-19 08:54:36 -0800
> +++ layer1/Ortho.c  2014-02-19 08:57:03 -0800
> @@ -203,11 +203,13 @@
>   #ifndef _PYMOL_GL_DRAWARRAYS
>/* NEED TODO FOR _PYMOL_GL_DRAWARRAYS */
>   glDrawBuffer(mode);
> +#ifdef ANNOYING_WARNINGS_ENABLE
>   if(glGetError()) {
> PRINTFB(G, FB_OpenGL, FB_Warnings)
>   " WARNING: glDrawBuffer caused GL error\n" ENDFB(G);
>   }
>   #endif
> +#endif
>   I->ActiveGLBuffer = mode;
> }
>   }
>
> > 8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8>8
>
> Once the patch is applied this warning remains
>
> ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns
> err=1282
>
> This warning shows up about 7 times when I start PyMol and load one PDB
> file.
>
> Regards,
>
> David Mathog
>
> On 18-Feb-2014 17:59, Camilo Andrés Jimenez Cruz wrote:
> > I downloaded it from the link here
> > http://www.pymolwiki.org/index.php/Windows_Install
> >
> >
> > -- Camilo Jiménez
> >
> >
> > On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski
> > wrote:
> >
> >> Hi Camilo.
> >>
> >> I've got the same error! But it seems, there's no simple solution for
> >> this. Where do you have your PyMOL from?
> >>
> >> Cheers
> >> Pawel
> >>
> >>
> >> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz <
> >> camilo.jimen...@gmail.com>:
> >>
> >>> Hi everybody
> >>>
> >>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I
> >>> have
> >>> tested it works well, but the console (as in the screen that the GL
> >>> window
> >>> shows when I press escape) and the main window keep constantly
> >>> showing the
> >>> message
> >>>
> >>>  WARNING: glDrawBuffer caused GL error
> >>>
> >>> which is annoying because I can't see the help or any other output to
> >>> there.
> >>>
> >>> Any ideas on how to tackle this?
> >>>
> >>> Thanks
> >>>
> >>> -- Camilo Jiménez
> >>>
> >>>
> >>>
> --
> >>> Managing the Performance of Cloud-Based Applications
> >>> Take advantage of what the Cloud has to offer - Avoid Common
> >>> Pitfalls.
> >>> Read the Whitepaper.
> >>>
> >>>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> >>> ___
> >>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> >>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> >>> Archives:
> >>> http://www.mail-archive.com/pymol-users@lists.sourceforge.net
> >>>
> >>
> >>
> >
> >
> --
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> >
> > ___
> > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] Change the log-level / filter output to the console

2014-02-20 Thread Camilo Andrés Jimenez Cruz
Hi all

my windows installation of pymol keeps showing the WARNING: glDrawBuffer
caused GL error on windows 7
in the console

I asked here in the list and apparently there is no easy fix, and I need to
recompile pymol. I am avoiding the recompilation, so I tried tampering with
the PWM text widget, modifying the 'insert' function with no luck.

Is there any way I can forbid this warning from appearing in my console?

thanks
-- Camilo Jiménez
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Re: [PyMOL] WARNING: glDrawBuffer caused GL error on windows 7

2014-02-18 Thread Camilo Andrés Jimenez Cruz
I downloaded it from the link here
http://www.pymolwiki.org/index.php/Windows_Install


-- Camilo Jiménez


On Tue, Feb 18, 2014 at 2:17 PM, Paweł Tomaszewski wrote:

> Hi Camilo.
>
> I've got the same error! But it seems, there's no simple solution for
> this. Where do you have your PyMOL from?
>
> Cheers
> Pawel
>
>
> 2014-02-18 2:08 GMT+01:00 Camilo Andrés Jimenez Cruz <
> camilo.jimen...@gmail.com>:
>
>> Hi everybody
>>
>> I installed pymol 1.6.x unofficial in windows 7 home. As far as I have
>> tested it works well, but the console (as in the screen that the GL window
>> shows when I press escape) and the main window keep constantly showing the
>> message
>>
>>  WARNING: glDrawBuffer caused GL error
>>
>> which is annoying because I can't see the help or any other output to
>> there.
>>
>> Any ideas on how to tackle this?
>>
>> Thanks
>>
>> -- Camilo Jiménez
>>
>>
>> --
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>> ___
>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>>
>
>
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] WARNING: glDrawBuffer caused GL error on windows 7

2014-02-17 Thread Camilo Andrés Jimenez Cruz
Hi everybody

I installed pymol 1.6.x unofficial in windows 7 home. As far as I have
tested it works well, but the console (as in the screen that the GL window
shows when I press escape) and the main window keep constantly showing the
message

 WARNING: glDrawBuffer caused GL error

which is annoying because I can't see the help or any other output to there.

Any ideas on how to tackle this?

Thanks

-- Camilo Jiménez
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

[PyMOL] Howto fake mouse events in pymol

2013-03-31 Thread Camilo Andrés Jimenez Cruz
Hi all.

I am wondering if it is possible to fake mouse events in pymol. I would
like to be able to simulate a click/drag in a specific position of the
viewport. Thanks!

-- Camilo Jiménez
--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Re: [PyMOL] Install pymol on OSX easier than ever

2013-02-12 Thread Camilo Andrés Jimenez Cruz
Hi all

This option to install pymol is great!. However, I tried to install it in
my 10.8.2 with xquartz intalled and it was crashing.

For it to run well, you need to enable threads, do:

brew uninstall tcl
brew uninstall tk
brew uninstall python
brew install tk  --enable-threads
brew install tcl  --enable-threads
brew install python --with-brewed-tk



-- Camilo Jiménez


On Tue, Feb 12, 2013 at 10:22 AM, Derek Ashley Thomas <
derekatho...@gmail.com> wrote:

>  Dear all,
>
> We just got pymol into the popular package manager for OSX, homebrew. To
> install pymol on with brew, just run the following two commands ("%" stands
> for the shell prompt and should not be typed in:
>
> % brew tap homebrew/science
> % brew install pymol
>
> That's it, you should be on your way to using pymol soon after the
> installation finishes.
>
> Also, this installation switches the stereo/mono graphics paradigm. Recent
> builds of OSX with intel chips seem to crash with stereo graphics.
> Therefore, pymol defaults assumes the "-M" flag has been passed to it. You
> can switch to stereo graphics (if you know it won't crash your computer)
> with the "-S" flag. Alternatively, you can install pymol with original
> stereo graphics on as default by installing with brew install pymol
> --default-stereo
>
> Hope this helps bring pymol to more people!
>
> Best Regards,
> Derek Thomas
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net