#694: Translations scaffolding
------------------------+----------------------
  Reporter:  olemis     |      Owner:  olemis
      Type:  task       |     Status:  assigned
  Priority:  minor      |  Milestone:
 Component:  trac core  |    Version:  0.7.0
Resolution:             |   Keywords:  i18n
------------------------+----------------------

Comment (by SaintGermain):

 I am trying to check the patch against the current trunk.
 Olemis: should I keep the "test" patch in the t694 branch on your
 bitbucket repository ?

 I have trouble extracting the messages. Does that ring a bell to someone ?
 Thanks

 {{{#!python
 (test)user@system:~/project/bloodhound/bloodhound_dashboard$ python
 setup.py extract_messages
 running extract_messages
 extracting messages from bhdashboard/__init__.py
 extracting messages from bhdashboard/_json.py
 extracting messages from bhdashboard/admin.py
 Traceback (most recent call last):
   File "setup.py", line 174, in <module>
     **extra
   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
     dist.run_commands()
   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
     cmd_obj.run()
   File "/home/user/.virtualenvs/test/local/lib/python2.7/site-
 packages/babel/messages/frontend.py", line 305, in run
     for filename, lineno, message, comments, context in extracted:
   File "/home/user/.virtualenvs/test/local/lib/python2.7/site-
 packages/babel/messages/extract.py", line 163, in extract_from_dir
     strip_comment_tags):
   File "/home/user/.virtualenvs/test/local/lib/python2.7/site-
 packages/babel/messages/extract.py", line 190, in extract_from_file
     strip_comment_tags))
   File "/home/user/.virtualenvs/test/local/lib/python2.7/site-
 packages/babel/messages/extract.py", line 267, in extract
     for lineno, funcname, messages, comments in results:
   File "/home/user/project/bloodhound/trac/trac/dist.py", line 182, in
 extract_python
     {'__builtins__':{}}, {})
   File "<string>", line 0
 SyntaxError: encoding declaration in Unicode string
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/694#comment:47>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to