Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot launch with th #33

Closed
yangky11 opened this issue Sep 27, 2015 · 2 comments
Closed

Cannot launch with th #33

yangky11 opened this issue Sep 27, 2015 · 2 comments

Comments

@yangky11
Copy link

Hi all,
I have problem using th to launch trepl. After the program was launched, I cannot require any package. The error is:

/home/yangky/torch/install/share/lua/5.1/trepl/init.lua:363: loop or previous error loading module 'xlua'
stack traceback:
    [C]: in function 'error'
    /home/yangky/torch/install/share/lua/5.1/trepl/init.lua:363: in function 'require'
    [string "_RESULT={require 'xlua'}"]:1: in main chunk
    [C]: in function 'xpcall'
    /home/yangky/torch/install/share/lua/5.1/trepl/init.lua:630: in function 'repl'
    ...ngky/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:185: in main chunk
    [C]: at 0x00405800  

However, it's fine if I use trepl as a package in luajit

@soumith
Copy link
Member

soumith commented Oct 4, 2015

i unfortunately cant reproduce this. Maybe if you can give me the log for:
luajit -l xlua

in case that errors out.

@soumith soumith closed this as completed Oct 4, 2015
@yangky11
Copy link
Author

yangky11 commented Oct 5, 2015

Somehow the error didn't come up again.... Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants