Software :: Python Freezes After FTP Transfer

Jul 3, 2009

Wrote a python script to check for, fetch, and install Slack security fixes. Works fine...except for when the package has a little size on it. Once FTP.retrbinary finishes, it just kinda sits there and acts like it forgot what it was doing, when it should be killing curses and running upgradepkg. This happened before with the Seamonkey package and is now happening again with php, which is only 7 mb.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

Jan 12, 2011

This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.

View 1 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

General :: Sony PSP File Transfer Inaccurate Transfer Progress?

Jan 1, 2010

Having a bit of a issue with Debian Squeeze and transferring files to the Sony PSP..Hook up PSP to USB port and Debian mounts it..I go to drag a 125 meg mp4 to video folder..Copy windows takes about 10 seconds to transfer it..Exit USB mode and there is no video there. Go back into USB mode and look at video folder on the PSP memory stick and there is no video..It vanished. From another after copy progress closed I right clicked PSP and unmounted it..

It error-ed saying device was busy and could not unmount..Looking at light on PSP i see memory stick is still being written to..i wait for light to stop flashing..About a minute or so..Then am able to unmount it..Go to PSP video and theres the video ready to be watched. Debian isnt accurately showing the copy progress...Its showing complete when it isnt..I have to watch the light on PSP to know when it is truly finished.

View 3 Replies View Related

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related

CentOS 5 :: Yum - Python-devel / Python Dependency

Jan 7, 2011

yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:

[Code]....

View 2 Replies View Related

Slackware :: No Transfer Process Shown During USB Transfer?

Jan 20, 2010

using Slackware 13.0, and whenever i trasfer my files to USB, like copy or cut and paste, it will show as if file transfered in an instant,like click paste and poof.the whole 1 gig file transferred in one second, and it wont show dialog box of transfer process, and then i have to predict some minutes and wait (till the transfer actually finishes, i have to usually see my USB's transfer indicator light), if i plug out before or my prediction goes wrong, i end up with corrupted files. This aint related to window manager, as same is case for KDE and XFCE tried thunar, konqueror, midnight commander, all of em resulted with same problem.

View 6 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

CentOS 5 :: Upgrade Python-2.4.3 To Python-2.5?

Mar 30, 2011

How can I upgrade python-2.4.3 to python-2.5?

View 1 Replies View Related

General :: RSYNC Error .tar.gz 14gb File / Transfer Huge 14 Gb File Over Network,vpn,wan Transfer?

Mar 10, 2010

i am trying to transfer a file from my live linux machine to remote linux machine it is a mail server and single .tar.gz file include all data. but during transfer it stop working. how can i work and trouble shooot the matter. is there any better way then this to transfer huge 14 gb file over network,vpn,wan transfer. the speed is 1mbps,rest of the file it copy it.

rsync -avz --stats bkup_1.tar.gz root@10.1.1.22:/var/opt/bkup

[root@sa1 logs_os_backup]# less remote.log
Wed Mar 10 09:12:01 AST 2010
building file list ... done
bkup_1.tar.gz
deflate on token returned 0 (87164 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(274)
building file list ... done
code....

View 1 Replies View Related

Red Hat / Fedora :: Whole Cluster Freezes When One Of Nfs Server Freezes / Sort It?

Jun 27, 2011

We are having a cluster with couple of disk servers, compute nodes and a head node. Disk server is nfs mounted on all the compute and head nodes.
The problem is that if any of the disk servers hangs, it freezes rest of the cluster too which is dangerous. Ideally, cluster should not care about the hanged server and run without any problem except files from that server is not visible.
Is there any way I could avoid the problem of freezing cluster because of one hanged server?

View 1 Replies View Related

Fedora :: Using Python 2.5 With Python 2.6 With F12?

Nov 30, 2009

Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.

[URL]

View 3 Replies View Related

Hardware :: PATA Socket Was Replaced With SATA Socket / Transfer Rate Of The Harddisk Would Be SATA Transfer Rate?

Jul 4, 2010

My friend bought an old hard drive. He noticed something with the hard drive that it was just replaced with a SATA socket. So meaning, the SATA socket was soldered to the PATA hard disk to replace the PATA socket to SATA socket to make it a SATA.

Now the question is:

1. Does the Transfer Rate of the harddisk (that has been replaced from PATA socket to SATA socket) would be SATA transfer rate? OR would still be PATA transfer rate?

View 4 Replies View Related

Ubuntu :: Need Both Python V2.5 And 2.6?

Mar 27, 2010

It says in my package manager that i have both 2.5 and 2.6 installed. I'm trying to clean up my laptop, can i delete one of them or do i need both?

View 3 Replies View Related

Ubuntu :: How To Use Python 3.1 - Getting 2.6

Dec 15, 2010

Just installed Python 3 but every time I enter Python at the terminal I get 2.6. How do I use 3.1

View 2 Replies View Related

Ubuntu :: Can't Get To Python 3.1 / Fix This?

Jul 30, 2011

I already have the Python 2.6 interpreter installed on my system. I was reading A Byte of Python, and it said to get Python 3.1. So I typed in 'sudo apt-get install python3.1' in the terminal, followed the prompts and it installed. However, now I can't find it anywhere. I go either to the PyCrust of PyShell and it still says I'm using version 2.6.6. Any advice?

View 2 Replies View Related

Debian :: Get Rid Of Python?

Feb 9, 2010

i'm just a desktop end user; on line banking, email, videos, im, music, etc. the regular stuff. can i get rid of python? i don't program anything. don't plan on it. never gave it even a fleeting thought. do i need it? does any other program or app depend on python? can i make a clean sweep of it? and if i can, what's the best way of doing it?

View 5 Replies View Related

Programming :: Python 2.x Vs 3.x

Apr 21, 2010

I'm starting to learn python and I am wondering whether I should start with python 2.x or should I just start learning python 3.x?

View 2 Replies View Related

Debian :: Python 2.6.4 On Etch 4

Apr 15, 2010

I was able to compile python 2.6.5 on debian 4 etch successfully. The contents of /usr/share/python/python_defaults are now like this:

Typing "python" on terminal now starts the correct version which is 2.6.5.

The next thing I installed wxPython from wxWidgets repository. I followed the instruction explained here:

[url]

When installation was about to finish, I got this error:

I am sure something I have missed something before installing wxPython. It seems it's related to "python_defaults", but I am not sure.

View 3 Replies View Related

Fedora :: Python 2.5 On 12 Not Working

Feb 15, 2010

I've got Fedora 12 and I need to install python 2.5. Without trhis version of python, very important program to me will not work - is it possible?

View 6 Replies View Related

Fedora :: Install Python 2.7 On 15?

Jul 29, 2011

i want IDLE on my Fedora 15, is this possible?

View 2 Replies View Related

Fedora :: Can't Install Python 2.6 On 15

Aug 13, 2011

I can't install Python 2.6 on Fedora 15 - I have only Python 2.7. Also I can't add EPEL repository to try to install: yum install python26 I didn't find any info about how can I solve this problem.

View 12 Replies View Related

Ubuntu :: How To Install Python 2.6.5

Jun 10, 2010

I tried to downloaded and installed from the Internet directly but it gives me error message. Also I tried to downloaded it from Ubuntu but when I go to the software package and click on python it show me hundreds of python types. I'm a beginner and I need to use Python for my class this summer, I only need to use python GUI. how to install python on Ubuntu and also how to find it after installation.

View 6 Replies View Related

Ubuntu :: How To Install Python 3.1.2

Jun 19, 2010

I've done command line work in Linux, so I need a refresher.I have downloaded and extracted Python 3.1.2. How do I install? All of the HELP and README files are a little vague for me. but when I type in "./configure" in a terminal session, it says "command not found".

View 2 Replies View Related

Ubuntu :: _tkinter In Python 2.5 In 10.04?

Jun 28, 2010

Ive recently needed to downgrade to python2.5 so i added the main repository for karmic. Then i downgraded _tkinter to the karmic version and installed python2.5. Previously i had gotten import _tkinter to work in python2.6 by doing the same procedure as above expect with python 2.6. However, now _tkinter isn't working, giving me the error 'no module named _tkinter'.

View 1 Replies View Related

Ubuntu :: How To Install Python 2.6 On 8.04

Oct 23, 2010

how to install Python 2.6 on Ubuntu 8.04, I checked and the latest ver. on the ubuntu repository is 2.5 I need 2.6 I just compiled it using the following guide.[URL] I just didn't get how to set my PATH I followed all the steps that were there exactly.

View 2 Replies View Related

Ubuntu :: How To Setup Vim For Python

Nov 17, 2010

i have been trying to set up vim for python development but i cant seem to find vim-python package has it been removed or has it been combined with some other package

View 1 Replies View Related

Ubuntu :: 10.10 - How To Install Python

Dec 23, 2010

I am super new to Linux and Ubuntu. I am trying to install python and I downloaded it from the website. I do not know how to actually install it though. I have Ubuntu 10.10.

View 6 Replies View Related







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