sys.path[0] is not set when running python program via Debug button

Bug #575188 reported by Jordan Bradley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
monodevelop-python (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: monodevelop-python

If you are writing a Python app using monodevelop and the app uses sys.path[0] to discover its current working directory, your script will fail because sys.path[0] is not set.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: monodevelop-python 2.2-2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 4 10:21:50 2010
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: monodevelop-python

Revision history for this message
Jordan Bradley (jordan-w-bradley) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.