cjrd / TMA

Topic Model Analyzer
https://github.com/cjrd/TMA/wiki
Other
62 stars 27 forks source link

'ulimit' is not recognized as an internal or external command #14

Open shresthani opened 5 years ago

shresthani commented 5 years ago

Hi I am not sure if TMA current version only works on Linux platform. But I tried to run on windows platform. I have installed all required package and run the django server successfully. But when I ran the topic modeling on any sample data, I got the error "ulimit' is not recognized as an internal or external command"

I think ulimit is linux/unix command. I tried to install in windows (by git-bash and/or cygwin) but no success. Any idea if somebody already ran this on windows platform.

Thanks a lot. Shrestha

Here is full trace of error:

'ulimit' is not recognized as an internal or external command, operable program or batch file. [22/Nov/2018 09:44:19] "GET /tma/ HTTP/1.1" 200 30951 [22/Nov/2018 09:44:20] "GET /static/js/jquery-latest.js HTTP/1.1" 200 72328 [22/Nov/2018 09:44:20] "GET /static/images/ajax-loading-bar.gif HTTP/1.1" 200 10819 [22/Nov/2018 09:44:20] "GET /static/js/init-page.js HTTP/1.1" 200 3532 [22/Nov/2018 09:44:20] "GET /static/css/init-form.css HTTP/1.1" 200 2775 [22/Nov/2018 09:44:20] "GET /static/css/standard.css HTTP/1.1" 200 4356 [22/Nov/2018 09:44:20] "GET /static/images/paper.png HTTP/1.1" 200 2511 [22/Nov/2018 09:44:21] "GET /static/images/simple-arrow-right.png HTTP/1.1" 200 113 [22/Nov/2018 09:44:21] "GET /static/images/favicon.ico HTTP/1.1" 200 318 [22/Nov/2018 09:44:21] "GET /static/images/qmark.jpg HTTP/1.1" 200 1056 Internal Server Error: /tma/ Traceback (most recent call last): File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\django\core\handlers\base.py", line 115, in get_response response = callback(request, *callback_args, callback_kwargs) File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\django\views\decorators\csrf.p y", line 77, in wrapped_view return view_func(*args, *kwargs) File "F:\TMA\TMA\src\views.py", line 29, in process_form return _process_form(request) File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\django\utils\decorators.py", l ine 91, in _wrapped_view response = view_func(request, args, kwargs) File "F:\TMA\TMA\src\views.py", line 231, in _process_form analyzer.create_relations() File "F:\TMA\TMA\src\backend\ldaanalyzer.py", line 123, in create_relations beta = np.loadtxt(os.path.join(self.params['outdir'],'final.beta')) File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\numpy\lib\npyio.py", line 926, in loadtxt fh = np.lib._datasource.open(fname, 'rt', encoding=encoding) File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\numpy\lib_datasource.py", lin e 262, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "F:\program_files\anaconda3\envs\TMA_python2.7\lib\site-packages\numpy\lib_datasource.py", lin e 618, in open raise IOError("%s not found." % path) IOError: F:\TMA\TMA\tmaout\tmpxssa_s_formdata/lda\final.beta not found.