Defender is back!

Just found out @peterleinchen is back on the boat and released a v0.7.0 of Defender (still not published yet). I’m really glad to see some new activity from old members :slight_smile:

Many thanks!

30 Likes

Yes! :blush:

After some loonger abstinence I thought I could at least check the outstanding issues and try to fix what can be fixed

Of course I did not check github but just started to find on my own :wink: and after it worked I did the rest.

But I just pushed the changes to github a moment ago

So what is missing is the conjunction with OBS. No idea about it, was going to ask for it…

34 Likes

Wait, what is this jewellery? Does the app make it possible to have adblocker for example with native browser?!

Welcome back @peterleinchen ! I’m very happy to read again from you!

5 Likes

@peterleinchen I think you need to ask @Keto to get an account on obs …

2 Likes

Pretty cool. Can’t wait to test it out.

2 Likes

Still waiting for account on OBS…..

@Keto ?

Is there an RPM file we can test out?

Unfortunately not (“developed” on device) …

Cool. Okay..we’ll wait until the update is published on Chum. Cheers

2 Likes

Okay, now my account on OBS is realized and I would need a guinea pig for testing :slight_smile:

Version 0.7.2 is on chum:testing

:warning: info: I did not test the rpm package myself as currently only my daily driver is available and I am already two versions farther on my (daily driver developer) device.

So I do not want to spoil my setup.

But I just wanted to announce, so be warned! :wink:

Or wait for official announcement in the main thread…

and I would need a guinea pig for testing

This especially for a community port user.

@DrYak fixed the boot stall for community ports (he experienced himself) as different service name is used for encryption unlock.

Worst case that can happen is a boot stall, that is to fix by using recovery shell and modifying/removing some /etc/systemd/system/ files.

6 Likes

damn, I am currently travelling. otherwise I would be volunteering my two sailfishos daily drivers…

3 Likes

I’m giving it a go, on my C2!

2 Likes

That would be great.

Just found one quirk (copy/paste mistake) but fixed already for v0.7.2. Build is running and should be finished now…

especially please test the AppSupport restart, all other things just tested and worked

1 Like

Sorry for the delay, I had a minor emergency last night so I had to drop the phone.

Don’t know if I am doing something wrong, but I can’t get anything to work. The app starts, but that is about all. Log below…

Summary

defaultuser@192.168.1.148’s password:
Last login: Mon Mar 17 08:05:42 2025 from 192.168.1.161
,—
| Sailfish OS 5.0.0.76 (Tampella)
'—
[defaultuser@JollaC2 ~]$ harbour-defender
[D] unknown:0 - Using Wayland-EGL
library “libutils.so” not found
library “libdmabufheap.so” not found
library “libbase.so” not found
library “libz.so” not found
library “libcutils.so” not found
library “android.hardware.graphics.mapper@4.0.so” not found
library “libgralloctypes.so” not found
library “libhidlbase.so” not found
library “libhardware.so” not found
library “libc++.so” not found
[D] unknown:0 - Got library name: “/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so”
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “/usr/share/harbour-defender/qml/python/defender.py”, line 13, in \n os.path.mkdir(“/tmp/defender”);\n\nAttributeError: module ‘posixpath’ has no attribute ‘mkdir’\n”
[W] unknown:0 - Unhandled PyOtherSide error: Cannot import module: defender (Traceback (most recent call last):

File “/usr/share/harbour-defender/qml/python/defender.py”, line 13, in
os.path.mkdir(“/tmp/defender”);

AttributeError: module ‘posixpath’ has no attribute ‘mkdir’
)
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.load_sources’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:24 - file:///usr/share/harbour-defender/qml/pages/components/CookiesMenuItem.qml:24: TypeError: Cannot read property ‘cookies_count’ of undefined
[W] unknown:29 - file:///usr/share/harbour-defender/qml/pages/components/CookiesMenuItem.qml:29: TypeError: Cannot read property ‘domains_count’ of undefined
[W] unknown:24 - file:///usr/share/harbour-defender/qml/pages/components/SourcesMenuItem.qml:24: TypeError: Cannot read property ‘hosts_lines’ of undefined
[W] unknown:29 - file:///usr/share/harbour-defender/qml/pages/components/SourcesMenuItem.qml:29: TypeError: Cannot read property ‘sources_enabled_count’ of undefined
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.cookie_load_list’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.cookie_load_list’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.cookie_is_locked’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.get_stats’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
library “libion.so” not found
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:30: TypeError: Cannot read property ‘length’ of undefined
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:41: Error: Cannot assign [undefined] to bool
[D] :49 - Working directory: /home/defaultuser
[W] unknown:22 - file:///usr/share/harbour-defender/qml/cover/CoverPage.qml:22: TypeError: Cannot read property ‘last_sources’ of undefined
[W] unknown:24 - file:///usr/share/harbour-defender/qml/pages/components/CookiesMenuItem.qml:24: TypeError: Cannot read property ‘cookies_count’ of undefined
[W] unknown:29 - file:///usr/share/harbour-defender/qml/pages/components/CookiesMenuItem.qml:29: TypeError: Cannot read property ‘domains_count’ of undefined
[W] unknown:24 - file:///usr/share/harbour-defender/qml/pages/components/SourcesMenuItem.qml:24: TypeError: Cannot read property ‘hosts_lines’ of undefined
[W] unknown:29 - file:///usr/share/harbour-defender/qml/pages/components/SourcesMenuItem.qml:29: TypeError: Cannot read property ‘sources_enabled_count’ of undefined
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool
[D] unknown:0 - “PyOtherSide error: Traceback (most recent call last):\n\n File “”, line 1, in \n\nNameError: name ‘defender’ is not defined\n”
[W] unknown:0 - Unhandled PyOtherSide error: Function not found: ‘defender.check_update’ (Traceback (most recent call last):

File “”, line 1, in

NameError: name ‘defender’ is not defined
)
[W] unknown:0 - Unhandled PyOtherSide error: file:///usr/share/harbour-defender/qml/harbour-defender.qml:107: Error: Cannot assign [undefined] to bool

2 Likes

That’s better already. Now I can test. :wink:

1 Like

yes. and sorry.

I should have bumped version number :frowning:

Please deinstall and install again.

-- edit

but you already did

and OBS automatically increases build number, so all good :wink:

First thing I noticed…

When updating from top menu, the text isn’t fully visible. Swipe from left and back again fixes that. Testing further…

Update loop is exceptionless. Have to cancel /clear every time.

Everything seem to work for now, also the AAS restart. :grinning_face:

I’ll take my C2 for a shopping trip today, so lets see later this evening if I find something else.

1 Like

Confirming the first one, I’d say an acceptable glitch. Somehow the focus is not adjusted when in portrait mode. You can also just swipe down and you see the rest of text. I did not notice as holding almost always in landscape mode when developing/debugging.

If someone knows about that: I listen

1 Like