Bug 796039

Summary: Python client not recognizing source directories with pot files only in sub-directories.
Product: [Retired] Zanata Reporter: Carlos Munoz <camunoz>
Component: Component-PythonClientAssignee: James Ni <jni>
Status: CLOSED NEXTRELEASE QA Contact: zanata-dev-internal <zanata-dev-internal>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3CC: jni, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 1.3.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-26 08:12:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Carlos Munoz 2012-02-22 06:42:11 UTC
Description of problem:

Version-Release number of selected component (if applicable): 1.3.3

How reproducible:

Steps to Reproduce:
1. Go to a publican project which has a source directory with no POT files directly underneath it. All of its POT files should be in sub-directories.
(e.g. /pot/subdir/file.pot)
2. Try running "zanata push --srcdir=./pot"
Actual results:
The following error message: "error: Can not find source folder, please specify the source folder with '--srcdir' or 'dir' option"

Expected results:
The python client should behave like the maven client in that it recursively finds all source documents under the specified source directory.

Additional info:
The publican-demo project under the zanata maven client is a prime example. This issue can be reproduced by using the python client instead of the maven client to push this project.

Comment 1 James Ni 2012-03-05 03:25:14 UTC
Hi Carlos,

Thanks, I make a commit to git-hub to fix this issue, please verify this issue with:


Comment 2 Carlos Munoz 2012-03-06 05:43:25 UTC
Verified with Zanata python client version 1.3.3-29-gee3c