Ubuntu :: Lots Of Errors / Python2.6 / Import CommandNotFound?
Jan 13, 2010
When executing different programs varying from the Ubuntu Software Manager to pstotxt and lots of other programs I get tons of errors that have to do with Python2.6, whatever it is. I think it got corrupted since my netbook turned of while installing some (Dutch) language packs.The smaller problem, is that the language packs failed to install properly, and I can see some Dutch sentences between the English ones sometimes...The major prolem, is that somehow a lot of programs won't work anymore, mainly terminal programs. pstotxt is one of any examples. Installing software doesn't always work because of these errors.
This is the output when I want to use pstotxt to convert a .pdf to .txt file:
Code:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 8, in <module>
import CommandNotFound
File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
from CommandNotFound import CommandNotFound
code....
View 3 Replies
ADVERTISEMENT
Dec 21, 2010
I would like to install wxpython2.8 for python2.5, which I installed as an alternative version in the presence of the standard python2.6 using xubuntu 10.04 lucid lynx (see the end of this thread for how I did it).how would I do this without the installation going for the standard 2.6 version? I found some notes to that on the web:
[URL]
I tried those, but somehow my wxpython installation got borked and would not do anything afterwards.
View 4 Replies
View Related
Jan 17, 2010
I try to do anything in wine, including winecfg, I get a lot of errors, and the program runs really slowly. Here are the errors
Code:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x147f30, filter=0x84e9e4,flags=0x00000001),
returns a fake device notification handle!
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a060, {485e7de8-0a80-11d8-ad15-505054503030}, 1, 0x33fe28, code....
I get this error for every program, so I do not think it is an error with the program. If fixing this will change anything like making it faster any help would be appreciated. Oh, I also can only run a few programs. I can't run things like WMP or itunes, and I think this may be the cause.
View 2 Replies
View Related
Feb 23, 2010
I got the following errors after trying to install Drupal6 from the repositories.
[Code]...
View 1 Replies
View Related
Aug 14, 2015
I am trying to set a static IP for my wireless adapter (wlan0). I've been getting the error
Code: Select all[....] Reconfiguring network interfaces.... Error for wireless request "Set Encode
" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
RTNETLINK answers: File exists
Failed to bring up wlan0.
Done.
After using the command
Code: Select allsudo /etc/init.d/networking restart
Here is what etc/network/interfaces looks like
Code: Select allauto lo
Iface lo inet loopback
auto eth0
Allow-hotplug eth0
Iface eth0 inet manual
Auto wlan0
Iface wlan0 inet static
Wireless-essid xxxx
Wireless-key xxxx
Address 192.168.3.116
Netmask 255.255.255.255
Gateway 192.168.3.0
View 7 Replies
View Related
Mar 3, 2011
When I try to install things I am getting lots of errors.
[code]...
What can I do to fix my problems? I also included a screen shot of the repositories in Software Sources. I been messing with BeachBit as Root and been toying with Ubuntu Tweak and so I think I messed something up on accident. Here is my list that I have too.
[code]...
Some index files failed to download, they have been ignored, or old ones used instead.
View 1 Replies
View Related
Oct 26, 2010
I am currently in the process of moving around 20TB of data from one server to another. Security is not a concern, since the data are freely available to anyone on our network anyway. There are a couple of things that I'm trying to decide on:
(1) protocol choice
Of all the choices I have--nfs, ftp, scp, rsync, samba--has anyone done any benchmarking to show which would be the fastest/most robust transfer protocol? I know nfs has slow write speeds for synchronous transfers. Asynchronous would be faster, but less robust. I'm leaning toward rsync since it performs md5sums to confirm the file transfers. (Remember if there's a 1 in a billion chance that a byte will get corrupted, then I'll have 20,000 corrupt bytes in the transfer.)
(2) Nautilus emblems
We use emblems in Nautilus to categorize files. The old and the new server have the same directory structure.Is there any way to copy the Nautilus emblems from the old server to the new server. What I want is that if a user had marked a particular file with a star on the old server, then that file would be marked with a star on the new server when he/she logs in.
View 1 Replies
View Related
Aug 8, 2010
my rhythmbox is showing a new tab that says "Import errors" I am attaching the screenshot of that error report and one major problem I have found out after that is rhythmbox contains non audio formats (like .iso and others) and rhythmbox tries to play these non audio files and make scratchy sounds. how come its reading these formats and it creates nuisance while the song changes and it tries to play those formats. I am using Lucid Lynx.
View 4 Replies
View Related
Jun 13, 2010
I try to install ultamatix on my ubuntu 10.04 system and i come up with the same error every time:
Error: Dependency is not satisfiable: python2.5
what do i do to successfully use ultamatix
View 2 Replies
View Related
Feb 25, 2010
I am trying to write a gui app with python2.6.4 and wx on win XP. I am attempting to resize an image with Imagemagick from within the program using os.popen and os.system in a thread.
Code:
os.popen("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
orCode:
os.system("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
they both work as far as resizing the image but when os.system is used a command shell opens during the mogrify and when os.popen is used the command shell does not show but the rest of the program freezes until mogrify is done.
I would prefer that the program did not freeze during this process and the command shell did not show.I have tried using wx to scale the image but the scaled image looks crappy.anyway is there a way to use os.system and not have the shell show?
View 2 Replies
View Related
Aug 17, 2011
So I've been looking to try out Airpwn, but it seems to only run with Python2.4. Natty, buy default uses Python2.7, and Airpwn will not compile with it. Python2.5 is the lowest in the repos. I tried just downloading Python2.4, and doing the "./configure, make, make install" dance, but I end up with
Code:
root@L1NUX:~/Python-2.4# make
[...code snipped to save space...]
Aborted
make: *** [sharedmods] Error 134
install Python2.4 on Natty? Any method will do fine. If you have a .deb that would be even greater. Anyone who's been able to run Airpwn on something other than Python2.4 is also welcome to tell me their solution. (There used to be a .deb for Airpwn itself, but it seems one was never made for Natty.)
View 2 Replies
View Related
Jun 9, 2011
Does anyone know how to update python2.4 to 2.7 without removin 2.4
View 3 Replies
View Related
Mar 30, 2011
I'm relatively new to Ubuntu and these forums. I ran rkhunter, and saw this warning in the check for backdoor ports: [14:45:09] Warning: Network TCP port 32982 is being used by /usr/bin/python2.6. Possible rootkit: Solaris Wanuk Use the 'lsof -i' or 'netstat -an' command to check this. I also saw these warnings toward the bottom:
[Code]....
I was wondering first of all about the first warning, the port. I have a feeling that the second set of warnings are false positives, but I would be open to thoughts on that as well.
View 9 Replies
View Related
Aug 3, 2010
I installed tinyos-2.x in Ubuntu lucid. I tried to simulate tossim environment for simple Blink application using the command: make micaz sim and ended up with the following error:
mkdir -p simbuild/micaz
make: python2.5-config: Command not found
make: python2.5-config: Command not found
make: python2.5-config: Command not found
and
Python.h: No such file or directory
and
make: *** [sim-exe] Error 1
Eventually installed python-old-doctools package which supposedly includes python2.5-config package but alas! It doesn't compile yet.
View 4 Replies
View Related
May 8, 2011
So far, I have done all the steps (including creating django.wsgi in the project). The step left is to turn on the httpd, but error put exit in this very last step.
Code:
<user> #: ./apachetrl start
httpd: Syntax error on line 450 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
View 2 Replies
View Related
May 10, 2011
I am using swig framework to invoke certain C APIs in a C Library from a python program. Unfortunately the python software needs to run on a 64 bit virtualization platform, whereas the C library is 32 bit (its a 3rd party library whose 64 bit version is not available). Lets say the name of the swig generated shared library is _my_swig.so. When the python wrapper makes "import _my_swig" call, i see the following error
ImportError: -snipsnip-/_my_swig.so: wrong ELF class: ELFCLASS32
which probably means I am trying to import a 32 bit library from 64 bit python. Can anybody suggest any workaround?
View 3 Replies
View Related
May 9, 2011
When I run the install of 'Gmail Backup' (from URL...) an error msg appears stating that I must have python2.5 - I presently have python2.8Is there any way to solve this without destroying my Slackware 13.37 installation?
View 6 Replies
View Related
May 21, 2010
I am driving Fedora 12 and need to test an application GUI with Python 2.4, 2.5 and 2.6. Python2.6 is native in F12 at /usr/lib... and I have alt-installed 2.4 and 2.5 at /usr/local/lib... Site-packages directories for 2.4 and 2.5 are empty. I have tried different tricks to install gtk-2.0 and pygtk in the site-packages of 2.4 and 2.5. But could not find a working solution.
My latest trial was to download Fedora 7 live and copy from its python2.5 gtk-2.0 and pygtk.* to F12:/usr/local/lib/python2.5/site-packages. Results were as follows:
Python 2.5.5 (r255:77872, May 13 2010, 17:15:51)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):
[Code]...
View 2 Replies
View Related
Oct 16, 2010
I have the following issue:
Running
Code:
results in above error.
Running
Code:
results in above error.
Running
Code:
Is not able to fix this.
View 2 Replies
View Related
May 17, 2010
after I had to rebuild the rpmdb because of some errors within it, i can't import any gpg-keys with the command "rpm --import". All I get is this:
[Code]....
View 14 Replies
View Related
May 20, 2010
Recently while at school, my trackpad stopped working completely. When I log out to my login screen it works, and as well as kde. I use compiz btw in gnome.[SOLVED I THINK] --> My boot splash doesn't show up until its fully loaded and won't show in the correct resolution.Every so often, the UI flips out and won't let me click menus or text fields or use my keyboard at all.
The trackpad is a setting i bet. BUT I looked everywhere for a setting that is making it not work.[SOLVED I THINK] --> The splash is ok, I'm not worried about it, but I wished it looked nicer on my computer D:The UI freak out is annoying and trouble some as it happens randomly in use.
I am on a laptop:
HP Pavilion dv9000
Intel Centrino Core 2 Duo 1.73GHz
NVIDIA GeForce Go 7600
2GB of memory
ps - I am not a fan of HP, Intel, or NVIDIA, this laptop was free so not complaining about not having AMD or ATi or another laptop brand
View 3 Replies
View Related
Jan 17, 2011
I upgraded to 10.10 a few months ago. All was well until a week or so ago, my PC was incredibly slow to respond to anything - mouse clicks, etc. After investigating, I found Evolution using 90% of my RAM - I have 4G. I restarted the PC, started up Evolution and everything was better for a very short while. I then found Evolution using 2Gb+ again later that day. I have noticed that immediately upon startup of Evolution, watching top, evolution uses 900Mb+ Virt and 450+Mb Res. If I open a single email, it jumps to 1300+ Virt, 500+ Res. The more I read a few more emails, the more it jumps.
I have updated everything possible via Synaptic. I only have a handful of accounts - probably 3 POP3 that download to local folders, and about 5 IMAP (GMail) based ones. Nothing excessive IMHO. Now, Evolution is basically useless. All I can do is open it, check email, and close it as soon as possible. I'd rather not switch to another email client - I did that back in 10.04 when I switched off Thunderbird in favor of Evolution because of all the Evolution integration in Ubuntu/Gnome.
View 1 Replies
View Related
Apr 22, 2010
I want to install Ubuntu on many different new user's systems from a distance. I am looking for the simplest cleanest way to pull this off. These systems will only boot Ubuntu....no dual boot systems. Plus, I need a way to accommodate different size Hard drives such that the entire hard drive is used. There will be a novice computer user on site who can insert a cd or dvd for me and boot the machine.
View 2 Replies
View Related
Feb 15, 2010
i have a question about the best choice for a filesystem: We have in our company a productive webserver running debian with nginx webserver to serve images. The number is about 15 million, they are around 2kb or 3kb of size each and they are stored under some subdir in /home with a hashed subdirectory tree which is 2 leves deep. the images are copied with nfs from some other machine time to time. We get high load when this copying is running. Currently we are using ext3, and considering moving to jfs, cause its relativly low load impact, but i am still courios about the performance. I think serving lots of images is often practiced thing, so i would be interested what others are using as filesystem in this scenario, or if someone could make a recommendation for our case.
View 1 Replies
View Related
Jan 24, 2011
The only window that's open is the terminal running this command, no pidgin, skype, samba, torrent or anything I can think of is using the network yet there is ***** load of output from tcpdump. I was hoping to use this to check where certain applications connect to and what messages they send but when I'm doing nothing there is already more output than I can go through. Running tcpdump for less than 10 seconds gives me the following output:
Code:
16:13:22.015683 IP ns.hihkptt.net.cn.domain > desk.local.56598: 46887 1/2/2 (166)
16:13:22.016251 IP ns.hihkptt.net.cn.domain > desk.local.60099: 21168 1/2/2 (166)
16:13:22.016743 IP ns.hihkptt.net.cn.domain > desk.local.42325: 50346 1/2/2 (166)
16:13:22.034733 IP ns.hihkptt.net.cn.domain > desk.local.41441: 63658 1/2/0 (134)
16:13:22.035215 IP ns.hihkptt.net.cn.domain > desk.local.42865: 37537 1/2/0 (134)
16:13:22.036124 IP ns.hihkptt.net.cn.domain > desk.local.35006: 7520 1/2/0 (134)
16:13:22.036569 IP ns.hihkptt.net.cn.domain > desk.local.38480: 51322 1/2/0 (134)
16:13:22.066006 ARP, Reply 192.168.0.1 is-at 00:b0:0c:02:60:9c (oui Unknown), length 46 .....
View 2 Replies
View Related
Jan 26, 2011
I use nautilus and its awful. The only good thing are the tabs and the bookmarks on the cons:
* it freezes now and then when moving lots of files.
* Slow to navigate while large amounts of data are moving or displaying.
* Slow presenting of files where there are a lot of them (it should only render whatever is in screen and maybe render a properly sized navigation bar. Anything else shouldnt freeze the client. Render at its once pace if at all. I dont move the scroll bar it shouldnt freeze
* It doesnt queue (meaning it moves everything at the same time instead of queueing stuff, what makes moving stuff take longer) .
View 5 Replies
View Related
Sep 20, 2009
Here is an excerpt from powertop
Top causes for wakeups:
69.2% (563.1) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)
7.7% ( 62.5) <interrupt> : nvidia
4.9% ( 39.6) USB device 4-2 : Microsoft 3-Button Mouse with IntelliEye(TM)
4.9% ( 39.5) <interrupt> : uhci_hcd:usb4
[Code]...
View 2 Replies
View Related
Jul 18, 2010
I recently installed Squeeze. Almost every time I install software I have unresolvable dep errors. In my Software Sources Everything is checked Main, Contrib, Non-Free and source. But in 3rd party the only thing in there is the installation CD. Is this correct or am I missing repos? downside of running testing? If I'm missing them could someone please post what repos I should have...
View 6 Replies
View Related
Feb 9, 2010
I have a DOS/Linux dual-boot system. After recently replacing the original motherboard (an Elitegroup P6VEM3, of all things!) with a salvaged Dell D300 motherboard, I'm preparing to replace the Red Hat 8 currently installed with a Ubuntu live CD that I've had for some time (but that wouldn't work at all on the old motherboard, for some reason) I have a question about the "partitioner" stage of the installer: I don't know what to do with my 5 DOS volumes. My hard drive is partitioned as follows (from the partitioner's report when I select manual mode; annotations in parentheses):
/dev/sda
/dev/sda1 fat16 57MB 33MB (C:, "DOS")
/dev/sda5 fat16 106MB 33MB (D:, "STUFF")
/dev/sda6 fat16 633MB 121MB (E:, "APPLICATION")
[code]....
View 6 Replies
View Related
Aug 10, 2010
I downloaded wubi to install it on my old desktop which runs windows xp pro. The installation went through and it asked for some updates. After the updates, it rebooted but got stuck to the msg in the topic sentence. I don't have no live cd's for ubuntu and tried to read some earlier threads but they don't make any sense to me as I have no previous knowledge of linux. how to deal with this in a simpler language?
View 2 Replies
View Related