View Single Post
12/16/14, 09:39 AM   #19
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,960
If I try to run the command luadist.install "luaxml" in the local console of ZBS I get the following error message:

Code:
Program starting as '"C:\Users\ausername\Documents\Zero Brain Studio\bin\lua.exe" -e "io.stdout:setvbuf('no'); local conf = require 'dist.config'; for k, v in pairs({arch = 'Windows', cache = false, cache_dir = 'tmp\\cache', cache_timeout = 0, components = {'Runtime', 'Documentation', 'Header', 'Library', 'Unspecified'}, dep_cache_file = 'tmp\\cache\\.depcache', distinfos_dir = 'dists', log_file = 'tmp\\luadist.log', manifest_file = 'tmp\\cache\\.gitmodules', root_dir = 'C:\\Users\\ausername\\luadist\\5.1', source = false, type = 'x86'}) do conf[k] = v end; for k, v in pairs({}) do conf.variables[k] = v end; os.exit = function() error('done') end; local s = os.time(); local ok, err = pcall(require('luadist').install.run, [[C:\Users\ausername\luadist\5.1]], {'luaxml'}); if not ok and not err:find('done$') then print(err) end; print('Completed in '..(os.time()-s)..' second(s).')"'.
Program 'lua.exe' started in 'C:\Users\ausername\Documents\Zero Brain Studio' (pid: 9636).
C:\Users\ausername\Documents\Zero Brain Studio\bin\lua.exe: ...\ausername\Documents\Zero Brain Studio\lualibs/luadist.lua:5: module 'dist' not found:
	no field package.preload['dist']
	no file '.\dist.lua'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin\lua\dist.lua'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin\lua\dist\init.lua'
	no file './dist.lua'
	no file './dist/init.lua'
	no file './lua/dist.lua'
	no file './lua/dist/init.lua'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\lualibs/dist/dist.lua'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\lualibs/dist.lua'
	no file 'C:\Users\ausername\luadist\5.1\lib\lua/dist.lua'
	no file 'C:\Users\ausername\luadist\5.1\lib\lua/dist/init.lua'
	no file '.\dist.dll'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin\dist.dll'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin\loadall.dll'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin/dist.dll'
	no file 'C:\Users\ausername\Documents\Zero Brain Studio\bin/clibs/dist.dll'
	no file 'C:\Users\ausername\luadist\5.1\lib\lua/dist.dll'
stack traceback:
	[C]: in function 'require'
	...\ausername\Documents\Zero Brain Studio\lualibs/luadist.lua:5: in main chunk
	[C]: in function 'require'
	(command line):1: in main chunk
	[C]: at 0x00402a57
Program completed in 0.06 seconds (pid: 9636).
I donwloaded the ZIP archives and unzipped them into the packages folder, so the folder structure now is:
Zero Brain Studio\Packages\eso-zbs-master
Zero Brain Studio\Packages\eso-zbs-master\packages
Zero Brain Studio\Packages\eso-zbs-master\packages\ESOAddonDev.lua
Zero Brain Studio\Packages\eso-zbs-master\packages\luadist.lua

I've also tried it this way:
Zero Brain Studio\Packages\
Zero Brain Studio\Packages\ESOAddonDev.lua
Zero Brain Studio\Packages\luadist.lua

And this way:
Zero Brain Studio\Packages\eso-zbs-master
Zero Brain Studio\Packages\eso-zbs-master\packages
Zero Brain Studio\Packages\eso-zbs-master\packages\ESOAddonDev.lua
Zero Brain Studio\Packages\luadist.lua

Any1 got an idea how to fix this? Thank you.
  Reply With Quote