Hi all,
we would like to inform you that the DEB packages for Superkaramba in PSB and PTB repositories have been updated to use Python3 instead of Python2. Please, if you are using Superkaramba and using PSB or PTB, please test that the sensors work with Python3 as they did with Python2. If you experience problems, please report it.
Thank you!
Cheers
Slávek Banko wrote on 9/22/22 11:42:
Hi all,
we would like to inform you that the DEB packages for Superkaramba in PSB and PTB repositories have been updated to use Python3 instead of Python2. Please, if you are using Superkaramba and using PSB or PTB, please test that the sensors work with Python3 as they did with Python2. If you experience problems, please report it.
I'm unsure what PSB and PTB mean, but I can report that as of an update to a debian stable system earlier this week, one (just one) of my superkaramba themes is crashing on startup. It's been used for probably more than a decade (in fact, it's so old that I can't remember how it all works :-) )
In fact, Superkaramba has been so stable for so long that I forget how all the various .theme and .py files interact.
I do see at least one *.py file that begins with #!/usr/bin/env superkaramba and contains a python2 print statement. Commenting out the print statement doesn't seem to change anything, though.
Where do I go to provide details?
Doc Evans
On Wednesday 28 September 2022 11:59:58 D. R. Evans wrote:
I'm unsure what PSB and PTB mean, Doc Evans
They are shorthand for Preliminary Stable Builds & Preliminary Testing Builds, respectively. See the lists of repositories for TDE.
The full names are a bit cumbersome to have to type out by hand every time, and probably take longer to type out for any two-fingered typists out there.
Bill
In fact, Superkaramba has been so stable for so long that I forget how all the various .theme and .py files interact.
I do see at least one *.py file that begins with #!/usr/bin/env superkaramba and contains a python2 print statement. Commenting out the print statement doesn't seem to change anything, though.
Where do I go to provide details?
Doc Evans
Hi Doc Evans, python2 is phasing out (sloooooowly, but it is), so I guess the script in question may need to be updated to py3. If it is something you can share, please send it through and I will take a look. Cheers Michele
Michele Calgaro via tde-users wrote on 9/28/22 22:39:
In fact, Superkaramba has been so stable for so long that I forget how all the various .theme and .py files interact.
I do see at least one *.py file that begins with #!/usr/bin/env superkaramba and contains a python2 print statement. Commenting out the print statement doesn't seem to change anything, though.
Where do I go to provide details?
Doc Evans
Hi Doc Evans, python2 is phasing out (sloooooowly, but it is), so I guess the script in question may need to be updated to py3. If it is something you can share, please send it through and I will take a look.
Attached is the .py file in question. It's essentially SKSlideShow.py (which also crashes now) with relatively minor changes to get it to work properly (I made the changes in the year 2017) on my system. It's worked fine since 2017.
Doc
D. R. Evans wrote on 10/5/22 11:16:
Attached is the .py file in question. It's essentially SKSlideShow.py (which
PS I ran 2to3 on it, but it said that no changes were necessary.
Doc
On 2022/10/06 02:16 AM, D. R. Evans wrote:
Michele Calgaro via tde-users wrote on 9/28/22 22:39:
In fact, Superkaramba has been so stable for so long that I forget how all the various .theme and .py files interact.
I do see at least one *.py file that begins with #!/usr/bin/env superkaramba and contains a python2 print statement. Commenting out the print statement doesn't seem to change anything, though.
Where do I go to provide details?
Doc Evans
Hi Doc Evans, python2 is phasing out (sloooooowly, but it is), so I guess the script in question may need to be updated to py3. If it is something you can share, please send it through and I will take a look.
Attached is the .py file in question. It's essentially SKSlideShow.py (which also crashes now) with relatively minor changes to get it to work properly (I made the changes in the year 2017) on my system. It's worked fine since 2017.
Doc
I will have a look this weekend or next week and let you know what I find. cheers Michele
Hi Doc Evans, python2 is phasing out (sloooooowly, but it is), so I guess the script in question may need to be updated to py3. If it is something you can share, please send it through and I will take a look.
Attached is the .py file in question. It's essentially SKSlideShow.py (which also crashes now) with relatively minor changes to get it to work properly (I made the changes in the year 2017) on my system. It's worked fine since 2017.
Doc
I will have a look this weekend or next week and let you know what I find. cheers Michele
Thank you very much. I'll probably look at it more and tinker with it as well, just in case something obvious strikes me.
I sent it to you privately, just to save bandwidth; but feel free to share any or all of it on the reflector if you want to.
Doc