#391 closed defect (fixed)
Process .py files in subdirectories while `./setup genplot`
Reported by: | alsroot | Owned by: | erikos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Sugar | Version: | 0.83.x |
Severity: | Unspecified | Keywords: | r+ |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Resolved |
Description
./setup genplot in Colors' commit:
http://git.sugarlabs.org/projects/colors/repos/mainline/commits/9fc478c6fe4eb639749cb851a5ee0418fe5f6247
cannot find .py in subdirectory
Attachments (1)
Change History (10)
Changed 15 years ago by alsroot
comment:1 Changed 15 years ago by FGrose
- Bug Status changed from Unconfimed to Needinfo
comment:2 Changed 15 years ago by erikos
- Bug Status changed from Needinfo to Assigned
- Milestone changed from Unspecified by Release Team to 0.84
- Owner changed from marcopg to erikos
- Status changed from new to assigned
comment:3 Changed 15 years ago by walter
this may be related to a problem I was having with genpot for infoslicer. It found .py files in one subdir, but died at the first file of the second subdir. Generation by hand, using xgettext worked without errors.
comment:4 Changed 15 years ago by walter
adding error message:
python setup.py genpot
xgettext: error whle opening "Article_Builder.py" for reading: No such file or directory
ERROR - xgettext failed with return code 1.
Article_Builder.py is the first file in the Processing subdirectory. All of the .py files in the GUI_Components directory are processed.
comment:5 Changed 15 years ago by alsroot
I had the same error message,
attached patch fixed it in my case
comment:6 Changed 15 years ago by walter
alsroot's patch worked for me...
comment:7 Changed 15 years ago by erikos
- Bug Status changed from Assigned to Resolved
- Keywords r+ added; r? removed
- Resolution set to fixed
- Status changed from assigned to closed
Awesome! Thanks very much Aleksey for the patch and Walter for verifying.
pushed to sugar-toolkit: http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/commits/6f210f0e33786570fcdb8235a41c2f9009e78576
comment:9 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit to Sugar
triaging... fixed?