[Bug 816169] Re: When using Ensemble, add-apt-repository no longer functions properly
Juan L. Negron
816169 at bugs.launchpad.net
Sun Aug 21 20:13:28 UTC 2011
It's still an issue in oneiric.
Thanks,
Juan
On Sun, Aug 21, 2011 at 11:25 AM, Clint Byrum <clint at fewbar.com> wrote:
> Whats the status on this now? Has it just been worked around or is it
> still a critical issue in Ensemble?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/816169
>
> Title:
> When using Ensemble, add-apt-repository no longer functions properly
>
> Status in “ensemble” package in Ubuntu:
> Confirmed
> Status in “python2.7” package in Ubuntu:
> Confirmed
> Status in “software-properties” package in Ubuntu:
> Confirmed
>
> Bug description:
> One of the changes made between Jul 22-25 caused add-apt-repository to
> quit working when being called from within an ensemble formula:
>
> + apt-add-repository ppa:cloudfoundry/ppa
>
> 2011-07-25 22:55:32,383: hook.output at ERROR: Fatal Python error:
> Py_Initialize: Unable to get the locale encoding
> File "/usr/lib/python2.7/encodings/__init__.py", line 123
> raise CodecRegistryError,\
> ^
>
> 2011-07-25 22:55:32,384: hook.output at ERROR: SyntaxError: invalid
> syntax
>
> Ensemble does not set many env vars, so this may be the culprit.
>
> When running this from within an Ensemble script on an Oneiric
> install, the error above is yielded, and while the file in
> sources.list.d is written, it uses sid for the distro rather than
> oneiric.
>
> If manually logging in and subsequently running the command,
> everything works as it should, which leads me to believe it is an env
> var issue.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ensemble/+bug/816169/+subscriptions
>
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/816169
Title:
When using Ensemble, add-apt-repository no longer functions properly
Status in “ensemble” package in Ubuntu:
Confirmed
Status in “python2.7” package in Ubuntu:
Confirmed
Status in “software-properties” package in Ubuntu:
Confirmed
Bug description:
One of the changes made between Jul 22-25 caused add-apt-repository to
quit working when being called from within an ensemble formula:
+ apt-add-repository ppa:cloudfoundry/ppa
2011-07-25 22:55:32,383: hook.output at ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/python2.7/encodings/__init__.py", line 123
raise CodecRegistryError,\
^
2011-07-25 22:55:32,384: hook.output at ERROR: SyntaxError: invalid
syntax
Ensemble does not set many env vars, so this may be the culprit.
When running this from within an Ensemble script on an Oneiric
install, the error above is yielded, and while the file in
sources.list.d is written, it uses sid for the distro rather than
oneiric.
If manually logging in and subsequently running the command,
everything works as it should, which leads me to believe it is an env
var issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ensemble/+bug/816169/+subscriptions
More information about the foundations-bugs
mailing list