[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2008-03-02 Thread Matthias Klose
> Sorry about the hasty post. The pyversions fix I mentions previously does not 
> completely fix the problem.
> The problem is the symlink but it breaks more pieces of python-central than 
> just pyversions.
> The easiest fix I've found is to restore the expected directory structure.

yes, this is indeed the best thing to do. 0.5.61 is more robust in this
regard. Closing this now as won't fix (detaching the other reports
marked as duplicates)


** Changed in: python-central (Ubuntu)
   Status: Incomplete => Won't Fix

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-09-27 Thread Caspin
Sorry about the hasty post.  The pyversions fix I mentions previously
does not completely fix the problem.  The problem is the symlink but it
breaks more pieces of python-central than just pyversions.  The easiest
fix I've found is to restore the expected directory structure.

ls -l /usr/bin/pyton
take note of your default
sudo rm /usr/bin/python
sudo ln -s python2.4 /usr/bin/python
replace python2.4 with you default.  Notice, the lack of a path it is important

now when you ls -l the line should end with

/usr/bin/python -> python2.4


BTW: I am using edgy and the workaround did not work for me.  Without the fix I 
am unable to uninstall any python packages and only install a few of them.

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-09-27 Thread Caspin
I believe the root of this problem is in /usr/bin/pyversions
It will incorrectly report the python version if the /usr/bin/python is not a 
symlink pointing to python*.  Without this value python is unable to get the 
default_runtime and leaves it as None.  Hence the error, AttributeError: 
'NoneType' object has no attribute 'byte_compile'
A fix is posted in the comments to bug report 92287 that should fix this as 
well as any similar errors

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-04-06 Thread Dan Buch
the workaround worked for me, too, btw   :D

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-04-05 Thread Dominic Durdan
The wierd thing is that I can't find any byte compiling setting bits in
any of the post or pre install scripts in the offending packages.

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-04-05 Thread William F. Pearson, III
I was affected by the bug too. The work around corrected the errors.

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-04-04 Thread Dan Buch
I first experienced this problem with the deskbar-applet package, but
now I'm getting the same error with the gedit-plugins package.  The
weird part (I think?) is that gedit-plugins seems to have installed just
fine - I just continue to receive this traceback whenever using apt-get:

Setting up gedit-plugins (2.18.0-0ubuntu1) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1394, in 
main()
  File "/usr/bin/pycentral", line 1388, in main
rv = action.run(global_options)
  File "/usr/bin/pycentral", line 899, in run
self.options.exclude, byte_compile_default=True)
  File "/usr/bin/pycentral", line 682, in install
self.default_runtime.byte_compile(self.private_files, bc_option,
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing gedit-plugins (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 gedit-plugins
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
[apport] pycentral crashed with AttributeError in install()
https://bugs.launchpad.net/bugs/93518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-30 Thread Marian Neagul
I have the same problem, and I used the same quick-fix. Is there a
permanent workaround ?

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-28 Thread Dominic Durdan
Install of launchpad-integration_0.1.10_all.deb update also returns
errors after updating to python-central_0.5.12ubuntu3 which is listed as
current.

apt-get terminal dump is attached.

Once again changing line 899 in /usr/bin/pycentral from:

 self.options.exclude, byte_compile_default=True)

to

 self.options.exclude, byte_compile_default=False)

and changing line 962 in /usr/bin/pycentral from

 pkg.remove(runtimes, remove_script_files=True)

to

 pkg.remove(runtimes, remove_script_files=False)

allows successful completion of this update. It's also important to note
that neither apt, synaptic, or the update-manager will continue on after
this error is thrown, this workaround allows the rest of the packages to
continue to be installed. That terminal dump is also attached.

** Attachment added: "Terminal dump of apt-get upgrade for offending package 
launchpad-integration_0.0.10_all"
   http://librarian.launchpad.net/7038048/apt-get-error.txt

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-28 Thread Dominic Durdan

** Attachment added: "Post workaround apt-get terminal dump"
   http://librarian.launchpad.net/7038051/post-workaround-apt-get.txt

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-21 Thread Daniel Holbach
Matthias: does this change make sense?

** Changed in: python-central (Ubuntu)
   Importance: Undecided => Medium
 Assignee: (unassigned) => Matthias Klose
   Status: Unconfirmed => Needs Info

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-18 Thread Dominic Durdan

** Attachment added: "Modified version of /usr/bin/pycentral"
   http://librarian.launchpad.net/6853289/pycentral

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 93518] Re: [apport] pycentral crashed with AttributeError in install()

2007-03-18 Thread Dominic Durdan

** Attachment added: "Dependencies.txt"
   http://librarian.launchpad.net/6852899/Dependencies.txt

** Attachment added: "ProcMaps.txt"
   http://librarian.launchpad.net/6852900/ProcMaps.txt

** Attachment added: "ProcStatus.txt"
   http://librarian.launchpad.net/6852901/ProcStatus.txt

** Attachment added: "Traceback.txt"
   http://librarian.launchpad.net/6852902/Traceback.txt

-- 
[apport] pycentral crashed with AttributeError in install()
https://launchpad.net/bugs/93518

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs