Slackware :: PyGTK 2.4 / Warnings Generated When Using Matplotlib (though Execution Can Continue)?

Mar 28, 2011

Is there any reason why PyGTK is still at 2.22?

There are warnings generated when using Matplotlib (though execution can continue).

Will we likely see an upgrade before 13.37?

View 2 Replies


ADVERTISEMENT

Programming :: Continue Execution Of A Python Program While A Background Task Is Going On?

Aug 28, 2010

I'm trying to figure out how to continue execution of a Python program while a background task is going on.

In bash, it is adding "&" to the end as in:

Code:
#! /bin/bash
find / -iname "*.py" > /tmp/all_pys &
echo "looking for all python scripts and putting them in /tmp/all_pys"
(yes, I know I could just put the echo BEFORE the find but I just use it for example)

Say I do that in python (not necessarily running the shell, but perhaps using scriptutil.ffind or something similar), but want to allow the user to be doing something else while running that search in the background, how would I thread, fork, subprocess (not to be confused with the module and Popen) [or whatever I should call it] that?

View 14 Replies View Related

Slackware :: Pygtk With Numeric Python Support?

Feb 14, 2011

I have tried rebuilding pygtk after installing Numpy and ended up making a mess of python. I have it back to functional now, but I would like to know how to properly add numeric python support. I suspect there is a proper order to building all of the python dependencies that yields success. Ultimately I am trying to run mypaint.

View 3 Replies View Related

Slackware :: Cdrecord And Some Of Its Warnings

Nov 4, 2010

kernel 2.6.21.5, Slackware 12.0 cdrecord 2.01

Code:

This is the command line I used to run cdrecord. Afterwards, I ran 'cdrecord -media-info' on the same disc and, as a result, I got the messages contained in the file I am adjoining. There, two consecutive warnings can be seen, which I quote:

Quote:

The disk, after recording, however, is both readable by GNU/linux and another O.S. What is the meaning of those warnings and what are its possible implications? I would like to know.

View 11 Replies View Related

Slackware :: Compat32pkg - .conf.new Warnings ?

Feb 28, 2011

I am just now doing the 'final' few tweeks on my new x86_64 Laptop running multilib-enabled Slackware Current and as part of the process, I installed compat32pkg and ran:

Code:

Next, to test compat32pkg, I ran:

Code:

The compat32pkg script seemed to do the 'right thing', placing the three Slackware Packages in the /var/cache/compat32pkg/compat-32/ directory as it was configured to do:

Code:

Note the warnings about 'etc/gtk-2.0/i486-slackware-linux/im-multipress.conf.new' ...

Is there a missing file in the SlackPkg ?

Code:

View 2 Replies View Related

Slackware :: Warnings With Pdftk SlackBuild?

Jan 7, 2010

I got these warnings, on Slackware64 13.0, so I aborted the build:

Code:
gcj -O2 -fPIC -w --encoding=UTF-8 --classpath="/tmp/SBo/pdftk-1.41/java_libs" -c Anchor.java -o Anchor.o
GC Warning: Repeated allocation of very large block (appr. size 2097152000):

[code]....

View 3 Replies View Related

Slackware :: 64 13.37: 70-persistent-cd.rules Not Automatically Generated?

Jun 4, 2011

And it was under Slackware64 13.0 and 13.1.Due to other issues with the 13.1 to 13.37 upgrade, I ended up performing a clean install so I don't think that this is due to leftover cruft.

View 4 Replies View Related

Slackware :: Error: Could Not Find The GnomeConf.sh File That Is Generated By Gnome-libs Install

Apr 13, 2010

Today i download cheops source code and when i type ./configure returns me this error :

Quote:
checking for gnome-config... no checking for gnomeConf.sh file in /usr/local/lib... not found configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install Is there any way to install cheops in KDE ? Do you know any solution for this problem ?

View 9 Replies View Related

Slackware :: Startx--insconsistent Execution, Except As Root?

Jun 30, 2010

Whenever I try to run startx as a regular user it sometimes executes and at other times it fails. I have to manually restart my machine. When it does execute, the window manager loads, but eventually freezes, and again, I have to reboot.

View 14 Replies View Related

Slackware :: Push The Backspace To Continue To Complete The Path?

Apr 9, 2011

has anyone the same problem with bash in -current? Everytime I use the commandline completition with TAB , it adds me a space, so I always need to push the backspace to continue to complete the path.So the whole thng get's a bit unuseable.I'm using bash-4.1.010-486-1 and bash-completition-1.3-noarch

View 4 Replies View Related

Slackware :: Slackware64 /usr/lib /usr/lib64 / Continue Patching All These Makefiles That Have Libdir=/usr/lib Hard Coded To Keep A Sane System?

May 21, 2009

I've never used a 64bit system set up this way. They've been pure 64bit with everything simply in /usr/lib with no /usr/lib64. IIRC That's how Arch used to do it.

My question is, should I continue patching all these makefiles that have libdir=/usr/lib hard coded to keep a sane system? What are the side effects of not putting all the libs in /usr/lib64? These are for the sources that don't use or follow --libdir= and LDFLAGS="-L/usr/lib64".

Can I rm -rf /usr/lib then ln -s /usr/lib64 /usr/lib and still have things work. There are a couple of files in /usr/lib now {codecs/ crda/ libsyslinux.a rpm/ sendmail siconv/ syslinux/ terminfo/ trn/} which came from a stock install.

There are not any 32bit programs I need to run. If I did, that's what KVM is for

PS. I want some Slackware64 Swag!

View 14 Replies View Related

OpenSUSE :: Install Matplotlib In 11.4?

Aug 7, 2011

How to install matplotlib in opensuse 11.4?

I am getting error "Nothing provides libpython2.6.so.1.0 needed by python-matplotlib-1.0.1-24.2.i586"

View 5 Replies View Related

Ubuntu :: Install The Python-matplotlib Package?

Mar 12, 2010

I am trying to install the python-matplotlib package but I get E:broken packages. I have tried the apt-get -f install, apt-get update, apt-get clean all in various permutations but it doesnt solve the problem.I also tried uninstalling the dependednt packages and then reinstalling them but that doesnt work either.

root@ubuntu:~# apt-get install python-matplotlib
Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

[Code]...

View 3 Replies View Related

Debian Programming :: Python - Unable To Install Matplotlib

Jul 16, 2015

I am unable to install matplotlib. I already have installed latest libfreetype and libfreetype-dev.But it still errors out on freetype, I am running Debian testing on my machine. Python is latest 3.5.b3 compiled from source and in virtual env , running the command :

pip install matplotlib

...... freetype: no [Requires freetype2 2.3 or later. Found ...] png: yes [version 1.2.50] ..... .....

* The following required packages can not be built: * freetype ....

Full error log here: [URL]....

I do not understand why requirement is not marked for compilation even though found.

View 5 Replies View Related

CentOS 5 :: How To Install PyGTK 2.12

Dec 18, 2010

Does anyone know how to install pyGTK 2.12?

View 4 Replies View Related

Ubuntu :: PyGTK Apps Don't Work?

Sep 13, 2010

I am having a strange problem. No python application that is built on GTK doesn't works. I always get the error ''could not import module,module not found''. I f i try to install it it says its already installed, and if i try to remove python and reinstall it it will take all python apps with it. DO you know how can i fix this?

View 2 Replies View Related

Ubuntu :: Pygtk Window Above Notification Area?

Feb 1, 2011

I have a volume control program I am writing for oss. Everything works in the program but I would like window to appear above the notification area icon. Is there a way to do this? If not is it possible to have the window open at the mouse location so it looks like it is part of the notification icon?

View 1 Replies View Related

Programming :: Automatically Scrolling Text Box In PyGTK?

Jan 4, 2010

I am playing around with PyGTK and come across a problem: When I put a TextView inside a ScrolledWindow, and type text into the TextView until it reaches the edge, the cursor goes outside the viewport and I can't see what I'm typing. How to make it so that the ScrolledWindow automatically scrolls so that the caret in the TextView is always in visible?

View 5 Replies View Related

Programming :: Create PyGTK Gnome Screensaver?

Dec 15, 2010

I have created a PyGTK app (a binary clock) that I would like to turn into a screensaver. I added the .desktop file to /usr/share/applications/screensavers/ but all I get when I select it is a black screen. On the GnomeScreensaver FAQ (here) it says to use a gsthemewindow as the toplevel window, but the libraries given are in C. Is there any way to:Import this C library to get access to this toplevel window, Convert this GTK+ C library to PyGTK, or use a pygtk app as a screensaver in some other way?

View 3 Replies View Related

CentOS 5 :: Meld No Module Named Pygtk?

Feb 16, 2011

Started getting this middle last year and was hoping it'd just go away or fix itself or something. Alas, no such luck.

$ meld
No module named pygtk
Meld requires pygtk2.6.0 or higher.
$

View 5 Replies View Related

Debian Programming :: Implementing PyGtk For Python 3.3 In Wheezy

Sep 12, 2013

I run Wheezy Xfce 64-bit. I went through the Synaptic listings and added Python 3.3.2 and Tkinter for it, and that works fine; but for some reason PyGtk is available only for Python 2.7, not for Python 3.3, unless I'm just using the wrong way to try to find it. Is there a PyGtk available for Python 3.3 in Wheezy, and, if so, how do I install it and then import it once it's installed?

View 1 Replies View Related

Ubuntu :: How To Make Window Drag'n'Drop In PyGTK

Jul 24, 2010

How would you make a window drag'n'drop? I have hidden the title bar using:
Code: self.window.set_decorated(False)
But I still want this window to be moveable, by clicking and dragging anywhere within the window. I would rather just use pyGTK, but Xlib is fine with me as well.

View 5 Replies View Related

Software :: Build Pygtk With Non System Default Python?

Apr 13, 2011

I'm on Debian Lenny. I've built and installed python-3.2 in /opt/python-3.2. Then i want to build and install pygtk, pycairo with /opt/python-3.2 and install them in that folder and not to use system default python (which is python-2.6) for their build process.

How do I tell pygtk and pycairo 's configure and makefile script to use /opt/python-3.2 's interpreter, include file and library for their build process(and not the system default python)?

I tried doing ./configure --help in pygtk folder but there was no option for specific non-system default python's folder location. Anyone has any ideas?

View 3 Replies View Related

Software :: Pygtk - Updating Status Bar During Long Operation?

Mar 28, 2011

I'm trying to write a gui front-end for fsarchiver using pygtk. It mostly works, but I'd like to update the front-end's status bar while fsarchiver is running. I've placed the code for the actual call to fsarchiver in one thread, and the code to update the status bar in another thread as shown below. Messages from show_progress() get printed in the terminal window, as expected. I've tried adding

Code:
while gtk.events_pending():
gtk.main_iteration_do(False)

but obviously, I'm not doing it correctly because the status bar text does not update. Is what I'm trying to do possible, and, if so, how should it be coded?

Here's the code snippet from my calling routine:

Code:
self.activethreads=2
thread.start_new_thread(self.do_fsarchive, (my_cmd,))
print "start 2nd thread now
"
thread.start_new_thread(self.show_progress,(10,status_text))
And here are the two functions:
code....

View 7 Replies View Related

CentOS 5 :: Missing Pygtk Package While Installing Dropbox?

Oct 8, 2010

I'm trying to install the nautilus-dropbox plugin for dropbox on my CentOS 5.5; while configuring, there is the following error message:

checking pkg-config is at least version 0.9.0... yes
checking for NAUTILUS... yes
checking for GLIB... yes
checking for python... /usr/bin/python

[code]....

But I think I have already installed pygtk2, as shown by yum:

Installed Packages
pygtk2.x86_64 2.10.1-12.el5 installed
pygtk2-codegen.x86_64 2.10.1-12.el5 installed

[code]....

So does the error message means that it requires pygtk rather than pygtk2?

View 5 Replies View Related

Programming :: PyGTK: Can't Seem To Launch Program - Gobject.spawn_async Command

Jul 20, 2010

I need to launch a program, throw up a pulsing status bar and then close it when the program quits. I cannot seem to launch the program (a bash script):

[code]...

This is where I'm getting my information: [URL]...

View 1 Replies View Related

Programming :: PyGTK: Send Output From A File Descriptor To A Textview?

Jul 22, 2010

Within PyGTK I'm using gobject.spawn_async to launch a bash script. I would like the output of that bash script to be displayed within my application. I have a textview set up to receive the text ...

Here are the commands that launch the program:

Code:
def run_command(command):
global keep_pulsing
keep_pulsing=True
(cpid, cstdin, cstdout, cstderr) = gobject.spawn_async(command,flags=gobject.SPAWN_DO_NOT_REAP_CHILD|gobject.SPAWN_STDERR_TO_DEV_NULL,standard_code....

Here are the two callback functions. But like I say ... I have no idea how to get that data from the 'cstdout' file descriptor into a textbuffer.

Code:
### THE FOLLOWING ARE GLOBALS:
textview = wTree.get_widget('textview1')
textbuffer=textview.get_buffer()
def update_textview_callback(fd, condition):
global keep_pulsing
if keep_pulsing:
progressbar.pulse()
code....

View 3 Replies View Related

Ubuntu :: Downloaded The Latest Version Of Gnome Nanny - No Package 'pygtk-2.0' Found

Aug 27, 2010

I have dowmloaded the latest version of Gnome Nanny, but have run into an instal problem at the first hurdle:

I have extracte the folder to Documents: Cd/ to the folder and run the ./configure command and get this message: No package 'pygtk-2.0' found

I have checked the install files and edited the lines which contain the above to now read pygtk -2.0 >=2.8 as 2.8 is the version of python I have installed. In package manager it only goes back to v2.2.

How I can get around this error?

Running Ubuntu 9.1 karmic Koala.

View 5 Replies View Related

General :: How To Handle Warnings

Oct 15, 2010

I've been trying to understand issues that occur during a uClinux distribution build (so I can include such issues in a module I'm writing for students). My process has been to work through errors that occur due to missing packages, then remove the distribution and build it again to uncover what happens.One thing I notice is different sets of warnings within each iteration of making a new build. From the document here (URl...it states, "A typical warning involves a variable being used before its value has been set."

So my question: is there a way to verify that the issue throwing the warning has been resolved by the end of the make build?And, is running make build again an option or could this cause problems within the build directories or image?

View 6 Replies View Related

Security :: Just Ran Rkhunter And Got A Lot Of Red Warnings?

Jan 11, 2011

You should be running a firewall. I would also periodically check for rootkits with rkhunter and chkrootkit. Antivirus is usually optional, but it depends on your network ... if you have Window$ machines, do use clamav or something.Hope I'm not distorting the thread but just ran rkhunter and got a lot of red warnings, especially worrying seems:

Quote:

Applications checks...
Applications checked: 4
Suspect applications: 3

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved