Re: [blfs-support] wicd error

2016-09-24 Thread spiky



On 09/24/16 23:03, akhiezer wrote:

From: spiky <martynvid...@aol.com>
Date: Sat, 24 Sep 2016 19:34:39 +0100
Subject: Re: [blfs-support] wicd error


.
.

in the email. Anyways, after running the sed command and before
running configure, edit setup.py, line 321, and line up the
indentation on that line with the other lines.

That fixed it thanks for that.


NB of course that the sed includes also the
'.../wpath.logrotate\|wpath.systemd/d...' part, and not just the
indentation part; so be sure that the former has been applied too.


More generally, do you understand what's going on when a single commmand
is written/issued across multiple lines, with '\' at the end of each
line except for the last.




akh





--


I was using the systemd version

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \


I think your last comment was for init version which are different.

sed -e "/wpath.logrotate\|wpath.systemd/d" \
-e "/detection failed/ a\self.init=\'init\/default\/wicd\'" 
\

And no I,m not very good with sed commands



-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread akhiezer
> From: spiky <martynvid...@aol.com>
> Date: Sat, 24 Sep 2016 19:34:39 +0100
> Subject: Re: [blfs-support] wicd error
>
.
.
> > in the email. Anyways, after running the sed command and before 
> > running configure, edit setup.py, line 321, and line up the 
> > indentation on that line with the other lines.
> That fixed it thanks for that.


NB of course that the sed includes also the
'.../wpath.logrotate\|wpath.systemd/d...' part, and not just the
indentation part; so be sure that the former has been applied too.


More generally, do you understand what's going on when a single commmand
is written/issued across multiple lines, with '\' at the end of each
line except for the last.




akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread spiky



On 09/24/16 19:26, Paul Hentschel wrote:

On 09/24/2016 02:21 PM, Paul Hentschel wrote:

On 09/24/2016 02:15 PM, Paul Hentschel wrote:

On 09/24/2016 01:53 PM, spiky wrote:

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
--no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4



Try this and tell me if it works:
sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul


Hmm, the extra spaces I added are not in the reply I sent. I added 15
spaces after the a\ in the sed to make it work for a total of 16 spaces.
Here it is again:

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul


It appears the extra spaces I add to that line keep getting stripped 
in the email. Anyways, after running the sed command and before 
running configure, edit setup.py, line 321, and line up the 
indentation on that line with the other lines.

That fixed it thanks for that.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread spiky



On 09/24/16 19:15, Paul Hentschel wrote:

On 09/24/2016 01:53 PM, spiky wrote:

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4



Try this and tell me if it works:
sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul

nope same error

wicd-1.7.4$ sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
> -i.orig setup.py &&
>
> rm po/*.po   &&
>
> python setup.py configure --no-install-kde \
>   --no-install-acpi\
>   --no-install-pmutils \
>   --no-install-init\
>   --no-install-gnome-shell-extensions \
>   --docdir=/usr/share/doc/wicd-1.7.4
  File "setup.py", line 321
self.init='init/default/wicd'
^
IndentationError: unindent does not match any outer indentation level

Even with the 2nd one you sent

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread Paul Hentschel

On 09/24/2016 02:15 PM, Paul Hentschel wrote:

On 09/24/2016 01:53 PM, spiky wrote:

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4



Try this and tell me if it works:
sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul


Hmm, the extra spaces I added are not in the reply I sent. I added 15 
spaces after the a\ in the sed to make it work for a total of 16 spaces. 
Here it is again:


sed "/detection failed/ a\ 
self.init=\'init\/default\/wicd\'" \

-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread Paul Hentschel

On 09/24/2016 01:53 PM, spiky wrote:

sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4



Try this and tell me if it works:
sed "/detection failed/ a\ 
self.init=\'init\/default\/wicd\'" \

-i.orig setup.py &&

rm po/*.po   &&

python setup.py configure --no-install-kde \
  --no-install-acpi\
  --no-install-pmutils \
  --no-install-init\
  --no-install-gnome-shell-extensions \
  --docdir=/usr/share/doc/wicd-1.7.4

Paul
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread spiky



On 09/24/16 18:19, akhiezer wrote:

 From blfs-support-boun...@lists.linuxfromscratch.org Sat Sep 24 17:55:25 2016
To: blfs-support@lists.linuxfromscratch.org
From: spiky <martynvid...@aol.com>
Date: Sat, 24 Sep 2016 18:15:36 +0100
Subject: Re: [blfs-support] wicd error



On 09/24/16 17:31, akhiezer wrote:

From: spiky <martynvid...@aol.com>
Date: Sat, 24 Sep 2016 17:44:55 +0100
Subject: [blfs-support] wicd error

Trying to build wicd I get an error, I think with the sed


|sed "/detection failed/ a\self.init=\'init\/default\/wicd\'" \> -i.orig

Why have you got an '>' in there - it's wrong:

Ref: http://www.linuxfromscratch.org/blfs/view/stable/basicnet/wicd.html
==
sed -e "/wpath.logrotate\|wpath.systemd/d" \
   -e "/detection failed/ a\
self.init=\'init\/default\/wicd\'" \
   -i.orig setup.py



(You need to be able to self-detect such things.)



setup.py File "setup.py", line 321 self.init='init/default/wicd' ^
IndentationError: unindent does not match any outer indentation level|


.
.

--

Sorry the > was miscopied, it,s the return in the terminal new line
--


Issue the sed command properly; the '\' at the end of lines 1 & 2,
should be followed immediately by a newline/return - as you'll have
encountered many times thru lfs then blfs, if you are now at wicd.


akh





-


so if I copy and paste the command from the book as with all others I 
have done it fails.


sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \ -i.orig 
setup.py && rm po/*.po && python setup.py configure --no-install-kde \ 
--no-install-acpi \ --no-install-pmutils \ --no-install-init \ 
--no-install-gnome-shell-extensions \ --docdir=/usr/share/doc/wicd-1.7.4 |File "setup.py", line 321 self.init='init/default/wicd' ^ 
IndentationError: unindent does not match any outer indentation level 
Sorry if I,m not grasping something, but I have not had issues with 
other commands. |




-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread akhiezer
> From blfs-support-boun...@lists.linuxfromscratch.org Sat Sep 24 17:55:25 2016
> To: blfs-support@lists.linuxfromscratch.org
> From: spiky <martynvid...@aol.com>
> Date: Sat, 24 Sep 2016 18:15:36 +0100
> Subject: Re: [blfs-support] wicd error
>
>
>
> On 09/24/16 17:31, akhiezer wrote:
> >> From: spiky <martynvid...@aol.com>
> >> Date: Sat, 24 Sep 2016 17:44:55 +0100
> >> Subject: [blfs-support] wicd error
> >>
> >> Trying to build wicd I get an error, I think with the sed
> >>
> >>
> >> |sed "/detection failed/ a\self.init=\'init\/default\/wicd\'" \> -i.orig
> >
> > Why have you got an '>' in there - it's wrong:
> > 
> > Ref: http://www.linuxfromscratch.org/blfs/view/stable/basicnet/wicd.html
> > ==
> > sed -e "/wpath.logrotate\|wpath.systemd/d" \
> >   -e "/detection failed/ a\
> > self.init=\'init\/default\/wicd\'" \
> >   -i.orig setup.py
> > 
> >
> >
> > (You need to be able to self-detect such things.)
> >
> >
> >> setup.py File "setup.py", line 321 self.init='init/default/wicd' ^
> >> IndentationError: unindent does not match any outer indentation level|
> >>
.
.
> > --
> Sorry the > was miscopied, it,s the return in the terminal new line
> -- 


Issue the sed command properly; the '\' at the end of lines 1 & 2,
should be followed immediately by a newline/return - as you'll have
encountered many times thru lfs then blfs, if you are now at wicd.


akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wicd error

2016-09-24 Thread spiky



On 09/24/16 17:31, akhiezer wrote:

From: spiky <martynvid...@aol.com>
Date: Sat, 24 Sep 2016 17:44:55 +0100
Subject: [blfs-support] wicd error

Trying to build wicd I get an error, I think with the sed


|sed "/detection failed/ a\self.init=\'init\/default\/wicd\'" \> -i.orig


Why have you got an '>' in there - it's wrong:

Ref: http://www.linuxfromscratch.org/blfs/view/stable/basicnet/wicd.html
==
sed -e "/wpath.logrotate\|wpath.systemd/d" \
  -e "/detection failed/ a\
self.init=\'init\/default\/wicd\'" \
  -i.orig setup.py



(You need to be able to self-detect such things.)



setup.py File "setup.py", line 321 self.init='init/default/wicd' ^
IndentationError: unindent does not match any outer indentation level|




akh





--

Sorry the > was miscopied, it,s the return in the terminal new line
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] wicd error

2016-09-24 Thread spiky

Trying to build wicd I get an error, I think with the sed


|sed "/detection failed/ a\self.init=\'init\/default\/wicd\'" \> -i.orig 
setup.py File "setup.py", line 321 self.init='init/default/wicd' ^ 
IndentationError: unindent does not match any outer indentation level|


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page