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
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found #1598
Comments
Steps to repruduce the problem:
|
Add to my last Comment: |
another point: i started the app with elevated rights (like local Admin). |
Hi @wolfgangmeisen, I think we can solve this by moving the entire installation to another location. We can achieve this by putting python and ASReview inside a virtual environment. Using the following steps, I installed asreview inside my downloads folder: PS C:\Users\Jelle\Downloads\asreview> python -m venv env
PS C:\Users\Jelle\Downloads\asreview> .\env\Scripts\activate
(env) PS C:\Users\Jelle\Downloads\asreview> pip install asreview I can now run asreview as normal ( (env) PS C:\Users\Jelle\Downloads\asreview> asreview lab (env) PS C:\Users\Jelle\Downloads\asreview> .\env\Scripts\asreview.exe lab I realise this is not a very convenient option and more of a work-around, but if you have no administrator rights of the program files directory, then this might be the solution. Another option would be installing python to another location. |
Thank You, jteijema for Your Answer. let me explain, why we can't Do this way. python and asreview will install automaticly (aut Deployment) in an windows environmat. As I can mentioned, DIPF and many other Institute are under Firefrom the hacking Community. So we have to change our mindset up to much more security for any people and the Institut itself. Your Solution doesnt face this circumstands. So im not able to use it (btw: that was the defautl installation procedure.) Is there any other way (e.g.- evironment variable als a pointer on da new data folder in %Homeshare% ? or: as an secure Server Installation with an Web Interface ? or ..... regards |
Have you seen the recent update with ASReview Server: https://asreview.readthedocs.io/en/latest/server_configuration.html. Would this solve your issue?? |
i ve studied the Server-documenton on asreview.readthedocs.io and have some questions. Is there no way to split the data from the code / configuration on the client ? |
I doubt actually only the data folder is the issue:
This suggests to me a lot of folders have this permission issue, not only the data folder. |
Sure, there are more than the data Folder. the other once are Code & configuration folder without user interaction (hopefully). I guess it is possible to elevate the permission without security leaks, but i ve to check it in the next few days. |
Describe the bug
Ive installed asreview 3.1.4 in 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview'
The app starts well, but the data folder is not usable, cause default permissions on %Programfiles% (this is part of the secutity concept an cannot change)
Is it possible to separate data folder from app folder via configuration ? (e.g. on an private share or an local folder)
see details below
:\Windows\system32>asreview lab
Start browser at http://localhost:5000/
If your browser doesn't open. Please navigate to 'http://localhost:5000/'
127.0.0.1 - - [2023-11-29 11:51:32] "GET / HTTP/1.1" 200 713 0.000000
127.0.0.1 - - [2023-11-29 11:51:32] "GET /static/js/main.43c0da44.js HTTP/1.1" 200 1877812 0.143464
127.0.0.1 - - [2023-11-29 11:51:32] "GET /static/css/main.9e747be3.css HTTP/1.1" 200 7690 0.013104
127.0.0.1 - - [2023-11-29 11:51:32] "GET /boot HTTP/1.1" 200 171 0.000998
127.0.0.1 - - [2023-11-29 11:51:32] "GET /boot HTTP/1.1" 200 171 0.000000
127.0.0.1 - - [2023-11-29 11:51:32] "GET /favicon.ico HTTP/1.1" 200 1434 0.000000
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 11:51:32] "GET /api/projects/stats HTTP/1.1" 404 224 0.009166
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\entry_points' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\io' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\models' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\review' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\state' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\webapp' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview_pycache_' not found
127.0.0.1 - - [2023-11-29 11:51:32] "GET /api/projects HTTP/1.1" 200 122 0.093223
127.0.0.1 - - [2023-11-29 11:51:32] "GET /static/media/asreview_sub_logo_lab_black_transparent.c4e14af313ba97465fff113a6b2e4fd7.svg HTTP/1.1" 200 127815 0.000000
127.0.0.1 - - [2023-11-29 11:51:33] "GET /static/media/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2 HTTP/1.1" 200 16054 0.003057
127.0.0.1 - - [2023-11-29 11:51:33] "GET /static/media/roboto-latin-700.c18ee39fb002ad58b6dc.woff2 HTTP/1.1" 200 16133 0.000000
127.0.0.1 - - [2023-11-29 11:51:33] "GET /static/media/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2 HTTP/1.1" 200 16189 0.000000
127.0.0.1 - - [2023-11-29 11:51:33] "GET /favicon.ico HTTP/1.1" 304 186 0.000000
127.0.0.1 - - [2023-11-29 11:51:33] "GET /static/media/ElasArrowRightAhead.e624bdd7c691c7c4f6c01604979c8f07.svg HTTP/1.1" 200 14903 0.002997
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 11:51:33] "GET /api/projects/stats HTTP/1.1" 404 224 0.000000
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 11:51:35] "GET /api/projects/stats HTTP/1.1" 404 224 0.000000
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 11:51:39] "GET /api/projects/stats HTTP/1.1" 404 224 0.000000
127.0.0.1 - - [2023-11-29 12:03:47] "POST /api/projects/info HTTP/1.1" 201 345 0.000000
127.0.0.1 - - [2023-11-29 12:03:56] "PUT /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 355 0.023730
127.0.0.1 - - [2023-11-29 12:04:02] "PUT /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 359 0.021245
WARNING:root:Expected start tag in line 0:
The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.
ERROR:root:Cannot find proper encoding for data file.
127.0.0.1 - - [2023-11-29 12:04:36] "POST /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/data HTTP/1.1" 400 174 0.062180127.0.0.1 - - [2023-11-29 12:04:36] "GET /static/media/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2 HTTP/1.1" 200 17648 0.001278
127.0.0.1 - - [2023-11-29 12:04:36] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 387 0.014989
127.0.0.1 - - [2023-11-29 12:04:36] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/labeled_stats HTTP/1.1" 200 209 0.000000
127.0.0.1 - - [2023-11-29 12:04:43] "GET /api/datasets?subset=plugin HTTP/1.1" 200 122 0.051071
WARNING:root:Expected start tag in line 0:
The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.
ERROR:root:Cannot find proper encoding for data file.
127.0.0.1 - - [2023-11-29 12:04:55] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/data HTTP/1.1" 400 174 0.022585
WARNING:root:Expected start tag in line 0:
The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.
ERROR:root:Cannot find proper encoding for data file.
127.0.0.1 - - [2023-11-29 12:04:56] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/data HTTP/1.1" 400 174 0.016467
WARNING:root:Expected start tag in line 0:
The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.
ERROR:root:Cannot find proper encoding for data file.
127.0.0.1 - - [2023-11-29 12:04:58] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/data HTTP/1.1" 400 174 0.016586
WARNING:root:Expected start tag in line 0:
The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.
ERROR:root:Cannot find proper encoding for data file.
127.0.0.1 - - [2023-11-29 12:05:02] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/data HTTP/1.1" 400 174 0.016116
127.0.0.1 - - [2023-11-29 12:05:11] "PUT /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 387 0.009280
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\entry_points' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\io' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\models' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\review' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\state' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\webapp' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview_pycache_' not found
127.0.0.1 - - [2023-11-29 12:05:11] "GET /api/projects HTTP/1.1" 200 400 0.056109
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 12:05:48] "GET /api/projects/stats HTTP/1.1" 404 224 0.000000
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 12:05:49] "GET /api/projects/stats HTTP/1.1" 404 224 0.000000
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 12:05:51] "GET /api/projects/stats HTTP/1.1" 404 224 0.005982
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
127.0.0.1 - - [2023-11-29 12:05:55] "GET /api/projects/stats HTTP/1.1" 404 224 0.005112
127.0.0.1 - - [2023-11-29 12:06:00] "GET /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 387 0.003991
127.0.0.1 - - [2023-11-29 12:06:04] "PUT /api/projects/b3bfcfc4fb3641e4af1fae37c470357b/info HTTP/1.1" 200 387 0.007763
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\data' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\entry_points' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\io' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\models' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\review' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\state' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview\webapp' not found
ERROR:root:Project 'C:\Program Files\Python\Python3.12\Lib\site-packages\asreview_pycache_' not found
127.0.0.1 - - [2023-11-29 12:06:04] "GET /api/projects HTTP/1.1" 200 400 0.050220
To Reproduce
Steps to reproduce the problem:
Screenshots
If applicable, add screenshots to help explain your problem.
Version information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: