Bug 7136

Summary: Sankore should be updated since it crashes importing pdf
Product: Mageia Reporter: jb butet <ashashiwa>
Component: RPM PackagesAssignee: Angelo Naselli <anaselli>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: anaselli, krejci, marja11, wassi, yvesbrungard
Version: 2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: sankore CVE:
Status comment:

Description jb butet 2012-08-21 14:24:17 CEST
Description of problem:
sankore is 3.1 version (last versionning, based on a proprietary software)

Now, it has been reversionned (from 1.00) and is up to 1.4.1

Version-Release number of selected component (if applicable):
3.1

How reproducible:


Steps to Reproduce:
1.
2.
3.
Manuel Hiebel 2012-08-25 13:46:45 CEST

Component: RPM Packages => Backports
Source RPM: (none) => sankore

Comment 1 Jaroslav Krejci 2012-12-02 11:17:44 CET
I builded new rpm - Sankore 2.00.00. For now - 32bit rpm and srpm, 64bit later.

Links:
SRPMS: http://mandrake.zstenis.org/rpms/mag2/SRPMS/sankore-3.1-21.mga2.src.rpm
32bit RPM: http://mandrake.zstenis.org/rpms/mag2/RPMS/32bit/sankore-3.1-21.mga2.i586.rpm

CC: (none) => krejci

Comment 2 Angelo Naselli 2012-12-02 12:00:34 CET
Yes sankore changed its versionig and also its name -now open-sankore-. 
I haven't ported it to our spec file yet, because i need to check how to upgrade it (obsoleting, etc.)

However our version is almost up to date from git.

I will give a look at your srpm, thanks for reporting it.

CC: (none) => anaselli
Assignee: bugsquad => anaselli

Comment 3 Angelo Naselli 2012-12-02 14:47:19 CET
cauldron version seem to be at 2.0 beta 5 at the moment, but i'm pretty
sure i updated it from master when beta 10 was out.

I will try to fix name and version in the next few days to avoid any confusion in future, I'm leaving this open as a personal reminder.

Status: NEW => ASSIGNED

Comment 4 Angelo Naselli 2012-12-31 16:24:49 CET
Author has removed for while the software repository, unfortunately he has not
move it back to public yet... so we need to wait
Comment 5 papoteur 2013-01-11 20:03:58 CET
The version of sankore in Cauldron is better that the one in MGA2.
Is it possible to verse it from Cauldron to Mageia 2?

CC: (none) => yves.brungard_mageia

Comment 6 Angelo Naselli 2013-01-12 12:57:37 CET
Well backports have never been open, but technically my mistake hides that the cauldron one is a different version. But at least to get an update you should say
where it is better (bug fixing should be the best thing) so that we can justify
an update otherwise i can't.
Comment 7 papoteur 2013-01-12 13:43:17 CET
For example, if you try to import a PDF file, sankore will crash in Mageia 2, but not in Mageia Cauldron.
The version 2.00 has been released.
The git sources are indicated here: 
https://github.com/Sankore
Comment 8 Angelo Naselli 2013-01-12 15:08:36 CET
I will check your bug. I think it's a good point for an update (if it works in mga2).
Git source (as specified in sankore web site) is at 
https://github.com/Sankore/Sankore-3.1
And as you can see it's not there, other projects are sankore additions and need open sankore iiuc. Author said it's been removed from public repository for a while.... but it has not been restored.
Comment 9 papoteur 2013-01-20 19:00:43 CET
Hello Angelo,
I have installed the src.rpm from MGA3 on my MGA2, then build the rpm.
I get the rpm and installed it.
It works fine. My wife used it in her classroom during 2 hours without problem.
If this can help.
Papoteur
Comment 10 Angelo Naselli 2013-01-20 19:30:11 CET
papoteur, sorry i was very busy last week. I planned to work on it this one.
Moreover i seem Claudio Valerio has set back master as public repository.

So i can also update cauldron now.

I'm happy it's ok in mga2 but as soon as i upload it on testing we need you to test the official one to validate the update. So stay tuned :)
Angelo Naselli 2013-01-20 19:31:11 CET

Component: Backports => RPM Packages
Assignee: anaselli => bugsquad
Summary: Sankore could be updated => Sankore should be updated since it crashes importing pdf
Severity: normal => major

Comment 11 Marja Van Waes 2013-01-20 19:36:28 CET
re-assigning to Angelo (when the component was changed, the assignee became Bugsquad)

CC: (none) => marja11
Assignee: bugsquad => anaselli

Comment 12 Angelo Naselli 2013-01-26 17:52:07 CET
sankore-3.1 1.1 is in building and going to testing.

I cannot write an advisory test now, will do it tomorrow, but please test it
and tell me if it is ok.
Comment 13 Angelo Naselli 2013-01-26 17:57:38 CET
My tests were in x86_64
Comment 14 Angelo Naselli 2013-01-26 18:05:19 CET
Test case:
1) open sankore
2) choose document
3) click on import
4) select a pdf file

Official one will crash or stay busy (I got a case, and i had to kill it).
Update on will open it.
Comment 15 Angelo Naselli 2013-01-26 18:12:56 CET
I have uploaded an updated sankore for Mageia 2.

Suggested advisory:
========================

Updated sankore package fixes (bug 7136) a crash importing pdf


Updated packages in core/updates_testing:
========================
sankore-3.1-1.1.mga2  
sankore-debug-3.1-1.1.mga2

Source RPM: 
sankore-3.1-1.1.mga2.src.rpm

Hardware: i586 => All
Assignee: anaselli => bugsquad

Angelo Naselli 2013-01-26 18:14:54 CET

Assignee: bugsquad => qa-bugs

Comment 16 papoteur 2013-01-27 12:14:43 CET
I deinstalled the current version in my Mageia 2, added core-Updates-testing, updated the repo.
Then I installed the new build :
History  * sam. janv. 26 2013 anaselli <anaselli> 3.1-1.1.mga2
        + Revision: 392483
        - fixing bug 7136, Sankore should be updated since it crashes importing pdf
        - imported package sankore
I opened it from KDE menu, selected document and selected a PDF file to import.
It works fine.
Thank you very much.
Papoteur
Comment 17 user7 2013-01-27 18:07:02 CET
papoteur: Could you please tell us if you tested on 32 or 64 bits? Also, did you experience any regressions?

This would allow us to take your testing into account for QA, so we can push this package a little faster to all users. Thanks in advance for your help!

CC: (none) => wassi

Comment 18 papoteur 2013-02-03 10:39:36 CET
I tested on 32bits arch.
The application works fine !
But I have a problem: there is no localisation. The application is in English. It seems that resources/i18n lacks and perhaps other files.
Comment 19 Angelo Naselli 2013-02-03 11:11:30 CET
do you mean all translations or only some? I changed nothing there.
Comment 20 papoteur 2013-02-03 12:07:01 CET
I think that there is no translation available.
The translation files must be like sankore_fr.ts where fr is the language code. I did not find such a file nor in the package either in /usr after installation.
Comment 21 Angelo Naselli 2013-02-03 23:51:22 CET
It seems it has not built i18n, i fixed it but it does not work anyway, so i haven't uploaded it.

I tried to use last stable from git, but while translations are in, it crashes again importing pdf, so i haven't updated cauldron as well...

I will make more tests asap.

for QA this updated cannot be validate for the moment. I'm taking this bug assigned to me again.

Assignee: qa-bugs => anaselli

Comment 22 Manuel Hiebel 2013-10-22 12:09:02 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Comment 23 papoteur 2013-11-01 11:29:05 CET
I have built the version 3.1 2.1.0 (latest stable) on Mageia 2, i586.
I needed to apply the patch Sankore-3.1-phonon-include-file.patch, available in mga4 src.
It works fine, even PDF import.
However, it can not be lokalized. It's the same on the Mga4 version.

Papoteur
Comment 24 Angelo Naselli 2013-11-01 13:26:51 CET
mga2 is going out of maintaining. Anyway if localization is still missing or
not working, well i think it's an upstream problem, could you try to contact
author for that? I think he is French or French speacking maybe it's easier for
you to understand (or make him understanding) which the problem is and if there
is a solution you can share it here and we can fix our package.
TIA
  Angelo
Comment 25 papoteur 2013-11-01 14:05:31 CET
I filed another bug report for the lokalisation.
The version 2.1.0 is lokalized on Ubuntu, thus I think this a packaging problem.
Mageia 2 is not yet closed.
Comment 26 Angelo Naselli 2013-11-01 15:11:27 CET
good to know, i will give a look at Ubuntu package. 2.1.1 is in rc state, but fwang changed package versioning, and i cannot update it.
Comment 27 Angelo Naselli 2013-11-01 15:15:12 CET
papoteur is that an official Ubuntu package?
Comment 28 papoteur 2013-11-01 15:49:45 CET
No, the package comes from the website itself.

The repo contains a script release.linux.sh which can perhaps be useful?
https://github.com/Sankore/Sankore-3.1/blob/master/release.linux.sh
Comment 29 Angelo Naselli 2013-11-01 16:32:54 CET
mumble mumble the script says:
cd $GUI_TRANSLATIONS_DIRECTORY_PATH
$LRELEASE translations.pro
cd -
if [ ! -e $BUILD_DIR/i18n ]; then
mkdir -p $BUILD_DIR/i18n
fi
#copying qt gui translation
cp $GUI_TRANSLATIONS_DIRECTORY_PATH/qt_??.qm $BUILD_DIR/i18n/


$LRELEASE Sankore_3.1.pro

now I cannot see how they perform "$LRELEASE translations.pro"
I cannot find translation.pro anywhere, do you have it?
Comment 30 papoteur 2013-11-01 17:05:07 CET
No I did not find translations.pro.
Comment 31 Angelo Naselli 2013-11-01 17:17:59 CET
So how can it work in Ubuntu running that script?

TIA
  Angelo
Comment 32 Angelo Naselli 2013-11-01 23:04:21 CET
I fixed it in cauldron. Can we fix this as old?

BTW, i think there is other issues to be fixed internal plugin cffadaptor
that i built, but I don't know how to test it to understand where it has to be
installed (i think into qt plugins directory), and some qt-plugins that are not
into any mageia packages.
Comment 33 Angelo Naselli 2013-11-01 23:11:18 CET
papoteur I fixed Bug# 10364 i think you can get the srpms from cauldron and rebuild it, works for mga3.
Comment 34 papoteur 2013-11-02 19:02:44 CET
I got the src.rpm from cauldron. The build is OK :)
But I can not install it. It requires appmenu-qt which is not provided in Mageia 2. It exists in Mageia 3.
Can I ignore this dependance?
Comment 35 papoteur 2013-11-02 20:23:53 CET
When I skip the dependency of appmenu-qt, I can build the rpm and install it. It seems to work fine in FRENCH ;)
The importation of PDF files works.
Comment 36 Manuel Hiebel 2013-11-23 16:12:46 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD