You are not logged in.
I Have an issue whereby i want to use this plugin but am unable to get:
python-libxml2
the cairo-dock web page states this is required for you to be able to enter in your account details, however i get the following when i try to install:
t0m5k1@arch-b0x:~$ yaourt python-libxml2
1 aur/python-libxml2dom 0.4.7-1 (2)
A traditional DOM wrapper around the Python bindings for libxml2
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
==> Downloading python-libxml2dom PKGBUILD from AUR...
x PKGBUILD
Comment by: lifo2 on Thu, 02 Jun 2011 11:09:25 +0000
Needs to replace python by python2 in PKGBUILD
First Submitted: Mon, 01 Mar 2010 01:52:40 +0000
python-libxml2dom 0.4.7-1
This package is orphaned
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> python-libxml2dom dependencies:
- python (already installed)
- libxml2 (already installed)
==> Continue building python-libxml2dom ? [Y/n]
==> -------------------------------------------
==>
==> Building and installing package
==> Making package: python-libxml2dom 0.4.7-1 (Sat May 5 16:12:33 SAST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading libxml2dom-0.4.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 67628 100 67628 0 0 7600 0 0:00:08 0:00:08 --:--:-- 23231
==> Validating source files with md5sums...
libxml2dom-0.4.7.tar.gz ... Passed
==> Extracting Sources...
-> Extracting libxml2dom-0.4.7.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
Traceback (most recent call last):
File "setup.py", line 5, in <module>
import libxml2dom
File "/tmp/yaourt-tmp-t0m5k1/aur-python-libxml2dom/src/libxml2dom-0.4.7/libxml2dom/__init__.py", line 151
raise KeyError, name
^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build python-libxml2dom.
==> Restart building python-libxml2dom ? [y/N]
==> ------------------------------------------
==> so i have the following questions:
Is this the correct package, If not what is the correct one?
Is this error due to the package being old?
How do i move forward with this?
If you require further info to assist please ask & i will attempt to provide
Thanks in advance
Last edited by t0m5k1 (2012-05-14 11:13:51)
Offline
You need to follow the comment and change python to python2 in the PKGBUILD.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Thank you for the response ConnorBehan
apologies for the late response to this, been rather busy work etc any way
I replaced 'python' with 'python2'
and now i get the following error:
==> Continue building python-libxml2dom ? [Y/n]
==> -------------------------------------------
==>
==> Building and installing package
==> Making package: python-libxml2dom 0.4.7-1 (Sun May 13 21:33:35 SAST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading libxml2dom-0.4.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 67628 100 67628 0 0 35744 0 0:00:01 0:00:01 --:--:-- 60382
==> Validating source files with md5sums...
libxml2dom-0.4.7.tar.gz ... Passed
==> Extracting Sources...
-> Extracting libxml2dom-0.4.7.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
Traceback (most recent call last):
File "setup.py", line 5, in <module>
import libxml2dom
File "/tmp/yaourt-tmp-t0m5k1/aur-python-libxml2dom/src/libxml2dom-0.4.7/libxml2dom/__init__.py", line 151
raise KeyError, name
^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build python-libxml2dom.
==> Restart building python-libxml2dom ? [y/N]
==> ------------------------------------------unsure how to continue ![]()
Last edited by t0m5k1 (2012-05-14 05:10:53)
Offline
@t0m5k1:
Can I get you to use BBCode code code tags around program output. There is also a link under the text box when posting.
Thanks.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
apologies for my n00bishness lol
I'm not used to editing PKG files, have broken so much over time whilst learning i tend to be tentative
Offline