Slackware :: Can't Copy The File To Python As The Versions Differ

Jun 16, 2011

I am trying to install a module in openerp 6 It requires Pyuno that ships with libre/open -office If i go import uno -- no module called uno but when I go to the /usr/lib64/libreoffice/base3.4/programs and python import uno it works

I cant copy the file to python as the versions differ

View 3 Replies


ADVERTISEMENT

General :: Copy A (big) Directory Over Another Changing Only The Files That Differ?

Feb 3, 2011

I have directory a and directory b. They are big. b is almost identical to a. "almost" means that 4-5 files differ, and I don't know which they are. I want to copy b over a, but only the files that differ. i'm in bash.(no, I can't simply delete a and replace it with b, because 1) a is version-controlled 2) a full copy (or a mv) would take too much. I want to copy only the files that differ).

View 4 Replies View Related

General :: How To Copy A File Using Python

Oct 31, 2009

How do copy a file from one location to another using python script? How do i execute the shell script within python script?

View 1 Replies View Related

Programming :: Waiting For File To Copy Before Continuing Processing (Python)

Mar 25, 2010

I have a Python script that copies a couple of DLL's and EXE to a directory before running the EXE. It can be a fresh copy or the files can already be in the target directory and are then overwritten. The script uses shutil.copy() to copy the files and that works but as the files are copying processing continues and the script tries to run the files mid copy, causing an error.

I need a way to wait for the files to finish copying before the script continues. Putting the thread to sleep isn't good enough, calling os.system("copy ...") also doesn't work, using os.path.exist() won't work because the file will exist during the copy.

View 2 Replies View Related

Slackware :: Default PATH - Python: Can't Open File 'SABnzbd.py': [Errno 2] No Such File Or Directory

Nov 24, 2010

I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory

View 5 Replies View Related

Slackware :: Installing Python 3.2 - No Such File Or Directory

Mar 10, 2011

So I have patched the 3.2 sources similar to the 3.1.3 sources. I used the slackbuild from 3.1.3 as well. I get to the install of the script and I get this:

Code:
...
running install_egg_info
Writing //tmp/SBo/package-python3/usr/lib64/python3.2/lib-dynload/Python-3.2-py3.2.egg-info
Creating directory /usr/man
Creating directory /usr/man/man1
/bin/ginstall -c -m 644 ./Misc/python.man
/tmp/SBo/package-python3/usr/man/man1/python3.2.1
cp: cannot stat `Demo': No such file or directory

I can't build Blender anymore without this update.

View 7 Replies View Related

Slackware :: Freeze On Large File Copy With NFS?

Mar 22, 2010

i don't know if this is a slackware related issue but i have the following problem.I'm running a slackware64-current on my system. For my private data I'm using a QNAP NAS (Some ARM CPU with linux kernel 2.6.22), the file shares provided by NFS. I mount them withmount -t nfs 192.168.0.2:/Public /mnt/qnapWorks fine, no problems.But now, if i try to copy some large files ( > 1GiB) to the NAS share, sometimes the systems completely freezes during the copy process. I have to do a hard reset to bring the system back to work

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

Programming :: Python: Won't Copy To The Clipboard?

Aug 28, 2010

I having a hard time figuring out why this code works in an interactive ipython shell, but it gives a blank clipboard when run in a bash terminal.

Code:
#! /usr/bin/python2.6
#

[code]...

View 1 Replies View Related

Slackware :: Installing New Software On Slackware 13 X64 / Especially Python

Mar 26, 2010

I'm now up and running on slackware 13 x64. I have noticed that the version of Python installed was 2.6.2 but there were a lot of bug fixes between this and 2.6.5. What is the best way to get 2.6.5 running on my machine. Do I have to install from source or is anybody aware of any packages that have been released?

Again, I'm not too familiar with package management systems on Slackware as I have always installed from source but this became a bit of a bind recently as updating software to newer versions involved a lot of hard work. Can anybody give me an ideas on the packaging systems available, the best ones to use, and where I can find information about the packages related to the package managers?

View 9 Replies View Related

Slackware :: Install And Use Several Versions Of Libjpeg?

May 25, 2011

I need to build HDF library from sources. This library requires libjpeg-6b and won't compile with newer libjpeg-8 which already available.

Well, I download and install libjpeg-6b, but can't understand how to force use this library instead system default.

P.S.: I try to find any SlackBuilds for HDF4, but found them only for HDF5.

View 3 Replies View Related

Slackware :: Way To Chose Between 64 And 32 Bit Versions Of Iso Installer

Jun 28, 2011

Is there any way to chose between 64 and 32 bit versions of the iso installer ?

View 7 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

General :: Special Versions Of GNOME Maintained For Slackware / Why Is So?

Apr 22, 2011

Newbie here. I'm thinking about going from Ubuntu to Slackware and I just saw on Wikipedia that there is a number of projects that maintain GNOME binaries especially for Slack. So that made me wonder, why is that needed? What if I download a bare version of Slack and then build the standard GNOME version from source? Would that produce problems?

View 3 Replies View Related

Slackware :: Using Dual Layer DVD As Bootable Disk For Two Versions?

Nov 8, 2010

I have downloaded both the 32 bit and the 64bit version of slackware, I have a dual layer dvd and I was thinking to put both versions on one dvd! I just want to be able to choose which one to install with a simple menu. How can I do this?

View 3 Replies View Related

Slackware :: Skype Versions And Webcam Support In CURRENT

Apr 30, 2010

I failed to get webcam support on CURRENT with Skype version 2.1.0.81, Skype did not see the device at all (using libv4l).Downgraded Skype to version 2.0.0.72 and webcam works well.

View 7 Replies View Related

Slackware :: Slackpkg Download New Versions Of Installed Pkgs?

Feb 20, 2011

I have a minimal install, and want to download the latest versions of only the packages I have installed.

What is the easiest way to do this with slackpkg?

So far it seems to want to download everything...

View 5 Replies View Related

General :: How Does One Distro Differ From Another

May 9, 2011

I'm not saying all distros are the same, I mean that majority of them are very similar. For instance, Kubuntu and Linux Mint 10 KDE's GUI are almost the same, use the same package manager, but their GRUB2 Bootloader's background is different *In which case I prefer Linux Mint's*, but then again Mint is based off of Ubuntu. What I mean is, what is the difference from one Distro running GNOME3, or KDE 4.6 from another running the same exact Desktop Environment? I know the package manager might be different, and a few changes in the GUI to make it differ. I'm not too used to the Command Line, but I am still learning, but from what I used in Linux Mint and Ubuntu, they're the same. They all *Or most* use BASH, right? Can someone tell me the differences in the distros?

Bonus Question: Which Distro do you like the most, why and why not? Favorite Desktop Environment?

View 6 Replies View Related

Slackware :: Sbopkg - How To Install Svn Versions Of X264 - Ffmpeg - Mplayer ?

Jan 29, 2010

How users to install the latest svn versions of x264, ffmpeg and mplayer. Primarily, this is important for users who rip movies from dvds.

How do I perform the same tasks using sbopkg? I believe some compilation options must be changed to reflect the svn changes.

Has anyone done this before? Are the steps important when using slackware 13 x86_64?

View 5 Replies View Related

Slackware :: Using Old Versions Of Slackware?

Nov 21, 2010

I am using 2 distibutions of Slackware. On first partition it is Slackware 13.1, second partition Slackware 12.1. Why?? I have old ati mobility radeon X1350. This card is not supported in newer versions of kernel and Xorg-server that have Slack13.1. I am using only ati open drivers with MESA 2.7.9 with experimental 3D support. But this is not so good for gaming, sometimes I play RTCW multiplayer and OpenArena.

I installed Slackware 12.1 with kernel 2.6.24.5 on second partition. I use fglrx 8.5 and I have full 3D rendering now. My graphic card need this or older kernel to full 3D support. Every software and packages that I was using in Slack 13.1, I am using in Slack 12.1 now in older versions. My question:

What do you experienced slackers think about it? I have now outdated system with everything what I need, but only differences are older versions of packages and 3D rendering card.

View 10 Replies View Related

Programming :: Converting A HTML File To A PNG File Through Python Script?

Jan 29, 2010

I have managed to create a HTML file inside python code,convert this to a PNG file through a Python script ?

EDIT: Details added: I have a python script which generates map-legends in the form of an html file. The legend generated have to be pasted on a map which is in a png format. A png format file can be pasted on another png format file easily. But because the legends generated are in a html format I cannot paste it on the map file !!

EDIT: Details added: I did Googling first but it resulted in various soft wares for above purpose which I don't want !!

View 12 Replies View Related

Slackware :: Does Gstp-python Compile On 64 13.1 ?

Jun 20, 2010

Is this package supposed to compile on slakware64 13.1 ( I have also multilib) ?

I m trying to but I m encountering this problem:

Code:

View 6 Replies View Related

Slackware :: Possible To Downgrade Version Of Python To 2.5?

Oct 26, 2009

This may sound a bit of an awkward question, but I have this app, Salome-Platform, [URL], It requires Python 2.5 at most to be able to run. (Compiling it is way to complex.) Since the Python of Slackware is 2.6, can it be downgraded to 2.5...? If it can, how do I do it...?

View 15 Replies View Related

Slackware :: Boot In Clean Copy Of Slackware 13?

Oct 9, 2010

A friend of mine threw me an OLPC (original model with 1GB of storage) that he was trying to put slackware in. He managed to install a minimal installation, but now it asks for the e2fstools (the stuff to run fsck on ext(2/3/4) partitions) which he didn't install (he formatted the "disk" as a single jfs partition). Is there any reason why it would want to have those tools given that there are no ext(2/3/4) type filesystems in that machine? And is there any specific init script (or udev rule) that can be edited to make it not try and check ext(2/3/4) partitions?

View 4 Replies View Related

Slackware :: Adding Python After Initial Install ?

Apr 14, 2011

Just installed 13.1 64bit on my laptop. In an effort to keep things slim, I neglected to install the 'D' group....didn't figure I would be doing any developing (call me a literalist). I install Wicd and find that Python is a dependency. What is the easiest way for me to make this happen? Should I just install the python txz or will there be more dependencies that could be solved easier with a script?

View 2 Replies View Related

Slackware :: Pygtk With Numeric Python Support?

Feb 14, 2011

I have tried rebuilding pygtk after installing Numpy and ended up making a mess of python. I have it back to functional now, but I would like to know how to properly add numeric python support. I suspect there is a proper order to building all of the python dependencies that yields success. Ultimately I am trying to run mypaint.

View 3 Replies View Related

Slackware :: Which Package Brings Python Numeric

Jan 17, 2010

I wish to install Python Numeric in site-packages... which package brings this...?I have searched in the Slackbuilds... and no Luck so far...

View 10 Replies View Related

CentOS 5 :: How Does 5.2 Differ On 8 Year Old Toshiba Laptop From 2009 Xeon Server

Mar 20, 2009

My work reponsibilities now include a new server running Centos 5.2 on a Dual Xeon Dell server machine with Raid 1 on 2 160Gb disks, but I have no experience of Linux, let alone Centos.I figured I'd download an image and load it on a spare machine just so I could get used to the OS and try things out without risking my live server. My only available spare at present is a Toshiba laptop from 2000 (it was top of the range at the time, but probably looks bad compared to my pocket smartphone now).My questions are:

a) Is it feasible to load Centos on this old donkey of a laptop? Would I struggle to find the right drivers, etc., or is it all contained in the distribution?

b) Assuming it runs, would the differences between the two implementations significantly affect my learning experience?

c) Assuming the two are similar enough to make the laptop a useful reference/staging/learning tool, where do I start? I've already downloaded an ISO image for LiveCD (i386) and burned it to a CD but the CD doesn't seem to have anything I recognise. Windows (both Vista and XP) treats it like any data CD and shows no autorun behaviour with it.

View 3 Replies View Related

Red Hat :: File Size Varies With Same 'ls -lh' Command Ran On Two Different Versions?

Oct 22, 2010

I ran ls -lh for same tar ball file on RHEL 3 and RHEL 5.3 box. The sixth column of ls -lh output threw 6.3G on RHEL 5.3 box and 16E on RHEL 3 box. Both the machines have ext3 file system.

Find below the output for RHEL 3 and RHEL 5.3 respectively :

2.0T -rwxr-xr-x 1 root root 16E Oct 20 10:34 bac.tar.bz2
6.3G -rwxrwSrwx 1 root root 6.3G Oct 20 10:34 bac.tar.bz2

Do we know how 'ls ' deals with larger numbers ?

View 6 Replies View Related

Slackware :: OpenShot - Sudo Python Setup Install

Mar 19, 2010

Does anybody use openshot in Slackware 13? What I made: I modified the slackbuild script for openshot of Slackbuilds.org for version 1.1.1 and then I made the package and installed it. Of course the dependencies too. But when I start Openshot, I get the following error:

OpenShot (version 1.1.1)
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)
Use the following command to install OpenShot:
$ sudo python setup.py install

View 1 Replies View Related







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