When I run from the command line, I get this output:
Traceback (most recent call last): File "/usr/sbin/system-config-samba", line 45, in <module> mainWindow.MainWindow(debug_flag) File "/usr/share/system-config-samba/mainWindow.py", line 82, in __init__
[code]....
I have removed and re-installed and get the same crash.
I have a Red Hat 4.9 server running python 2.3.4. However I need some of the new functions so I downloaded and installed Python 2.7.1. I wanted to use the "set" function which was not in the earlier version.
/bin/python is 2.3.4 /usr/local/bin/python is 2.7.1
I have a script running 2.3.4 which calls the 2.7.1 script however it fails because it cannot find the "set" command here is an example
I found an interesting screencast online about how to make gtk Pyton apps. The thing is, though, the guy was using the interactive shell. I've been trying to get his code into a script, and have been having troubles.
Here's what I got:
Code:
It spits out the error "NameError: global name 'browser' is not defined"
I know I'm doing something wrong with how I'm telling it where to find "browser" and "text", but I can't figure out how to point it to the right place.
I have a problem to correctly configure apache / subversion and mod_dav in openSUSE 11.2 I have setup a virtual host on my home server (because I need to access it from the Internet), that should be a subversion server. The subversion root directory is the
Code: /srv/svn/repos I plan to use a separate directory for each project. So, the svn tree will be/srv/svn/repos/project1/.... /srv/svn/repos/project2/.... /srv/svn/repos/project3/..
Apache serves the web pages (actually the directories) but since the documentroot and the SVN root are the same, it cannot handle the SVN repositories correctly. So, I re-read the Setting up a Subversion server using Apache2 - openSUSE how-to and followed it's suggestion. (Use a Location outside the document root) Anyway, the problem is that I have a 404 error, which of course is normal, since there is no alias set for the /rep location I use.
I am trying to install Linux Mint 10 on a newly formatted 40gb hard drive. I have not been able to get the the install program to see my hard drive. The program seems to work well off of the CD. I have checked the md5 sum and it is a good copy of the program. It will be the only operating system on a Athlon64 3200, PC Chips M861g mb combo. I have also tried Ubuntu with similar results.
I need to install Trac on a server that's on a private development VLAN (no internet access). Obviously Trac needs to go out over the internet to download/install various things. Does anyone know of an RPM or tarball out there that I can use to install Trac without being connected to the net?
I have a server that host's several sites, recently I had to create a new server because the old one isn't good enough for me. Ive installed apache2 on the new server and moved all the files from one server to the other. I'm making tests in my local lan so I've edited my computer's hosts file to point to the name of each site to the local ip of the new server:
Based on Product highlights - openSUSE, it would appear that using sqlite3 in gnucash would be available. However, I do not have an option to save an existing book to the database format, nor is it available when creating a new book - only xml is available. Is there anything special that I need to do to enable the sqlite backend?
How to install using yum? Because when I tried this: yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel -y Subversion did not install, I tried this:
I want to be able to create an RPM that will install python 2.7.1 along with sqlite 3.7.3, MySQL-Python-1.2.3 on a CentOS 5.5 x86_64 host(s) in a directory (e.g. /opt/python2.7). Once that's done, I want to be able to alias the new python binary in .bash_profile so that my developers can begin using it.
I understand 2.7.1 can't be installed on a CentOS host but I've done the above using a shell script successfully. If you search hard enough, I posted my script on line . However, I need to create the RPM for political reasons. Besides placing the source file(s) in the SOURCES directory, what do I need to do in the spec to be able to successfully create an RPM installer?
Please be gentle with me. I've been drinking the Windows cool-aid for most of my IT career so, this is one of my first attempts of becoming a better DevOps Admin.
i have Ubuntu10.10 (kernel-2.6.35-22-generic) installed. struct stat StatBuff;
[Code]...
I have mounted a windows share folder on /mnt. When i gave any directory within /mnt/ to stat function it fails with errorno 75. perror shows "Value too large for defined data type". Example 1 is fail but Example 2 works fine.
installing subversion on CentOS 5.5 using following command: [root@lucifer ~]# yum install mod_dav_svn subversion does dont connect to a mirror with following error, "Temporary failure in name resolution"
When I get to installation step "Allocate drive space" I get this message, "No root file system is defined. correct this from the partitioning menu." What is the source of this error and what do I need to do to correct it? I don't see a partition menu other than a choice of using the whole drive or a partition? Below are the choices that I have made. Specify partitions manually (advanced) Allocate drive space Choice are device (/dev/sda4) Type ((ext3) size) Mount Point (no choices offered) Size (42088 mb) used (670 mb) boot looder is sda Windows 7 ext3 42088 MB I am installing Ubuntu 10.1 on a seperate partition. Windows 7 is on another partition. The machine is an ASUS A52F Laptop
#!/usr/bin/python import smtplib sender = 'from@fromdomain.com' receivers = ['to@todomain.com'] NameError: name 'SMTPException' is not defined apparently there is something wrong with /usr/lib/python2.6/smtplib.py but i cant make it out
I have debian SID,my repository has libapache2-mod-python version 3.3.1-9+b1 and python 2.6.6-6 No, i configured my apache and restarted my apache, but i saw following errors in the apache's log file:
[Sat Oct 30 15:14:06 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'. [Sat Oct 30 15:14:06 2010] [error] python_init: Python executable found '/usr/bin/python'. [Sat Oct 30 15:14:06 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/u
i can't downgrade my python and my libapache2-mod-python is last version.
if this is an error that has already been solved, but I am running Windows 7, and when I finish installing Wubi in Windows, it asks me to reboot. I select Ubuntu and it gives me the error: "No root file system is defined. Please correct this list from the partition menu." I can't get past this error.
For some reason, my users are complaining that TRAC - our bug systems is throwing errors when looking for its module templates. These templates are usually built by Apache when it restarts or reloads and it puts them in /tmp/.python_eggs. I did a df-h and the drives had plenty of space, but the concerning thing is tmpfs shows 0% used.. We have not had a power outage or or restart in over a few months. I thought perhaps TMPwatch is clearing though, but there are no logged messages in the logs.
I'm trying to run a program in Ubuntu (10.10), and I keep getting this error (relocation error: /lib/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference). From what I've searched online, it has suggested that it can't locate 'strcmp' for version 2.0 of GLIBC; I also ran 'ldd' on the listed library and got:
I can use Ubuntu from my flash drive, but I want to install it in a partition alongside windows. When I try to do this, I come to an 'allocate drive space' window, but whatever I do I get the error message: 'No root file system is defined. Please correct this from the partitioning menu.' I just don't know what this means, or what to do next. I'm loathe to ditch windows, and I don't want to have to use a flashdrive all the time.
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks 2) Verified all directory and file permissions are at 755 3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere 4) in hhtpd.conf verified <Files ~ "^.ht"> is correct 5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..