Discussion:
[STUMP] Alexandria causes name-conflicts
Dimitri Minaev
2017-01-20 11:53:38 UTC
Permalink
Hi,

I decided to update my Stump today, but it didn't run with my
.stumpwmrc. It took me some time to find the cause, and it seems to be
that StumpWM's and Alexandria's implementation of 'flatten' function
conflict when you load module 'stumptray'. Whenever I run (load-module
"stumptray"), I get the message:

Error loading /home/dimitri/.stumpwmrc: USE-PACKAGE #<PACKAGE
"ALEXANDRIA.0.DEV"> causes name-conflicts in #<PACKAGE "STUMPWM">
between the following symbols:
ALEXANDRIA.0.DEV:FLATTEN, STUMPWM:FLATTEN

I only wonder why it is triggered by 'stumptray'? It doesn't even use flatten.
--
With best regards,
Dimitri Minaev
Javier Olaechea
2017-01-25 23:00:43 UTC
Permalink
Dimitri,
I couldn't reproduce locally but think this commit[0] should address your
issue. Could you update and check if everything works OK now?

[0]:
https://github.com/stumpwm/stumpwm/commit/b2382fa3fa02e912b95983410f65f9d267a14368
Post by Dimitri Minaev
Hi,
I decided to update my Stump today, but it didn't run with my
.stumpwmrc. It took me some time to find the cause, and it seems to be
that StumpWM's and Alexandria's implementation of 'flatten' function
conflict when you load module 'stumptray'. Whenever I run (load-module
Error loading /home/dimitri/.stumpwmrc: USE-PACKAGE #<PACKAGE
"ALEXANDRIA.0.DEV"> causes name-conflicts in #<PACKAGE "STUMPWM">
ALEXANDRIA.0.DEV:FLATTEN, STUMPWM:FLATTEN
I only wonder why it is triggered by 'stumptray'? It doesn't even use flatten.
--
With best regards,
Dimitri Minaev
_______________________________________________
Stumpwm-devel mailing list
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
Dimitri Minaev
2017-01-27 06:13:13 UTC
Permalink
It does, thanks!
Post by Javier Olaechea
Dimitri,
I couldn't reproduce locally but think this commit[0] should address your
issue. Could you update and check if everything works OK now?
https://github.com/stumpwm/stumpwm/commit/b2382fa3fa02e912b95983410f65f9d267a14368
Post by Dimitri Minaev
Hi,
I decided to update my Stump today, but it didn't run with my
.stumpwmrc. It took me some time to find the cause, and it seems to be
that StumpWM's and Alexandria's implementation of 'flatten' function
conflict when you load module 'stumptray'. Whenever I run (load-module
Error loading /home/dimitri/.stumpwmrc: USE-PACKAGE #<PACKAGE
"ALEXANDRIA.0.DEV"> causes name-conflicts in #<PACKAGE "STUMPWM">
ALEXANDRIA.0.DEV:FLATTEN, STUMPWM:FLATTEN
I only wonder why it is triggered by 'stumptray'? It doesn't even use flatten.
--
With best regards,
Dimitri Minaev
_______________________________________________
Stumpwm-devel mailing list
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
--
With best regards,
Dimitri Minaev
Loading...