Ubuntu Installation :: Samba Needs Glade On 11.04 - ImportError: No Module Named Glade
May 1, 2011
After upgrading my media computer earlier today, I tried to run Samba config (system-config-samba) and it crashed. Running again in terminal I got the following error:-
Code:
import mainWindow
File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module> import gtk.glade
ImportError: No module named glade
Ths was fixed by installing (via Synaptic):-
Code:
python-glade2
View 2 Replies
ADVERTISEMENT
Feb 22, 2010
I tried to install wallpaper_daemon
$ ./wallpaper_daemon.py --install
Traceback (most recent call last):
File "./wallpaper_daemon.py", line 11, in <module>
import gtk
ImportError: No module named gtk
I do not know what this error, and what to do.
View 1 Replies
View Related
May 8, 2010
Python 3.1 came out about a month ago, but now that I have upgraded, I can no longer import the GASP module
output:
Code:
anthony@anthony-desktop:~$ python Python/BYTE.py
Traceback (most recent call last):
File "Python/BYTE.py", line 2, in <module>
from gasp import *
ImportError: No module named gasp
Importing GASP from Python 2.6 works just fine, but not with 3.1. How/where do I install/move the appropriate files so that I can use GASP?
View 3 Replies
View Related
Jul 28, 2009
installing Frets On Fire with Fedora 11? I downloaded the binary from the website,tarred, installed everything mentioned in the read me and then ran the Frets On Fire .py file in the terminal, but I get a bad output.
Here it is:
Code:
/home/Reece/Download/Frets on Fire-1.3.110/src/Song.py:31: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
[code]....
View 3 Replies
View Related
Nov 19, 2010
I am running into problems when I try to install Altera's "Quartus 10 web edition 32 bit" on Fedora 14 (64bit). When I launch the installer I get the error message
Quote:
Traceback (most recent call last):
File "<string>", line 18, in <module>
File "/tools/python/2.6.4/linux32/pyinstaller/iu.py",
line 436, in importHook
[code]....
After that I ran altera's installer again and get the same error as above. Interestingly, if I now run the python command shell and try to import hashlib, that one is also broken again as above.
View 3 Replies
View Related
Jan 17, 2010
I installed PyQt4 using yum but when I ran python file it came up with message which says
Code:
[root@VAIO examples]# python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
[code]....
View 1 Replies
View Related
Sep 9, 2010
In Python 2.6.5, I could import from mx.DateTime.ISO import ParseDateTimeUTC With 2.7 I cannot.Here is the error. My module util_lib contains the import noted above.
File "util_lib.py", line 46, in <module>
from mx.DateTime.ISO import ParseDateTimeUTC
ImportError: No module named mx.DateTime.ISO
What changes do I need to make, to import on pre-2.7 and 2.7?
View 2 Replies
View Related
Dec 25, 2010
I want to learn to program by python 3 so I install eric5. I can't find it on opensuse repo so i must install it and it's dependence package from tarball. Everything seem to be normal till I try to run it. Nothing happen so I run it from terminal and get error
Code:
Traceback (most recent call last):
File "/usr/local/lib/python3.1/site-packages/eric5/eric5.py", line 56, in <module>
from E5Gui.E5SingleApplication import E5SingleApplicationClient
File "/usr/local/lib/python3.1/site-packages/eric5/E5Gui/E5SingleApplication.py", line 14, in <module>
from Utilities.SingleApplication import SingleApplicationClient, SingleApplicationServer
[Code]...
View 2 Replies
View Related
Apr 2, 2011
Recently installed a new distro OpenSUSE 11.4 x86_64. I installed it in a minimal configuration for my needs, on after installing a minimal system installed hypervisor Xen 4.0.2. He also set for a lot of dependencies, and utilities. On one of them I have a problem. Trying to run a utility to create a virtual machine "vm-install", but crashes the next kind of error:
Code:
Traceback (most recent call last):
File "/usr/bin/vm-install", line 30, in <module>
import vminstall.job
File "/usr/lib/python2.7/site-packages/vminstall/job.py", line 28, in <module>
[code]....
View 1 Replies
View Related
Apr 24, 2011
I have installed MySQLdb on my Slackware 13.1 x64.But import error. python 2.6,mysql 5.1,Mysql-python-1.2.3.
[code]...
View 1 Replies
View Related
Apr 5, 2011
I use ubuntu 10.04 and here's the problem. I've installed pssh, but when I type pssh i got this message
Code:
# pssh
Traceback (most recent call last):
File "/usr/bin/pssh", line 29, in <module>
from psshlib.basethread import BaseThread
ImportError: No module named basethread
Also, if I type man pssh I got this message:
See 'man 7 undocumented' for help when manual pages are not available. I've reinstalled it, but nothing changed. I've found that basethread is located here:
/usr/lib/python2.5/site-packages/psshlib/basethread.py
/usr/lib/python2.5/site-packages/psshlib/basethread.pyc
View 4 Replies
View Related
Jul 20, 2010
I recently upgraded to lucid. During the upgrade, I got a message about Glade being incompatible(?) and clicked ok. It was uninstalled with several dozen packages.
I would really like to get it back. Is there a compatibility issue with Glade and 10.4?
View 3 Replies
View Related
Apr 18, 2011
this is my first time here: I've been programming GUI software in C# in MonoDev for some time now. I just noticed that I can use my favorite language, C, with Glade to do the same thing. I've been going through some tutorials with a little frustration with them. Some seem to be written for older Glade versions.
The latest example had me save my Glade project to a "tutorial.glade" file. Then run it through a 'gtk-builder-convert' utility. Problem: the utility program returns errors indicating the the tutorial.glade file was written badly, that there is supposed to be a <glade-interface> tag that is missing.
[Code]...
View 1 Replies
View Related
Jan 24, 2011
I had glade package installed. But dpkg -I didn't yield any information. I am baffled.
View 1 Replies
View Related
Mar 27, 2010
I'm trying to write a GUI using Glade and pyGtk. I had a problem so decided to go back and start from a helloWorld, but I still have a problem. here is my code for the program
Code:
#!/usr/bin/env python
import sys
try:
import pygtk
pygtk.require("2.0")
except:
pass
try:
[Code].....
View 7 Replies
View Related
Apr 27, 2011
I've been having several serious problems with the ancient version of glade included in squeeze. Now it is entirely unusable. I'm convinced the only way to fix this rediculous mess is to install a newer version. Guess what? testing and unstable have the exact same version as squeeze. The experimental one can't be installed because out of the 20 or so packages it needs installed to run 18 are missing. Is there a half-decent repository where I can get a new-ish version of glade? Try compiling from source and tada: My "intltool" is too old whatever that is.
View 8 Replies
View Related
Feb 9, 2011
I am a fairly new ubuntu user. I am using ubuntu 10.04 and glade 3 for building a simple interface that uses C. In my interface , I have created two buttons : start and stop .Tofocus on my actual problem , I have created a simpler UI and code. start button runs a while(1) loop and stop should stop the loop .
The problem is , when I press start , the gui freezes and I cannot press any other button. I cant even close my app.After some thorough experimentation, I found out that when I press start, it never comes out of the while loop. I need the loop to keep running until I press stop . What should i do? Here are the functions for the clickable buttons :
Code:
void
on_start_button_clicked (GtkButton *button, gpointer user_data)
{
flag1=0;
while(1)
{
printf("**********checking !!!! ********
[Code]....
View 3 Replies
View Related
May 9, 2011
I really need to download the Glade interface designer. So when I go to the ubuntu software center and click on it, it doesn't give me an option to download. Then, when I click "more info" it says, "To show information about this item, the software catalog needs updating". So I go ahead and run
Code:
sudo apt-get update
and still I can't download.
View 1 Replies
View Related
Feb 12, 2011
I have created a glade file which so far have two regions in it:
1) On the right division is a toggle button which calls a C script when enabled.
2) I have a drawing area, in which I would like to plot a point (X-Y scatter plot). The plot should be generated dynamically using a C script. I am not sure how the integration between the two is possible for a drawing area.
In glade what properties of drawing area should I set? eg.expose event, realize etc. I was thinking of using cairo for generating the plot.
View 2 Replies
View Related
Dec 17, 2010
I have searched the net for guides on GTK/Glade and have learned that I have to install Glade in order to experiment with it. It also appears that it only works for Perl. I would primarily like to use C ,Bash , Pascal or settle for Python if possible. Can anyone offer some general info on this topic?
View 4 Replies
View Related
Jan 26, 2011
opening a text file from glade interface.how?using c code
View 1 Replies
View Related
Mar 9, 2010
how i can change the run application window of gnome panel; i had done this with glade-3 but i dont know how to manage its signal and slots for example by clicking on a button it opens an app ,i cant manage it signals and slots
View 1 Replies
View Related
Jan 30, 2011
I am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.
View 4 Replies
View Related
Dec 18, 2010
I am working on a small project for making a small configuration tool for ubuntu 9.10 for new linux users, that make their system working easily without knowledge of the linux commands.I created a gui in glade and loaded the gui with my python program to show up, now i wish to have some python codes that can launch a gnome terminal (and also pass some linux commands to it) on the click of a button contained in the glade file.
View 1 Replies
View Related
Jan 8, 2011
I want to display something in my text view widget in glade using c code. that's all right.
now I need to attach a save button beneath the text view.so that on click the text view content should save as a txt file..
View 8 Replies
View Related
Mar 24, 2010
I installed something and now my yum dont work: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named CElementTree install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
i use CentOS release 5.4 (2.6.18-164.2.1.el5.028stab066.7 #1 SMP Tue Dec 1 23:22:32 EET 2009 i686 i686 i386 GNU/Linux) on my VPS. # rpm -qa --last shows:
python-elementtree-1.2.6-5 Wed 24 Mar 2010 12:56:46 PM EET
rpmforge-release-0.5.1-1.el3.rf Wed 24 Mar 2010 08:20:32 AM EET
perl-Convert-ASN1-0.22-1.el3.rf Wed 24 Mar 2010 08:20:31 AM EET
[code]....
View 12 Replies
View Related
Nov 24, 2009
I am having this problem everytime I execute the yum command: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
View 1 Replies
View Related
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
Dec 5, 2009
I recently installed python in SLES and now i get the below error when running it.
Code:
The GCC team.
Distribution: SUSE Linux Enterprise 11
linux-ooix:~/Desktop # python3
[code]....
Import Error: No module named readline
View 7 Replies
View Related
Mar 18, 2011
Python version 2.6 worked fine but since updating to version 3.1 and now 3.2 I cannot get beyond this error. I have also downloaded and installed APSW v3.7.5
View 2 Replies
View Related