Debian :: Python-pkg-resources Returns Error Code
Apr 9, 2010
The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.
I ran apt-get upgrade and it returned an error-code.
It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured
I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.
View 1 Replies
ADVERTISEMENT
Apr 4, 2011
create a tar file from a list? My script returns the error: AttributeError: 'list' object has no attribute 'startswith' I want to create a compressed tar file containing the directory /usr/lib and the files in the list assigned to variable b.
code:
import tarfile
tar = tarfile.open("backup.gz", "w:gz")
[code]....
View 3 Replies
View Related
May 21, 2011
I have a new Debian Linux 6.0 server installed, running Linux 2.6.38.3-linode32 on i686. It has apache2 on front.
The master plan was to run Railo on this one, so I can continue my mad Coldfusion schemes to rule the world, so got the tomcat set up with it, as instructed by some guy I met on a chat. He seemed very reliable.
I got the whole thing working, can view my regular html files and whatnot, but as soon as I try to run a cfm file,
I get an error message on screen:
I have no idea whatsoever what to do next. This is my site with the html file:[url] and here is my test index.cfm file:[url]
View 1 Replies
View Related
Apr 6, 2010
I ran into this:[url]
I tried to ignore it (yesterday it made me remove xmms2-plugin-all, i could have lived with that for a few days), but it is getting worse: gnomebaker, mpg123, vorbis-tools, cdrdao, etc.
So i remove beloved apps , run aptitude install -f and what not. The result is that either libao2 or libao4 give me trouble (depending which version is installed at that moment).
After the upgrades are available again it's big fun over here. Is it just me or are others running in a lot of "dpkg returned an error message" too? The first time ever i got to use aptitude to get problems solved. Gnome terminal gives me segmentation fault but no error messages. And so on.
View 3 Replies
View Related
May 7, 2011
I get errors when i try to use "make" on the package.
View 2 Replies
View Related
Apr 9, 2010
I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
[code]....
View 4 Replies
View Related
May 20, 2010
I am trying to building freeradius from source, but I get an error that python.h is not found ? !
checking for python2.3... python2.3
checking for Python.h... no
checking for Py_Initialize in -lpython2.3... no
But both python and python-dev are installed ?
[Code].....
View 3 Replies
View Related
Jul 6, 2015
Miro worked well with Wheezy. When I upgraded to Jessie Miro started generating a python error as such:
Code: Select all~$ miro
using /usr/bin/miro.real
Traceback (most recent call last):
 File "/usr/bin/miro.real", line 183, in <module>
  from miro import startfrontend
 File "/usr/lib/pymodules/python2.7/miro/startfrontend.py", line 53, in <module>
[Code] ....
I have been searching for a few weeks trying to find an answer to no avail. I tried three different kernels, renaming ~/.miro, checked all dependencies. I reported it as a bug which sat there for a few days and disappeared.
View 14 Replies
View Related
Sep 23, 2015
Just installed Debian 8 last night and trying to run one a few of my scripts that use easygui (a front-end for python-tk basically) and I keep getting alloc: invalid block any time a file or folder selection dialog is presented. I'm able to select a file/folder with no issues, but once the dialog closes I get a variation of what appears to be a memory error followed by alloc: invalid block.
Here's one of my scripts that does it. This one pops up a file selection dialog pretty early on to ask for a file to check, and as soon as I select any file the dialog closes and that error appears in the terminal. It happens whether I run it with Python 2 or Python 3. You will need to install python3-easygui for this script to run properly if you want to check for yourself what happens. This is a first time encountering this error for me.
View 1 Replies
View Related
Dec 2, 2010
I have written a backup script backing up the data I have worked during the day with rsync and sends me a log in my email. now it works perfect but i want to execute it each time i shutdown my computer in the evening not during reboot or logout.It seems that i can not run it by putting it in init.d and softlinking in rc0.d as K00backup. I think it is because script uses many services like python or smtplib, gnome-keyrings that in that time might have been already shutdown.
View 2 Replies
View Related
Aug 19, 2011
I have a big fortran code for FE analysis. I want to change the code to python. I am curious to know, whether I will get any advantage over speed, If not at least the speed should not be less than what fortran gives. Should I go for it.
View 2 Replies
View Related
Dec 16, 2008
i have attached a word doucment with black jack code, i want to know what things are wrong with it, and why it does not run, in python, as it keeps displying error messages such as "invalid syntax"
View 14 Replies
View Related
Jun 28, 2010
I've taken the source code for Zlib1.2.3, built and installed in a 64 Bit linux machine. Then when i downloaded Python 2.5.4 source and tried to build(make), i got the following error
gcc -pthread -shared build/temp.linux-x86_64-2.5/opt/cinecert/Python-2.5.4/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/lib.linux-x86_64-2.5/zlib.so /usr/bin/ld: /usr/local/lib/libz.a(adler32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status
View 3 Replies
View Related
Jul 25, 2015
When trying to install php5 IÂ got the following result. Tried to apt-get clean, autoclean, remove --purge then reinstall the mentioned packages without any success.
dpkg --configure -a didn't get any better result.
Code: Select allsudo apt-get install php5
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances   Â
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
 libapache2-mod-php5 php5-cli php5-common
[Code] .....
View 5 Replies
View Related
Jan 26, 2011
I have installed wxPython on my Ubuntu 9.10. But when I type"import wxPython" in "python environment it returns the followingerror.Does it need a PATH to be added in ".bashrc"? If so what should I write as a PATH for it?
>>> import wxPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
[code]....
View 1 Replies
View Related
Mar 21, 2011
I'm working with OpenSusse 11.2. I installed and activated the NFS server via yast2. I exported the relevant directory via yast2 (NFS server configurastion)
I'm trying to setup my Linux target to boot via NFS. The kernel boots up but fails to mount the file system. When looking on a capture from ethereal it can be found that the NFS server return error when client try to mount the /nfstest directory from this server. The returned error is 13
serverip: 192.168.56.130
targetip: 192.168.20.180
gateway: 192.168.20.101
[Code].....
View 1 Replies
View Related
Jan 13, 2010
I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.
However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?
View 3 Replies
View Related
Dec 11, 2010
I have a Python program looks like this one :
Code: import os
import time
process = os.popen("top").readlines()
[code]...
View 2 Replies
View Related
Aug 16, 2010
I was triyng to install Debian on a AMD K6-2. I use debootstrap, and installed Lenny, with a kernel linux-image-2.6.26-2-486.
After that apt-get update and apt-get upgrade and I get:
The following packages will be upgraded:
Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file. There is always a safer way to upgrade, do not try this unless you 0understand what you are doing!
And similar messages appears trying to install xfce4...
View 1 Replies
View Related
Apr 14, 2010
I've setuped apache2 with SSL on Debian Etch, but I'm getting this Error message in the browser:
Code:
This site does not exist!
View 2 Replies
View Related
May 17, 2010
I am fairly new to Linux and have been striking hassles with my AWUS036H (RTL8187) under Debian Lenny. The standard (built in) driver works but reception is pathetic compared to the same card under Backtrack 4 or even Windows 7. I have tried to build drivers which I got from the Alfa website, the Realtek website and also the Linux Wireless project page. All of them fail during Make with an Error 2. I don't have the error in front of me (had to go back to Windows for the moment) but it is identical to the one this guy gets:
darkReaction:/home/georanson# cd /home/georanson/Desktop/Downloads/ndiswrapper-1.52
darkReaction:/home/georanson/Desktop/Downloads/ndiswrapper-1.52# make
make -C driver
make[1]: Entering directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-6-686/build, is it configured?. Stop.
make[1]: Leaving directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
make: *** [all] Error 2
I get the error 2 code and the reference to "kernel version".
View 5 Replies
View Related
Feb 12, 2011
I get the following message when trying to access my 1tb usb drive "Error mounting: mount exited with exit code 1: helper failed with: Error opening '/dev/sdr1': Permission denied Failed to mount '/dev/sdr1': Permission denied Please check '/dev/sdr1' and the ntfs-3g binary permissions, and the mounting user ID.More explanation is provided at [URL].. Really wierd thing is Linux Mint Debian reads it just fine
View 1 Replies
View Related
Apr 20, 2010
For some reason after the computer is on and idle for a little while, xorg starts using all available CPU resources. When I come back to use the computer, the screensaver will either be running nice and smooth, or the screen will be black. Either way, I won't be able to get back into X. I'll ctrl+alt+F1 into the console (or ssh if it's still not responsive) and "top" shows me xorg is hogging all the available CPU. I'll kill -3 <xorg> and it the computer will come back to the kdm login screen. What the %^&*??? It's a little irritating. I'm using Bouncing Cows and Seti@home when idle, but both do their job and close when they detect a key press. Even via ssh when I already tried waking up the computer with a key press, it shows the screensaver closed and seti is idle.
I have Debian/Lenny installed with all the latest updates and ATI's driver installed with direct rendering enabled (350fps for the cows, >2000fps for glxgears). it's a Dell Inspiron 8600, 1.8GHz, 2GB Ram, 80GB HD, ATI 9600pro/128MB.
View 6 Replies
View Related
Mar 11, 2011
I am unable to run firefox on my Hp mini 110 running FC14. This happened, I think, after an update that I have done.
When ever I run firefox I get the following messages.
Code:
View 5 Replies
View Related
May 9, 2011
I am using Fedora 14 (64 bit version): Can't Start XAWTV. Returns the error.
$ xawtv
This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64)
xinerama 0: 1920x1080+0+0
WARNING: No DGA direct video mode for this display.
WARNING: keeping fbuf pitch at: 7680, as no base addr was detected
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Oops: can't load any font
View 1 Replies
View Related
Feb 26, 2010
I have a service on my Suse 11 server which runs an ssh command (using openSSH) on another box.The output below is returned, but legitimate output is also returned as if the command had executed successfully. For example, the service executes an ls command through ssh, gets the error below, but also the contents of the remote directory as output. This is a problem because the service retries the command until it receives no error. I have been unable to replicate this manually from the command line. Does anyone know what might cause this or what this error really means?
View 5 Replies
View Related
Aug 28, 2009
FC11/KDE-live Cd
The error is below;
apic is getting timing mode sailed. IO apic resources couldn't be allocated
I fed the kernel commands, noapic , noioapic but that didn't work .
View 1 Replies
View Related
Jul 27, 2011
I have installed in my opensuse 11.4 the kdesvn.
When I press the checkout button the program crashes and returns the following message:
View 1 Replies
View Related
Jun 27, 2011
If I have a hard-disk with Ubuntu fully installed on it and I want to - all of a sudden - use Windows XP, is it mandatory that I firstly format the hard-disk first? So far, I have used two versions of Windows XP; one of them is from a few years before the other. Both copies of Windows XP when in start-up from booting from CD are causing errors. One of them is a BSOD error (0x0000007B) and the next Windows CD is stopping and giving me an error with setupdd.sys (error code 4). Is it required that the hard-disk is formatted before you even put a Windows boot CD in?
View 2 Replies
View Related
Nov 1, 2010
I'm having a little problem here. That, or I'm missing the obvious staring me in the face. I have this file server, called toad. I nuked it's system disk, reorganising the partitions and upgrading to openSUSE 11.3 x64. I installed vsftd with "Yast FTP server", and the config looks OK. I even compared it with that of another machine. But when I try to connect, this is what I get:
user@mainmachine:~> ftp
ftp> open toad
Connected to toad.geuens.org.
500 OOPS: could not bind listening IPv6 socket
I'm prettige sure IPv6 is deactivated. The firewall is disabled on both machines. I've looked this over again and again. Can't find it. It's not the connecting machine, I've tried from another.
View 4 Replies
View Related