Bug 796039 - Python client not recognizing source directories with pot files only in sub-directories.
Summary: Python client not recognizing source directories with pot files only in sub-d...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-PythonClient
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: James Ni
QA Contact: zanata-dev-internal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-22 06:42 UTC by Carlos Munoz
Modified: 2012-04-26 08:12 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

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:
Always


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:
https://github.com/zanata/zanata-python-client/commit/ee3c573cf4f7ddca66499d44fd975a3735a84ec2

Thanks

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


Note You need to log in before you can comment on or make changes to this bug.