Bug 18625 - qelectrotech no longer responds
Summary: qelectrotech no longer responds
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 07:41 CEST by j pierre LAJOIE
Modified: 2016-09-25 07:17 CEST (History)
2 users (show)

See Also:
Source RPM: qelectrotech-0.5-1.mga6
CVE:
Status comment:


Attachments
qet in root (60.95 KB, image/png)
2016-06-09 17:25 CEST, j pierre LAJOIE
Details
qet in user mode (64.61 KB, image/png)
2016-06-09 17:26 CEST, j pierre LAJOIE
Details
qet in user-mode_mga6 (101.58 KB, image/png)
2016-06-09 18:10 CEST, David GEIGER
Details

Description j pierre LAJOIE 2016-06-05 07:41:53 CEST
Description of problem:
mageia 6 4-6-4 desktop1.mga6 arch 64

Version-Release number of selected component (if applicable):
qelectrotech V0.5


How reproducible:Permanent


Steps to Reproduce:
1.Start Mga6
2.Start QET ( from depots MGA ou From QET , its same problem)
3.open a new or existig document
4 try to modify it ( select parts , insert components....)

At the beginning of the week everything worked fine.
i think MGA make a release of QT5 on tuesday or wednesday 
And on friday QET is out of duty.

TEQ launches successfully and displays everything normally.
If I open an existing file it is displayed correctly with the various tabs
but it is impossible to change or select nothing in the diagrams. It is also impossible to insert a component.
We can still correctly close the file and reopen it.

I tried to urpme this soft and reinstall it but the problème is still here.
Marja Van Waes 2016-06-05 13:51:05 CEST

CC: (none) => marja11
Assignee: bugsquad => geiger.david68210

Comment 1 David GEIGER 2016-06-05 14:07:29 CEST
Hi,

If you run qelectrotech in a terminal, are there errors?
Comment 2 j pierre LAJOIE 2016-06-05 16:02:20 CEST
tks for your answer;
I tried to launch from terminal :


=>  [root@localhost lajoiejp]# qelectrotech
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
transaction began for  "common"
transaction commited for  "common"
transaction began for  "custom"
transaction commited for  "custom"

By this way qelectrotech launches and works properly.
But if we try to open a file to save  the diagram or opening an existing file we have this error:
'Can not start the process impossible to engage with KLauncher. Not connected to D-Bus server '
Comment 3 j pierre LAJOIE 2016-06-05 16:16:01 CEST
i tried to launch from terminal but not in root:

[lajoiejp@localhost ~]$ qelectrotech
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
transaction began for  "common"
transaction commited for  "common"
transaction began for  "custom"
transaction commited for  "custom"
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
QMetaObject::connectSlotsByName: Connecting slot on_increase_spinBox_valueChanged() with the first of the following compatible signals: ("valueChanged(int)", "valueChanged(QString)")
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
[lajoiejp@localhost ~]$ 

in this case qelectrotech start, but it's impossible to use it (no selection , no insertion of components.....)
Comment 4 David GEIGER 2016-06-05 17:27:46 CEST
Strange, no problem here on my Cauldron mga6 for x86_64

$ qelectrotech 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
transaction began for  "common"
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
transaction commited for  "common"
transaction began for  "custom"
transaction commited for  "custom"
transaction began for  "common"
transaction commited for  "common"
transaction began for  "custom"
transaction commited for  "custom"
$

Can you try removing or renaming "~/.qet" config file?

ex: mv ~/.qet ~/.qet.bak
Comment 5 j pierre LAJOIE 2016-06-05 19:11:18 CEST
I can not find the folder with .qet/ config file
in .qet I have :
Elements
titleblocs
elements-cache. sqlite

I renamed .qet in .qet. bak
Qelectrotech create a new .qet folder
but the problem is the same than before 

[lajoiejp@localhost ~]$ qelectrotech
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
transaction began for  "common"
transaction commited for  "common"
transaction began for  "custom"
transaction commited for  "custom"
[lajoiejp@localhost ~]$ 


i also see another problem :
there is no command in qelectrotech window to close or reduce this window
Comment 6 j pierre LAJOIE 2016-06-05 19:25:11 CEST
i don't have the lines with qpainter >>>>>>>
Comment 7 David GEIGER 2016-06-05 19:44:59 CEST
So I think you have something wrong in your Cauldron and not in qelectrotech!

I can close or reduce the window here!
Comment 8 j pierre LAJOIE 2016-06-06 08:21:57 CEST
i think also it's a cauldron problem .
it's the reason why i post in mageia bugzilla.
thanks for your collaboration .
Comment 9 Rémi Verschelde 2016-06-06 08:29:32 CEST
This sounds like it could be a missing dependency, if it works for one but not for the other.

I tested locally and it works fine on Cauldron x86_64 to create a new file and place some elements on the canvas.

Source RPM: qelectrotech x86-64 => qelectrotech-0.5-1.mga6

Comment 10 j pierre LAJOIE 2016-06-06 09:34:57 CEST
how to know that dependancy is missing ?
Comment 11 j pierre LAJOIE 2016-06-06 09:38:16 CEST
i confirm that it was working on monday
Comment 12 j pierre LAJOIE 2016-06-06 19:32:25 CEST
I found something!
I had downloaded here: I found something!
I had downloaded here:https://qelectrotech.org/showcategory.php 
the zipped  Elements directories:
collection_officielle
moderation
all_comers
and unzipped in .qet / elements 
The attempt to insert one of these items in qelectrotech, blocks all!
Erasure of the directory is not enough to restore, you must also reboot and I had to do it twice in order to work again with qelectrotech.
I started the experience again and the crash happened again.
So it seems to be a problem in qelectrotech!
good night
Comment 13 David GEIGER 2016-06-06 23:01:58 CEST
Please report this issue upstream, thanks in advance!

https://qelectrotech.org/bugtracker/
Comment 14 j pierre LAJOIE 2016-06-07 14:28:58 CEST
(In reply to David GEIGER from comment #13)
> Please report this issue upstream, thanks in advance!
> 
> https://qelectrotech.org/bugtracker/


it'done 
 tks
Comment 15 j pierre LAJOIE 2016-06-09 17:22:13 CEST
i come back because it could be a mageia6 packaging why ?

1- whith Konsole in root (su) qelectrotech works correctly, icons to open/close/reduce the window are presents;

in konsole i have :org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
  
only one problem : impossible to save ou read from disk.

in konsole i have then :
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
klauncher not running... launching kdeinit
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
klauncher not running... launching kdeinit
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
klauncher not running... launching kdeinit
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
couldn't create slave: "Impossible de dialoguer avec KLauncher : Not connected to D-Bus server"
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
klauncher not running... launching kdeinit
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
klauncher not running... launching kdeinit
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
couldn't create slave: "Impossible de dialoguer avec KLauncher : Not connected to D-Bus server"



2- whith Konsole in user mode (not su) qelectrotech open but don't works correctly, there are no icons to open/close/reduce the window.It's impossible to select , insert...but we can open or save files
Comment 16 j pierre LAJOIE 2016-06-09 17:25:59 CEST
Created attachment 7956 [details]
qet in root
Comment 17 j pierre LAJOIE 2016-06-09 17:26:40 CEST
Created attachment 7957 [details]
qet in user mode
Comment 18 David GEIGER 2016-06-09 18:10:46 CEST
Created attachment 7958 [details]
qet in user-mode_mga6

No problem here in user mode, see my screenshot.

as I already said earlier I really think you have a problem with your cauldron.

This issue come not from qelectrotech but probably with your config (themes, icons, etc...)
Comment 19 j pierre LAJOIE 2016-06-10 10:11:53 CEST
Exact the most important problem (selection, insertion of elements, schematics changes impossible) is linked to Caudron. In fact I was under kde5, workspace appearance / Oxygen. I changed to kde5, workspace appearance / Mageia and there, oh miracle! qelectrotech operates again normally.
By cons I have found nothing to restore proper management of the opening, closing or reduction of the main window (missing icons)
Comment 20 j pierre LAJOIE 2016-06-10 16:58:26 CEST
and the window gestion problem was simply due to the option "full screen " activated . Now everything is correct. 
The remainin problèm is still with oxygen
Comment 21 j pierre LAJOIE 2016-06-21 19:49:13 CEST
I confirm that qelectrotech is not working with Oxygen Appearence  desk
We can use the followings : 
mageia
Brise
Brise sombre

but not Oxygen
Comment 22 David GEIGER 2016-06-25 13:28:04 CEST
So closing of this bug as it comes not from qelectrotech but something with oxygen.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 23 Morgan Leijström 2016-09-24 20:49:34 CEST
In case you would like to try the development version i just now noted down how i compiled it locally.

https://wiki.mageia.org/en/QElectroTech

I am new on it, about to learn using it this week :)

CC: (none) => fri

Comment 24 j pierre LAJOIE 2016-09-25 07:17:42 CEST
i shall install it as soon as possible et then i shall contact you back .
thanks

Note You need to log in before you can comment on or make changes to this bug.