Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Pino Toscano
On martedì 26 dicembre 2017 10:49:12 CET Pino Toscano wrote:
> Hi Rob,
> 
> In data domenica 24 dicembre 2017 20:36:36 CET, Rob Brewer ha scritto:
> > I'm aware its been some time since knode has been supported but until to-
> > days kdepim unstable upgrade knode has worked alongside kmail without 
> > problems, but now want's to remove knode.
> 
> I see there are some package conflicts in newer PIM packages with
> packages of the kdepim 4.x stack.  I removed them, although
> a) the fixed sources will not be uploaded before the new PIM stack
>migrates to testing
> b) I cannot guarantee there will not be further issues

After the uploads I did yesterday, I see that knode should be
installable again together with the rest of kdepim.  Can you please
confirm the same as well?

> So this is only a short-term issue.  That said, not sure for how long
> the kdepim 4.x stack can still be shipped, although... we will see.

That said, since I published the code (although I need to "present it"
to the PIM people): my personal plan is to create a NNTP resource for
Akonadi, so kmail can be a newsreader client too.  Here
https://cgit.kde.org/scratch/pino/akonadi-nntp.git/
you can see the first version I have so far, which works fine for me.
It will not have all the extra features knode has (like scoring)
though, at least if noone implements them, and it will require a bit
of integration work (like extra actions on right click on a server) in
kmail too.

-- 
Pino Toscano

signature.asc
Description: This is a digitally signed message part.


Updated KDEPIM 17.08 package

2018-01-04 Thread Martin Steigerwald
Hello.

Pino just uploaded a KDEPIM 17.08 package that does no longer depend on a lot 
of development packages. Thank you, Pino.

I did not yet upgrade, but I think this also clears the way to be able to 
upgrade of KF 5.41 from experimental without any work-arounds or dirty hacks.

I think I will try later today.

Thank you,
-- 
Martin

Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Rob Brewer
Pino Toscano wrote:

> On martedì 26 dicembre 2017 10:49:12 CET Pino Toscano wrote:

> 
> After the uploads I did yesterday, I see that knode should be
> installable again together with the rest of kdepim.  Can you please
> confirm the same as well?
> 

Many thanks Pino after yesterdays upgrade I was able to install kdepim 
without removing knode.

> So this is only a short-term issue.  That said, not sure for how long
>> the kdepim 4.x stack can still be shipped, although... we will see.
> 
> That said, since I published the code (although I need to "present it"
> to the PIM people): my personal plan is to create a NNTP resource for
> Akonadi, so kmail can be a newsreader client too.  Here
> https://cgit.kde.org/scratch/pino/akonadi-nntp.git/
> you can see the first version I have so far, which works fine for me.
> It will not have all the extra features knode has (like scoring)
> though, at least if noone implements them, and it will require a bit
> of integration work (like extra actions on right click on a server) in
> kmail too.
> 
This will be great and I really do appreciate your effort in doing this. I 
have not had a chance to look at this yet (see below) and will respond when 
I have had a  look at it.
 Sandro emailed me earlier in the week  asking for help in porting knode to 
Qt5.  I have been looking into what would be required and I would be very 
happy to help but the learning curve to manage this seems to be too steep 
for me. Maybe your NNTP resource would negate the need for the porting 
anyway.

Regarding kmail after the update I can no longer access my gmail IMAP 
account. Looking at the akonadi messages I am seeing 
 
"org.kde.pim.kimap: sasl_client_start failed with: -4 "SASL(-4): no 
mechanism available: No worthy mechs found"
qt.network.ssl: QSslSocket::startClientEncryption: cannot start handshake on 
non-plain connection"

and when looking at gmail account settings all the connection options are 
greyed out.

Could it possibly be due to a missing  XOAUTH plugin? 
I have tried to install  sasl2-bin but this wants to remove :

dolphin4 kde-baseapps-data kdepim-doc kpart-webkit ktnef libgeos-3.5.1 
libkcddb4 libkcompactdisc4 libkonqsidebarplugin4a libmikmod3 libqmobipocket1 
libsdl-mixer1.2 libsdl-net1.2 python3.6-2to3

some of which I expect are needed.

Also kleopatra self test is failing at scdaemon with:

The GnuPG configuration self-check failed. Error code: 1 Diagnostics: 
gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed 
scdaemon:Smartcards:/usr/lib/gnupg/scdaemon:0:0: 

I have tried installing scdaemon but it wants to remove the same packages as 
sasl2-bin  above.

Rob



Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Pino Toscano
On giovedì 4 gennaio 2018 11:00:06 CET Rob Brewer wrote:
> Pino Toscano wrote:
> 
> > On martedì 26 dicembre 2017 10:49:12 CET Pino Toscano wrote:
> > So this is only a short-term issue.  That said, not sure for how long
> >> the kdepim 4.x stack can still be shipped, although... we will see.
> > 
> > That said, since I published the code (although I need to "present it"
> > to the PIM people): my personal plan is to create a NNTP resource for
> > Akonadi, so kmail can be a newsreader client too.  Here
> > https://cgit.kde.org/scratch/pino/akonadi-nntp.git/
> > you can see the first version I have so far, which works fine for me.
> > It will not have all the extra features knode has (like scoring)
> > though, at least if noone implements them, and it will require a bit
> > of integration work (like extra actions on right click on a server) in
> > kmail too.
> > 
> This will be great and I really do appreciate your effort in doing this. I 
> have not had a chance to look at this yet (see below) and will respond when 
> I have had a  look at it.
>  Sandro emailed me earlier in the week  asking for help in porting knode to 
> Qt5.  I have been looking into what would be required and I would be very 
> happy to help but the learning curve to manage this seems to be too steep 
> for me. Maybe your NNTP resource would negate the need for the porting 
> anyway.

I went for the "Akonadi resource" route because my feeling is that knode
is basically 75% what kmail is, so even using the common PIM (internal)
libraries there is still an amount of repeated code, UI bits, etc, that
IMHO is simply not worth to maintain in the long term.  With the
Akonadi resource I wrote, kmail works as-is as basic NNTP reader, and
(always IMHO) adding the extra functions should be easier than work
with an generally different application.

Of course, I have nothing against anyone else porting knode fully, and
becoming its medium-/long-term maintainer :-)

> Regarding kmail after the update I can no longer access my gmail IMAP 
> account. Looking at the akonadi messages I am seeing 
>  
> "org.kde.pim.kimap: sasl_client_start failed with: -4 "SASL(-4): no 
> mechanism available: No worthy mechs found"
> qt.network.ssl: QSslSocket::startClientEncryption: cannot start handshake on 
> non-plain connection"
> 
> and when looking at gmail account settings all the connection options are 
> greyed out.
> 
> Could it possibly be due to a missing  XOAUTH plugin? 
> I have tried to install  sasl2-bin but this wants to remove :
> 
> dolphin4 kde-baseapps-data kdepim-doc kpart-webkit ktnef libgeos-3.5.1 
> libkcddb4 libkcompactdisc4 libkonqsidebarplugin4a libmikmod3 libqmobipocket1 
> libsdl-mixer1.2 libsdl-net1.2 python3.6-2to3

Some of these (dolphin4, kdepim-doc, libkc*, libqmobipocket1) are old,
and should appear in the
  The following packages were automatically installed and are no longer 
required:
section in the output of apt.  Can you please paste/attach the full
outputs of
- LANG=C apt-get install sasl2-bin
- LANG=C dpkg -l '*sasl*'
?

Thanks,
-- 
Pino Toscano

signature.asc
Description: This is a digitally signed message part.


Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Rob Brewer
Pino Toscano wrote:

> Some of these (dolphin4, kdepim-doc, libkc*, libqmobipocket1) are old,
> and should appear in the
> The following packages were automatically installed and are no longer
> required: section in the output of apt.  Can you please paste/attach the
> full outputs of
> - LANG=C apt-get install sasl2-bin
> - LANG=C dpkg -l '*sasl*'
> ?

LANG=C apt-get install sasl2-bin

Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dolphin4 kde-baseapps-data kdepim-doc kpart-webkit ktnef libgeos-3.5.1 
libkcddb4 libkcompactdisc4 libkonqsidebarplugin4a libmikmod3 libqmobipocket1 
libsdl-mixer1.2 libsdl-net1.2 python3.6-2to3
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  db-util db5.3-util
The following NEW packages will be installed:
  db-util db5.3-util sasl2-bin
0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded.
Need to get 230 kB of archives.
After this operation, 712 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

LANG=C dpkg -l '*sasl*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version   
Architecture  Description
+++-=-=-=-
===
ii  libauthen-sasl-perl   2.1600-1  
all   Authen::SASL - SASL 
Authentication framework
un  libqca2-plugin-cyrus-sasl 
(no description available)
un  libsasl2  
(no description available)
ii  libsasl2-2:amd64  
2.1.27~101-g0780600+dfsg-3amd64 Cyrus SASL 
- authentication abstraction library
ii  libsasl2-2:i386   
2.1.27~101-g0780600+dfsg-3i386  Cyrus SASL 
- authentication abstraction library
ii  libsasl2-modules:amd64
2.1.27~101-g0780600+dfsg-3amd64 Cyrus SASL 
- pluggable authentication modules
ii  libsasl2-modules:i386 
2.1.27~101-g0780600+dfsg-3i386  Cyrus SASL 
- pluggable authentication modules
ii  libsasl2-modules-db:amd64 
2.1.27~101-g0780600+dfsg-3amd64 Cyrus SASL 
- pluggable authentication modules (DB)
ii  libsasl2-modules-db:i386  
2.1.27~101-g0780600+dfsg-3i386  Cyrus SASL 
- pluggable authentication modules (DB)
un  libsasl2-modules-gssapi-heimdal   
(no description available)
un  libsasl2-modules-gssapi-mit   
(no description available)
un  libsasl2-modules-ldap 
(no description available)
un  libsasl2-modules-otp  
(no description available)
un  libsasl2-modules-sql  
(no description available)



Rob



Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Pino Toscano
On giovedì 4 gennaio 2018 11:47:58 CET Rob Brewer wrote:
> Pino Toscano wrote:
> 
> > Some of these (dolphin4, kdepim-doc, libkc*, libqmobipocket1) are old,
> > and should appear in the
> > The following packages were automatically installed and are no longer
> > required: section in the output of apt.  Can you please paste/attach the
> > full outputs of
> > - LANG=C apt-get install sasl2-bin
> > - LANG=C dpkg -l '*sasl*'
> > ?
> 
> LANG=C apt-get install sasl2-bin
> 
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> The following packages were automatically installed and are no longer 
> required:
>   dolphin4 kde-baseapps-data kdepim-doc kpart-webkit ktnef libgeos-3.5.1 
> libkcddb4 libkcompactdisc4 libkonqsidebarplugin4a libmikmod3 libqmobipocket1 
> libsdl-mixer1.2 libsdl-net1.2 python3.6-2to3

As the text says, these packages were installed by something else as
dependency, and they are no more needed now.  You can remove them with
apt-get --purge autoremove

> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>   db-util db5.3-util
> The following NEW packages will be installed:
>   db-util db5.3-util sasl2-bin
> 0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded.
> Need to get 230 kB of archives.
> After this operation, 712 kB of additional disk space will be used.
> Do you want to continue? [Y/n] n

So installing sasl2-bin will install also db-util db5.3-util, without
removing anything else -- sounds good to me.

I guess you get a similar output when trying to install scdaemon?

-- 
Pino Toscano

signature.asc
Description: This is a digitally signed message part.


Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Pino Toscano
On giovedì 4 gennaio 2018 11:00:06 CET Rob Brewer wrote:
> Regarding kmail after the update I can no longer access my gmail IMAP 
> account. Looking at the akonadi messages I am seeing 
>  
> "org.kde.pim.kimap: sasl_client_start failed with: -4 "SASL(-4): no 
> mechanism available: No worthy mechs found"
> qt.network.ssl: QSslSocket::startClientEncryption: cannot start handshake on 
> non-plain connection"

Hmm, I fear I might have accidentally broken it -- can you please run
as root:

# ln -s libkdexoauth2.so.3 /usr/lib/x86_64-linux-gnu/sasl2/libkdexoauth2.so

then restart akonadi, and see whether the gmail IMAP account works
again?

Thanks,
-- 
Pino Toscano

signature.asc
Description: This is a digitally signed message part.


Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Rob Brewer
Pino Toscano wrote:

> Hmm, I fear I might have accidentally broken it -- can you please run
> as root:
> 
> # ln -s libkdexoauth2.so.3
> # /usr/lib/x86_64-linux-gnu/sasl2/libkdexoauth2.so
> 
> then restart akonadi, and see whether the gmail IMAP account works
> again?
> 

Yes it's working again now after I restarted kontact as well.

Thank you for your help.

Rob



Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Pino Toscano
On giovedì 4 gennaio 2018 13:23:46 CET Rob Brewer wrote:
> Pino Toscano wrote:
> 
> > Hmm, I fear I might have accidentally broken it -- can you please run
> > as root:
> > 
> > # ln -s libkdexoauth2.so.3
> > # /usr/lib/x86_64-linux-gnu/sasl2/libkdexoauth2.so
> > 
> > then restart akonadi, and see whether the gmail IMAP account works
> > again?
> > 
> 
> Yes it's working again now after I restarted kontact as well.

kdepim-runtime 4:17.08.3-3 uploaded, and accepted into unstable.
It will be available in 6 hours or so.

Thanks for the feedback,
-- 
Pino Toscano

signature.asc
Description: This is a digitally signed message part.


Re: KDE Pim 17.08.3 wants to remove knode

2018-01-04 Thread Sandro Knauß
Hey Pino,

> That said, since I published the code (although I need to "present it"
> to the PIM people): my personal plan is to create a NNTP resource for
> Akonadi, so kmail can be a newsreader client too.  Here
> https://cgit.kde.org/scratch/pino/akonadi-nntp.git/
> you can see the first version I have so far, which works fine for me.
> It will not have all the extra features knode has (like scoring)
> though, at least if noone implements them, and it will require a bit
> of integration work (like extra actions on right click on a server) in
> kmail too.

Cool - did you already have mentioned your nntp akonadi resource already on 
kdepim upstream ml? There are maybe more interested in that :D

hefee

signature.asc
Description: This is a digitally signed message part.