#900165#5
Date:
2018-05-26 23:10:07 UTC
From:
To:
/usr/bin/calibre
returns segfault

calibre-debug --test-build
returns
File "/usr/lib/calibre/duktape/__init__.py", line 15, in <module>
    import dukpy
ImportError: No module named dukpy

#900165#10
Date:
2018-05-28 01:23:40 UTC
From:
To:
tags 900165 + moreinfo unreproducible
severity 900165 important
thanks

Interesting, I have 3.24, but was running 3.23 of course, and never saw
this behavior. Do you have any special initialization code or setup?
Here I cannot reproduce this behavior at all.

Best

Norbert

#900165#19
Date:
2018-05-28 21:48:17 UTC
From:
To:
Hi Norbert,

Thanks for your quick answer.
I updated to version 3.24.2+dfsg-1 and I get exacly the same returns from the same commands.
Have you an idea of what missing package could contain the module "dukpy" ?

Regards
Sam

#900165#24
Date:
2018-05-29 08:28:29 UTC
From:
To:
Hi Norbert,

I had a problem with Qt on my machine: every Qt apps returned a segfault.
Now I fixed it (sudo apt-get remove qt5-style-plugins) and Calibre works fine.
As the segfault informations were not very clear, I hoped that the return of the command "calibre-debug --test-build" would inform me better.
But finally, I was lead into error with the return of this command.
Now I still get the same error, but the missing module doesn't prevent Calibre to work.
It looks like it is rather a warning than an error.
Ideas about that ?

Regards

#900165#29
Date:
2018-05-29 08:30:16 UTC
From:
To:
Hi Sam,

THere is none, it is not packaged by now.
I am simply wondering why the program starts at all on my computer ;-)
I definitely don't have any dukpy on my computer.

How do you start calibre? Do you have any special arguments or
configurations?

Thanks

Norbert

#900165#34
Date:
2018-05-29 10:01:24 UTC
From:
To:
severity 900165 normal
thanks

Ah, ok.

When, where? Here on my machine:

$ calibre
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: no

and all fine ...

Norbert

#900165#41
Date:
2018-05-29 14:17:25 UTC
From:
To:
Sorry here is what I meant:

If I run Calibre with the launcher or with the command line, now it works fine.
But if I run the following command:
$ calibre-debug --test-build
it still returns the same "error":
File "/usr/lib/calibre/duktape/__init__.py", line 15, in <module>
    import dukpy
ImportError: No module named dukpy

Regards

#900165#46
Date:
2018-05-29 14:29:45 UTC
From:
To:
Uhh aahh, never tried this - I actually not even know what this should
do ;-)

Norbert

#900165#51
Date:
2019-02-06 00:02:59 UTC
From:
To:
Hi Sam,

It's looking for dukpy, "a simple javascript interpreter for Python
built on top of duktape engine without any external dependency".
https://pypi.org/project/dukpy/

Dukpy might be unsuitable for Debian if "dukpy is currently not
production ready and might actually crash your program as it is mostly
implemented in C." is true, but it would take time to establish
whether it meets the minimum standards of quality/reliability...


Cheers,
Nicholas

#900165#56
Date:
2019-09-27 11:29:39 UTC
From:
To:
-- 
Hello dear
how are you?
my name is Edith Brown
i am a U.S military woman
is my pleasure meeting you here
best regards