Python is an interpreted programming language that is often, but not solely, used as a scripting language. A version of Python is included by default on all Ubuntu distributions.

learn more… | top users | synonyms

3
votes
0answers
177 views

Emit signal for GIO.DBusProxy in python?

I'm using GIO high level DBus API - DBusProxy object. I'd like to emit signal on this object (faking signal coming from remote interface). I do something like this: proxy.emit('g-signal', ...
2
votes
0answers
52 views

How to properly install PySide via pyenv?

I'm running Ubuntu 13.10 with Python 3.3.4, installed via pyenv. Running sudo apt-get install python3-pyside installs PySide in /usr/lib/python3/dist-packages/PySide, and I can make a symlink to that ...
2
votes
0answers
479 views

Can't enable Google Music Plugin on Rhythmbox 3.00 ubuntu 13.10 - python error

I am having a problem enabling the gmusic plugin on Rythmbox 3.00 in ubuntu 13.10, it worked in Rythmbox 2.9 but now it stopped working, tryed with PPA and PIP installations and both fail. I ...
2
votes
0answers
111 views

Can't find Spyder or Ipython Notebook applications after Anaconda install (xubuntu 13.10)

I installed Anaconda 2.7. I can run spyder and ipython notebook from the terminal but I can't find the applications at all from the desktop. Is there a specific place I should look? Should I just ...
2
votes
0answers
183 views

libreoffice Python Uno support for Python 2.7 on Ubuntu Saucy 13.10

I recently upgraded to Ubuntu 13.10 and discovered that the python-uno package is no longer available. Instead I find a python3-uno package. Unfortunately I need Python uno libreoffice support for ...
2
votes
0answers
56 views

Specify the install-place in a package

I created a package (with dpkk-build and dh_make) from my own program source and got a deb-binary. So far, so good. No if I'd upload the package to my ppa and installed it from there, the program ...
2
votes
0answers
406 views

Canopy Express in Ubuntu 12.04 32-bit doesn't start

I installed the 32-bit version of Canopy Express in my Ubuntu 12.04 32-bit machine. I followed the installation guides here. Then when I run the program I get the following dialogue: Permission ...
2
votes
0answers
85 views

Terminal won't print “Refresh” in terminal

I have a slight problem today with my Ubuntu app. I've been following a Youtube tutorial. I've provided the link below with the rest of the links provided to help you find out the cause of the ...
2
votes
0answers
238 views

Python requests SSL version

I am using the python requests module on Ubuntu 13.04. I keep getting the error: requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert ...
2
votes
0answers
423 views

How do I install python in wine? I keep getting an error

Please help! I've been searching google, forums, and have yet to find a solution. Here is the output from my terminal: 2013-02-25 12:57:05 (1.01 MB/s) - `pywin32-214.win32-py2.6.exe' saved ...
2
votes
0answers
68 views

How to make Gtk spinbutton symbolic in 12.04 in only a specific application?

I am currently developing an application for Ubuntu 12.04 and Ubuntu 12.10 systems. My application is completely monochromatic except for the spinbuttons as seen in the screenshot below. This issue ...
2
votes
0answers
226 views

ubuntugis demands a partial upgrade? Is this safe?

I would like to do some GIS in ubuntu. When I use the repo: sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable Update manager asks me to do a partial upgrade. The packages it wants to ...
2
votes
0answers
94 views

Is python-augeas missing a dependency on libpython2.7?

When I install python-augeas on a "minimal server" Ubuntu installation of 12.04 LTS, it throws the following import error when I try to use it: # python Python 2.7.3 (default, Aug 1 2012, 05:14:39) ...
2
votes
0answers
159 views

Python Access Pidgin Data Structure by Dbus

I recentely started to program in Python and making a script/plugin for Pidgin,i need to access PurpleConversationUiOps and use the has_focus field,based in some examples in documentation of Pidgin i ...
2
votes
0answers
571 views

How to refresh unity launcher icons from python

I have written a program that runs from the unity launcher. In my preferences it would be useful for users to change the default icon of the .desktop launcher. I've set it up to change the file, but ...
2
votes
0answers
108 views

How do I use the Discoverer module with pygi GstPbutils?

I'm trying to port some pygtk music player code to pygi which uses gst's discoverer module. from gi.repository import Gst, GstPbutils def on_discovered(discoverer, ismedia): print("%s -- %s" %( ...
2
votes
0answers
152 views

Custom widgets/controls in application indicators

I want to develop an app for ubuntu, that integrates inside the calendar indicator/menu. It should allow to enter info right from it, and have several controls like input boxes, drop downs, spinners ...
2
votes
0answers
601 views

Programming with DBus using PyQt

I'm trying to write a desktop environment that supports the global menu Before I get started with my main task In PyQt I'm trying to get the dbus code to work with QtDBus as a proof of concept. Here's ...
1
vote
0answers
39 views

Ubuntu 12.04 ext4-fs error/inode

I am running a Dell PowerEdge T420 with Ubuntu 12.04 32bit. The hard drives are a RAID1 setup. Last week, I began getting errors that cause the build I am running to fail. I found this in the log ...
1
vote
0answers
33 views

Implementing Unity Global Menu

I'm working on a desktop (like XFCE) as a private project, and I would like to implement the Unity Global Menu in my desktop using python. I've looked at the Dbusmenu API and even Unity's dbus ...
1
vote
0answers
17 views

ASCII Control Characters UBUNTU 12.04LTS

I have a Python 2.7 program that accepts IUID 2d Bar Codes from a hand scanner. I developed this on Windows XP using pyQT and both the scanner that send ASCII Control Characters and the one that ...
1
vote
0answers
60 views

How do I launch Everpad?

The Problem: Unable to launch Everpad on 64bit Ubuntu 13.10. I get the below error: $ everpad Traceback (most recent call last): File "/usr/bin/everpad", line 9, in <module> ...
1
vote
0answers
67 views

Cannot access horizon, python compiling issue

I've successfully deployed OpenStack Havana using Juju over Ubuntu precise. Each charm on dedicated server and everything looks normal. When I tried to access horizon, I get the login page and ...
1
vote
0answers
28 views

Recommended way to check/fire alarm in Python (PyGI/PyGTK)

I am learning to develop an application by using Quickly (quickly create ubuntu-application). This application will stay in Application Indicator / Notification Bar and only work when a defined ...
1
vote
0answers
90 views

How to ssh tunnel to ec2 for running a local python script

I can create a tunnel for FF using the below on Ubuntu. Machine is 12.04 in a VBox on a mac host. -i ~/.ec2/aws_development_oregon.pem -C2qTnN -D 8080 ubuntu@test.com But..what I need is for my ...
1
vote
0answers
185 views

adding request to DHCP starvation using Scapy?

using this code for DHCP Starvation conf.checkIPaddr = False ...
1
vote
0answers
48 views

aptdaemon simulation not updating dependencies

I started playing with aptdaemon on Ubuntu 13.10 recently, and I'm baffled. Calling simulate() on a transaction doesn't update the dependencies list. Debug from aptd shows that several events are ...
1
vote
0answers
77 views

Why am I unable to load python gedit plugins?

I am running Ubuntu 12.04.03 with 3.5.0-44-generic kernel. Python 2.7 and 3.2 are installed. However, whenever I try to enable gedit plugins (python ones, like Bracket completion or Code comment) I ...
1
vote
0answers
29 views

AppIndicator documentation for Python

Where has the documentation for the Python bindings to AppIndicator gone? Visiting this official looking page, all the links are broken.
1
vote
0answers
190 views

Can't Start Carbon - 12.04 - Python Error

I am really hoping someone can help me as I have spent at-least 15 hours trying to fix this problem. I have been given a task by a potential employer and my solution is to use ...
1
vote
0answers
38 views

Issue getting mysql to work correctly

I am installing a custom app that needs mysql, which I already had working so I am a bit confused on whats going on. Anyways here is the error Error loading MySQLdb module: this is MySQLdb ...
1
vote
0answers
41 views

How to control GtkScales with Python?

I want to add GtkScales in a Quickly application and control it with Python to adjust Brightness via xrandr. We have already made the code via raw Python here and would like to do this via Quickly to ...
1
vote
0answers
503 views

Eclipse - not opening, it was working before, how to fix it and open the eclipse ide for python?

It was working since last night, this morning stop opening, how to fix this? sun@sun-M14xR2:~/Downloads/easyeclipse-python-1.3.1$ ./eclipse ./eclipse: error while loading shared libraries: ...
1
vote
0answers
112 views

How to embed a new Window on GTK Quickly Glade

I'm doing a program with Quickly, but I'm something new .. In same way, I learned well enough to program an application. But I need the structure in glade, I mean ... are only two main windows ... the ...
1
vote
0answers
154 views

install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
1
vote
0answers
449 views

Firefox won't work. Locale not supported by C library

I just got a server running with ubuntu on it for the first time, I connect with ssh. I am a mac user, learning ubuntu. The idea is to automate some tasks on the server. One of these tasks involves ...
1
vote
0answers
172 views

How can a debian package install python modules from PyPI

This question tries to complement this one . I have a python app which uses third party modules from PyPI. I want to package my app into a debian package, but don't know how to handle python ...
1
vote
0answers
316 views

How to run Python- postgresql in ubuntu 12.04

I am trying to test pyhton-postgresql script in ubuntu 12.04. The script is this: import psycopg2 import sys con = None try: con = psycopg2.connect(database='mydb', ...
1
vote
0answers
284 views

How to make Ubuntu 13.04 open .py with IDLE for Python 2.7 automatically?

I'm using Ubuntu 13.04 and python 2.7. When I click a .py file, it opens it in gedit. I want it to open in IDLE. When I right-click and choose "open with", IDLE is not in the list. I have tried ...
1
vote
0answers
130 views

Modifying openstack-dashboard package's source code in Ubuntu when installed using apt-get

I have installed HORIZON openstack-dashboard using "apt-get install openstack-dashboard". I want to apply a patch to that code. I tried to search for the directory where this package's source-code is ...
1
vote
0answers
76 views

Dotdeb alternatives for Ruby or Python?

I really like Dotdeb, but it doesn't include packages for Ruby and Python. While I could build my own repository, I wouldn't want to reinvent the wheel (and then be forced to drive). Are there any ...
1
vote
0answers
51 views

quickly dependecies problem

I use quickly to develop an app. The thing is I wanted to use a library called BeautifulSoup which is found in Universe repository, under python-bs4 library. So I did a quickly configure ...
1
vote
0answers
42 views

What's “Unity.LayoutHint” intended for?

I currently write my own lense in python (Ubuntu 13.4) using singlet. In the api documentation, there is a Unity.LayoutHint (View), which is used by Unity.PreviewAction (View). I don't see any change ...
1
vote
0answers
58 views

Change icon with Launcher API

With Launcher API provided by libunity I can add a counter or a progress-bar to my application icon. But I would also like to change the icon it self or the name of the application. Is this possible? ...
1
vote
0answers
28 views

Batch Launchpadlib api queries together

I want to get information about all the ubuntu bugs filed till date. So I used the launchpadlib api to get all of them using the id. I start a loop at id 1 and continue. But this is a very slow ...
1
vote
0answers
113 views

Turn screen off when no motion in front of webcamera

Is it possible to automatic turn screen off when there is no motion detected in front of webcamera for X minutes ? Can i use sudo service motion start and xset dpms force on/off somehow ...
1
vote
0answers
195 views

gcalcli throwing ssl errors in 13.04

I'm using Ubuntu 13.04. I was using gcalcli (from source) previously on Ubuntu 12.04 and it was working fine. But on 13.04, it fails to authenticate google with an ssl error. It opens a new bowser ...
1
vote
0answers
192 views

Store cookies with WebKit (python)

So I was watching the "Create Your First Ubuntu App"-Video from Jono Bacon and got the idea, to create a simple app. That creates a window with a WebView und opens the URL to Google Keep. Everything ...
1
vote
0answers
511 views

eclipse + pydev autocomplete

Problem:- Autocomplete for python not working in eclipse + pydev. Platform:- OS is Lubuntu; Eclipse Version: 4.2.2; PyDev for Eclipse 2.7.3.2013031601 I have configured the pythonpath in ...
1
vote
0answers
189 views

How to create an Ubuntu app using python and Qt4 designer

I recently started developing Ubuntu desktop apps using Quickly. But then I tried out the Qt4 designer and I feel more comfortable with it than Glade designer that Quickly uses. I liked developing ...