Ticket #391 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Process .py files in subdirectories while `./setup genplot`

Reported by: alsroot Owned by: erikos
Priority: Unspecified by Maintainer Milestone: 0.84
Component: sugar-toolkit Version: 0.83.x
Severity: Unspecified Keywords: r+
Cc: Distribution/OS: Unspecified
Bug Status: Resolved

Description

Attachments

sugar-toolkit.patch Download (0.7 KB) - added by alsroot 4 years ago.

Change History

Changed 4 years ago by alsroot

Changed 4 years ago by FGrose

  • status_field changed from Unconfimed to Needinfo

triaging... fixed?

Changed 4 years ago by erikos

  • owner changed from marcopg to erikos
  • status changed from new to assigned
  • status_field changed from Needinfo to Assigned
  • milestone changed from Unspecified by Release Team to 0.84

Changed 4 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.

Changed 4 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.

Changed 4 years ago by alsroot

I had the same error message,
attached patch fixed it in my case

Changed 4 years ago by walter

alsroot's patch worked for me...

Changed 4 years ago by erikos

  • keywords r+ added; r? removed
  • status changed from assigned to closed
  • resolution set to fixed
  • status_field changed from Assigned to Resolved

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

Note: See TracTickets for help on using tickets.