Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Restore possibility to run without mainloop #85

Closed
wants to merge 1 commit into from

Conversation

AndersBlomdell
Copy link

Addresses #84 and #66

@xvitaly
Copy link

xvitaly commented Jun 30, 2021

@seveas Can you review and merge this patch?

@Hadatko
Copy link

Hadatko commented Oct 7, 2021

We had to use version mentioned here: #84 (comment) as this patch is not applied.

@xvitaly
Copy link

xvitaly commented Oct 7, 2021

We had to use version mentioned here: #84 (comment) as this patch is not applied.

Version 2.1 has some major compatibility issues with the modern Network Manager.

@maggie44
Copy link

maggie44 commented Oct 20, 2021

Surprised this works. Thought follow_name_owner_changes was a simple boolean that just switches us back and forth between issues: https://dbus.freedesktop.org/doc/dbus-python/dbus.bus.html

Seems the issue occurred in the latest 2.2 but not in 2.1 (#84).

Only thing that changed related to this in 2.2 was the boolean changed from its default False to True (2.1...2.2).

What is follow_name_owner_changes=dbus.get_default_main_loop() != None adding? It will resolve False without dbus mainloop being set, which will restore this error (#66), or True when it is set, which seems to result in this (#87)?

@maggie44
Copy link

maggie44 commented Oct 22, 2021

Here is another potential way to go about it: #90

Personally either pull request would fix the issue for me so no preference, just felt there may be some strengths to a configurable option.

Hoping one of them can be merged soon to get python-networkmanager working again. At the moment I'm stuck between the older less compatible 2.1 version or the connection dropping every 24 hours #87.

@Hadatko
Copy link

Hadatko commented Nov 10, 2021

We had to use version mentioned here: #84 (comment) as this patch is not applied.

Version 2.1 has some major compatibility issues with the modern Network Manager.

Could be but for our case it is working well

@maggie44
Copy link

We had to use version mentioned here: #84 (comment) as this patch is not applied.

Version 2.1 has some major compatibility issues with the modern Network Manager.

What sort of compatibility issues? Isn't it just adding in some new types of device? c4a5913. If not using those new device types, is there any differences?

@xvitaly
Copy link

xvitaly commented Nov 23, 2021

What sort of compatibility issues? Isn't it just adding in some new types of device?

Yes.

If not using those new device types, is there any differences?

It will instantly crash. See #68 and #76.

@maggie44
Copy link

maggie44 commented Nov 23, 2021

What sort of compatibility issues? Isn't it just adding in some new types of device?

Yes.

If not using those new device types, is there any differences?

It will instantly crash. See #68 and #76.

Eek, ok so even if you’re not using those new devices, if they exist on your hardware then you can’t fetch and use other devices. Does make downgrading back to 2.1 risky.

@maggie44
Copy link

A cheeky bump here in the new year, hoping we can merge this. ☺️

Copy link

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works here, please merge!

@maggie44
Copy link

maggie44 commented Jan 18, 2023

Following up in (another 😆) new year, would be great to see this one merged @seveas.

@xvitaly
Copy link

xvitaly commented Jan 18, 2023

The project is dead. Someone need to fork it.

@seveas
Copy link
Owner

seveas commented Jan 19, 2023

It's been on life support for a while. I've been trying to find someone with the right skills and willingness to take over, but with no success so far.

@bernhardkaindl
Copy link

bernhardkaindl commented Jan 20, 2023

@seveas Well, you should state it in the project's README.md, otherwise nobody will ever know and assume it was just deserted.

You could at least merge it, one year of having an independent confirmation that this PR does indeed work would be about time.

Also, it would be good to add the info that it's dead and forking is appreciated and in the README, you could, also add a list of better alternatives such as:
https://github.com/python-sdbus/python-sdbus-networkmanager

In the new 2.0rc1, it has new helper classes for easy reading of NetworkManager connection profile settings, with a nice interface to update them as well. It's used in production too.

Nobody would stop you to invite people like @Maggie0002 as project developers to your project, he already demonstrated that he is a very capable developer, better than no action for years.

@seveas
Copy link
Owner

seveas commented Jan 20, 2023

Happy to hear there are alternatives these days, I'll just archive this repo then.

@seveas
Copy link
Owner

seveas commented Jan 27, 2023

Closing all PR's and issues prior to archiving this repository.

@seveas seveas closed this Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants