You are not logged in.

#1 2012-05-05 14:22:39

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

[SOLVED]Gmail Cairo-dock plugin

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)


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#2 2012-05-05 19:18:55

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED]Gmail Cairo-dock plugin

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

#3 2012-05-13 19:38:17

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: [SOLVED]Gmail Cairo-dock plugin

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 sad

Last edited by t0m5k1 (2012-05-14 05:10:53)


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#4 2012-05-13 19:56:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [SOLVED]Gmail Cairo-dock plugin

@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

#5 2012-05-14 11:15:34

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: [SOLVED]Gmail Cairo-dock plugin

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


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

Board footer

Powered by FluxBB