rgieseke / textredux

Text-based interfaces for Textadept
http://rgieseke.github.io/textredux/
Other
58 stars 11 forks source link

module 'lfs' not found #11

Closed bbodi closed 10 years ago

bbodi commented 10 years ago

Hi! I just downloaded textadept and and textredux, copy the latter into ~/textadept/modules/textredux, and got the following error on startup:

http://i.imgur.com/NsNzGwF.png

rgieseke commented 10 years ago

Do you have anything else except

require('textredux').hijack()

in your init.lua or how are you loading Textredux?

bbodi commented 10 years ago

Oh sorry, I forgot to mention that. Yes, the init.lua contains only require('textredux').hijack() http://i.imgur.com/ng0gX16.png

rgieseke commented 10 years ago

Can you try removing l. 52 in textredux/fs.lua with

local lfs = require 'lfs'

There was a report on the mailing list last month where removing it was the solution [1] It works with that line on my Windows VM but if this fixes it for you I'll remove it.

[1] http://foicica.com/lists/code/201407/2002.html

bbodi commented 10 years ago

It works! Thanks a lot!

rgieseke commented 10 years ago

Great, thanks for the report! I committed this and made a bug-fix release (https://github.com/rgieseke/textredux/releases/).