~nicoco/sleamdge#10: 
in on_clan_update exception and ignoring config

Fresh install: sleamdge starts up after a few attempts without configuration (#9), then throws an error when started with '--sync-avatars false' but also seems to ignore the setting when added to the config.

Then, sleamdge sometimes crashes with: https://conference.31337.one:5281/pastebin/2b002532-5bed-446c-b8ca-d8df8a567426

Status
REPORTED
Submitter
mail
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.

~nicoco 3 months ago

About the avatar setting, --sync-avatar=true should work (yes it sucks ^^)

About this error, I guess some channels have no "parent"? I'll look into it, thanks for the report.

mail 3 months ago · edit

Seems to sync avatars regardless of what I put in the config, or pass on start.

mail 3 months ago · edit

Could be from invitation-only closed groups?

Flit 2 months ago · edit

I encountered this using the Debian packages (20240603). Even after clearing out the lib folder for Sleamdge and leaving the only legacy group chat I was in, I still get this exception immediately after registering with the gateway.

Here's a paste from before I tested that: https://0x0.st/XO33.log

~nicoco 2 months ago

nicoco referenced this ticket in commit 67ba0e1.

~nicoco 2 months ago

I pushed an attempt at fixing this, but since I have no such group I couldn't test. Let me know if that fixes the issue!

mail 2 months ago · edit

Can't test it for now, the pull today broke both sleamdge and slidcord for me.

mail 2 months ago · edit

Traceback (most recent call last): File "", line 1, in AttributeError: module 'sleamdge.main' has no attribute 'main'

mail 2 months ago · edit

Broke for me after 5d5dc9d2c4287b792b33c9273f61e1908b2931cf

mail 2 months ago · edit

And after 3d5f401d8022e631f75d0e94b20ca19124a1be9e for sleamdge

~nicoco 2 months ago

Traceback (most recent call last): File "", line 1, in AttributeError: module 'sleamdge.main' has no attribute 'main'

That's a weird one, how did you install? I suspect you upgraded sleamdge and slidcord, but not "slidge core".

mail 2 months ago · edit

I just run it with poetry, it says that slidge was upgraded (0.1.3 -> 0.2.0a4).

Flit 2 months ago · edit

At least for me, updating to 0.2alpha10 resolved the issue, though I did leave the group so that may have something to do with it as well

~nicoco 2 months ago

nicoco referenced this ticket in commit 3494b7d.

~nicoco 2 months ago

Traceback (most recent call last): File "", line 1, in AttributeError: module 'sleamdge.main' has no attribute 'main'

This should now be fixed

mail 2 months ago · edit

seems to start up again! any reason why I can only choose to "propagate" presence and avatar, but not a single one of them?

"~nicoco" outgoing@sr.ht – August 7, 2024 10:29 PM

Traceback (most recent call last): File "", line 1, in AttributeError: module 'sleamdge.main' has no attribute 'main'

This should now be fixed

~nicoco 2 months ago

These are definitely meant to be independent preferences. How do you try to configure them? Which XMPP client? (movim I suppsose?)

mail 2 months ago · edit

yup

Flit 2 months ago · edit

I also ran into that. It appears to be an issue after migrating to the new database - you need to reregister or enable both before it will let you configure them independently.

Maybe this is worth a separate todo?

mail 2 months ago · edit

Seems to work on Gajim and Cheogram. Movim doesn't let me proceed unless I select both options.

mail 2 months ago · edit

Enabling both didn't seem to have helped. Movim still only lets me proceed with both prefs enabled.

mail 2 months ago · edit

Separate todo is good.

~nicoco 2 months ago

I'll look into but it smells like a movim bug. Maybe I'm wrong.

Register here or Log in to comment, or comment via email.