You are not logged in.

#1 2015-05-18 07:36:29

captainju
Member
Registered: 2012-08-01
Posts: 38

[Solved] Aweome WM : errors in awful (screen expected, got string)

Hello guys
I updated awesome-git yesterday and then I got a lot of errors like those :

W: awesome: luaA_dofunction:77: error while running function
stack traceback:
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/awful/ewmh.lua:141: in function </usr/share/awesome/lib/awful/ewmh.lua:135>
error: /usr/share/awesome/lib/awful/ewmh.lua:141: bad argument #2 to '__index' (screen expected, got string)
W: awesome: luaA_dofunction:77: error while running function
stack traceback:
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/awful/placement.lua:113: in function 'awful.placement.no_offscreen'
	/home/jblondeau/.config/awesome/rc.lua:574: in function </home/jblondeau/.config/awesome/rc.lua:561>
error: /usr/share/awesome/lib/awful/placement.lua:113: bad argument #2 to '__index' (screen expected, got string)

I can't use menubar, nor resizing windows.

Do you know if something changed recently ?
I can't find anything related on git.

Last edited by captainju (2015-05-18 08:57:01)

Offline

#2 2015-05-18 08:56:46

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [Solved] Aweome WM : errors in awful (screen expected, got string)

Found the issue in my rc.lua :

os.setlocale(os.getenv("LANG"))

I don't why I had that line...

Offline

#3 2015-05-19 17:01:09

DragonRock
Member
Registered: 2015-05-19
Posts: 1

Re: [Solved] Aweome WM : errors in awful (screen expected, got string)

Yes, I had the same probleme, and I also had a

os.setlocale('fr_FR.UTF-8')

in my rc.lua, and removing this line makes everything work normally. Perhaps it's from an update of awesome / awful, anybody have an idea of why is that ?

------
EDIT : (I'm french and) I just realized that removing this line changes my date format (in the upper-right corner, the date is now written in english instead of french...)

Last edited by DragonRock (2015-05-20 13:26:52)

Offline

Board footer

Powered by FluxBB