Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#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

Attachments (1)

sugar-toolkit.patch (767 bytes) - added by alsroot 12 years ago.

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by alsroot

comment:1 Changed 12 years ago by FGrose

  • Bug Status changed from Unconfimed to Needinfo

triaging... fixed?

comment:2 Changed 12 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 12 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 12 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 12 years ago by alsroot

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

comment:6 Changed 12 years ago by walter

alsroot's patch worked for me...

comment:7 Changed 12 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:8 Changed 8 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

comment:9 Changed 8 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar
Note: See TracTickets for help on using tickets.