Closed Momamari closed 2 years ago
Hi @Momamari, thank you for your bug report. Unfortunately, this project has become somewhat dusty and is no longer actively developed. I updated a few things quick and dirty – it should run again with Python 3.8 or higher. Make sure your master branch is up-to-date and then:
python3 -m venv env
), activate it (source env/bin/activate
) and install the dependencies (pip install .
)python application.py
. Your default browser should open a new window.Once the training is done, the results should be displayed in your browser. Hope this helps for now. Feel free to write again if anything should not work as I have described it.
By the way, if you're already a bit into programming in Python, check out these Jupyter notebooks introducing topic modeling.
Hi, Even though active development has rather stopped, I wanted to report yet another issue with opening the program on a Mac:
I have been using the Topics Explorer during the last months, last time end of December 2021. My next try was middle of March 2022, and since then I have not been able to get it running. I am working with Mac OS Monterey (12.2.1). The cause of the problem may be similar to what was reported above: If I execute the program by clicking, I'll get this in the terminal:
And nothing happens.
If I try starting the program via resources -> backend -> topics explorer and then resources -> webengine -> topics explorer, a blank browser window opens, without any option to interact.
If I start a virtual environment, a browser window opens as well, where I get:
Access to localhost was denied You don't have authorization to view this page. HTTP ERROR 403
I recently updated to Monterey, but tried to get the program running on a computer with OS 11.6, this did not work either. On Windows, it seems to be working, though.
If you find the time to look into this, this would be highly appreciated - while I learned in the meantime how to perform topic modeling using code, I really liked the approach of the program and its applicability for people without programming skills.
Thanks!
Hi @wissen-ist-acht,
thank you for the bug report. This application is running on port 5000 by default. Looks like Apple introduced AirPlay Receiver with Monterey already running on port 5000 (see also here). You can either turn off the AirPlay Receiver, or pull the latest changes from this repository. The DARIAH TopicsExplorer should now run on port 5001 (I have just fixed this).
Hope this helps :)
Great, working like a charm now - thank you for the quick fix!
Perfect!
Hey there, we are two students form TU Darmstadt who have problems getting to run DARIAH.
Both of us work with MacOS (Catalina 10.15.7) and we are also very new to programming, python etc. We manage to open the topic explorer with the source code in the browser but once we chose some text files and stop words for our topic modelling the website crushes and "http://localhost:5000/modeling" is shown without any content. We have read the readme file but we are very insecure about how to solve this problem. So if you could help us in any way we would be really thankful!!
I guess it has something to do with the frontend/backend? But whenever I try to enter the python /usr/file/... --frozen command, I'll get: