Doesn't work when folder names consist of whitespace

Open
#108 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start in utils.py at parse_mode_file and inspect how cmd.split handles usernames and folder names containing spaces. Reproduce the failure with a whitespace-containing path, then verify that mode-file parsing preserves the complete username and folder names without breaking command arguments.

Written by the indexing model from the issue text.

Description

bug

Because of utils.py, function parse_mode_file cmd.split just splits by whitespace, so if username, or any folder name consist of space makes an error

Dominant language
Python
Stars
35
Forks
27
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apertium/apertium-python

All issues in apertium/apertium-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.