Elv13 / tyrannical

Dynamic tagging configuration system for awesomeWM
211 stars 33 forks source link

init.lua:156: attempt to compare userdata with number #63

Closed OnkelTem closed 8 years ago

OnkelTem commented 8 years ago

Hello!

I've installed the latest version of Tyrannical and tried it with master version of AWM (awesomeWM/awesome@ae96ed0827f) with default example.rc.lua and it didn't work for me properly. Upon startup I'm getting these error messages:

init.lua:156: attempt to compare userdata with number
init.lua:189: attempt to compare userdata with number

Ideas?

Elv13 commented 8 years ago

Hello,

Please use the awesome3.6 branch. Upstream changed the API (and will again in a few weeks). I made the changes within hours, but I can't push them to the master branch as this would break 3.5.* support.

Also note that 3.6 support is currently incomplete. In the past few days I worked on merging some key parts of Tyrannical into Awesome https://github.com/awesomeWM/awesome/pull/824. Once this is done, I will go ahead with a full Tyrannical rewrite. It should be ready and stable by the time 3.6 is released.

OnkelTem commented 8 years ago

Look forward to try it all once it's released then!

Thank you.

Elv13 commented 8 years ago

You can try it now, you just need to change a few lines in the default config. See the README.md file. But really, you should use an Awesome version that pre-date the screen API changes from 3 weeks ago. It will be buggy for the next few months as more and more breaking changes are merged (aka, your config will break)

Elv13 commented 8 years ago

This should be fixed in the 3.6 branch. I have a newer "multi screen" version using the new Awesome APIs. It isn't as stable as the 3.6 version yet. It will eventually become Tyrannical 2.0. For now, the direct port should be usable enough.