Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.
5
votes
1answer
104 views
Using OGG/Vorbis, is there a way to continue to record to an existing audio file?
I am using Vorbis/ogg to record audio (using arecord and then pipping to oggenc). I have downloaded oggvideotools, which gave me oggCat, which will let me join two previously recorded audio files into ...
1
vote
1answer
48 views
Virtual Python installation not allowing ez_setup?
I don't have root on my system, so I'm trying to create a virtual Python installation. I ran virtual-python.py, and it told me to run ez_setup.py. I found it online and ran it with the command ...
0
votes
1answer
24 views
Django not installing with pip because of mismatched hash
I have a virtual machine set up with a directory created with virtualenv (env2). I am inside this directory and have it activated and want to instal django 1.4. This is my command:
$ pip install ...
0
votes
1answer
46 views
Can't install python because of zypper conflict
I have a virtual machine I just set up. I'm running a completely fresh install of OpenSUSE (with online updates from yast). At the terminal I tried to run python:
$ python
bash: python: command not ...
0
votes
1answer
87 views
I want to install a library which requires a python version and, having two installed, finds the wrong one
I want to install a library on my debian machine and it requires a python version above 2.6.6-7. The machine had installed the version 2.5.2-3, so I installed python 2.7.
When I run python -V, the ...
2
votes
0answers
32 views
Losing sound after installing wine 1.5 (+python 2.7)?
I have a desktop and a laptop computer. Since I wanted to run IrfanView (that works great now!), I installed wine 1.5.22, which involved installing 1 GB of dependencies. The desktop continues to work ...
2
votes
0answers
34 views
How to determine the current Enhanced Zoom factor in Compiz?
When I use Skype :( need to, rather than want to ), I find that I sometimes want to open the main menu, but it doesn't have a shortcut key assigned to it (well, not one that I can find).
I have ...
2
votes
0answers
107 views
Enable sqlite FTS Enhanced Query Syntax in python in RHEL6?
SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well ...
2
votes
0answers
640 views
MySQL socket and PHP (and other languages)
Background info
I'm currently running CentOS (or Red Hat?).
uname -a gives (I edited out my domain name)
Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 ...
1
vote
0answers
121 views
avconv/ffmpeg output through /dev/ttyAMA0
I tried to pipe streaming video from video4linux2 webcam connected to a Raspberry Pi through /dev/ttyAMA0 to a computer using an Arduino as a intermediary. First of all, is it possible? Because I was ...
1
vote
0answers
55 views
How to resume the ?WATCH command when a USB GPS is reconnected
I have some hacks to ensure that my USB GPS devices continues spitting data if disconnected, then reconnected. The devices are so flaky that they need restarting so as to continue transmitting data.
...
1
vote
0answers
114 views
Python bindings for libtorrent-rasterbar are not working on debian
I'm running Debian 6.0.6
I've downloaded latest version of libtorrent-rasterbar from here: http://code.google.com/p/libtorrent/downloads/detail?name=libtorrent-rasterbar-0.16.6.tar.gz&can=2 and ...
1
vote
0answers
70 views
How do I fix my FastCGI Pinax / Django deployment?
I'm running OSX Lion (posted here because this is a Unix-specific question), and am trying to deploy a Pinax project via FCGI. I have the FastCGI daemon running:
$ ps wwaux | grep fcgi
jonathan ...
1
vote
0answers
87 views
How do I satisfy the “warnings” Pinax requirement?
I'm trying to build a Pinax virtualenv. I get, on Precise Penguin with 0.7:
jonathan@ubuntu:~/Downloads/Pinax-0.7-bundle/scripts$ ./pinax-boot.py ~/virtual
New python executable in ...
1
vote
0answers
46 views
How to access storage device related events with Zeitgeist?
I am trying to get my mind around Zeitgeist, using the Python DBus API.
To get the latest accessed files and application is not so hard, here is what I do:
#! /usr/bin/env python
from ...
1
vote
0answers
382 views
py3compile error - Unable to get the locale encoding
After reinstalled the python3.2, I got the error as below when call py3compile:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: no codec search functions registered: ...
1
vote
0answers
211 views
Why am I getting an AttributeError when I try to use Pyjamas desktop on Fedora 15?
I am trying to run pyjamas-desktop on my Fedora 15. All packages were installed, I have adjusted PYTHONPATH to include /usr/share/pyjamas/library, but when I try to run a simple example:
from ...
0
votes
0answers
12 views
Mezzanine start up script
I am having a world of pain writing a simple start up script for Mezzanine. Running python manager.py runserver just refuses to demonize using start-stop-daemon. Does anyone know of a such a simple ...
0
votes
0answers
22 views
Lots of 'python-console' entries in top
24377 me 20 0 128m 34m 3856 S 0 0.9 0:00.83 python-console
I have about 40 odd entries like this when I run top. I have no python console windows open and rebooted my machine since I ...
0
votes
0answers
159 views
mod_python won't “./configure” because it can't determine httpd version
I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
0
votes
0answers
178 views
python error using an executable with Z shell
I'm getting this error from the Unix Z shell (I'm on Mac):
python: posix_spawn: /System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python: No such file or ...
