π Bug Description
Some issues on windows os that can be fixed with documentaion and code fixes
π Steps to Reproduce
try running on windows os
β
Expected Behavior
working on windows
β Actual Behavior
errors on windows
πΈ Screenshots
If applicable, add screenshots to help explain your problem.
π₯οΈ Environment Information
Desktop/Server:
- OS: [e.g. macOS 13.4, Ubuntu 20.04, Windows 11]
- Python Version: [e.g. 3.11.5]
- Node.js Version: [e.g. 23.10.0]
- Ollama Version: [e.g. 0.9.5]
- Docker Version: [e.g. 24.0.6] (if using Docker)
Browser (if web interface issue):
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 118.0.0.0]
π System Health Check
Please run python system_health_check.py and paste the output:
[Paste system health check output here]
π Error Logs
Please include relevant error messages or logs:
π§ Configuration
- Deployment method: [Docker / Direct Python]
- Models used: [e.g. qwen3:0.6b, qwen3:8b]
- Document types: [e.g. PDF, DOCX, TXT]
π Additional Context
Add any other context about the problem here.
π€ Possible Solution
1)The windows os doesnt handle all the icons in terminal and generates python char decoding errors
Fix: set PYTHONIOENCODING=utf-8
run this command in the terminal before running any of the python files in this package
Please add this to the documentation
- npm dev commands fails which even though npm exists in windows
Fix: this code in the run_system.py to handle npm.cmd shims
import shutils
self.logger.info(f"π Starting {service_name} on port {config.port}...")
try:
# Setup environment
env = os.environ.copy()
if config.env:
env.update(config.env)
self.logger.info(f"Command: {' '.join(config.command)}")
# Resolve executable on Windows (handle npm -> npm.cmd shims)
cmd = list(config.command)
if os.name == 'nt' and cmd:
resolved = shutil.which(cmd[0])
if resolved:
cmd[0] = resolved
# Start process
process = subprocess.Popen(
cmd, #config.command,
cwd=config.cwd,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
bufsize=1,
universal_newlines=True
)
π Bug Description
Some issues on windows os that can be fixed with documentaion and code fixes
π Steps to Reproduce
try running on windows os
β Expected Behavior
working on windows
β Actual Behavior
errors on windows
πΈ Screenshots
If applicable, add screenshots to help explain your problem.
π₯οΈ Environment Information
Desktop/Server:
Browser (if web interface issue):
π System Health Check
Please run
python system_health_check.pyand paste the output:π Error Logs
Please include relevant error messages or logs:
π§ Configuration
π Additional Context
Add any other context about the problem here.
π€ Possible Solution
1)The windows os doesnt handle all the icons in terminal and generates python char decoding errors
Fix: set PYTHONIOENCODING=utf-8
run this command in the terminal before running any of the python files in this package
Please add this to the documentation
Fix: this code in the run_system.py to handle npm.cmd shims
import shutils
self.logger.info(f"π Starting {service_name} on port {config.port}...")