Re: [nvda-translations] Possible bug in scripts

  • From: Noelia <nrm1977@xxxxxxxxx>
  • To: nvda-translations@xxxxxxxxxxxxx
  • Date: Fri, 11 Mar 2016 05:01:09 +0100

Thanks, I have seen your commit in nvda-mrconfig fixing this.
Cheers.

El 11/03/2016 a las 0:35, James Teh escribió:

It's due to a broken settings file committed for some locale. I don't
know which yet. I need to make the scripts handle this a bit more
gracefully.

On 11/03/2016 3:14 AM, Noelia wrote:
Hi,

I have seen this for BitChe and ClipContentsDesigner add-ons.
Thanks.

***
Cron Daemon Cron <nvdal10n@exbi> cd
${PathToMrRepo}/addons/clipContentsDesigner && chronic mr addon2svn &&
chronic mr svn2addon

Traceback (most recent call last):
   File "scripts/db.py", line 77, in <module>
     db = DB(cmdArgs.file, autoSave=True)
   File "scripts/db.py", line 21, in __init__
     self.update(json.load(f))
   File "/usr/lib/python2.7/json/__init__.py", line 290, in load
     **kw)
   File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
     return _default_decoder.decode(s)
   File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
     raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
mr addon2svn: command failed
mr addon2svn: /home/nvdal10n/mr/addons/bitChe
Your branch is up-to-date with 'origin/stable'.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `pot' is up to date.
scons: `mergePot' is up to date.
scons: done building targets.

mr addon2svn: finished (1 failed)
----------------------------------------------------------------
NVDA translations:

Team documentation: http://community.nvda-project.org/wiki/Translate
To send a message to the list: nvda-translations@xxxxxxxxxxxxx
list archive: //www.freelists.org/archive/nvda-translations/
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-translations
To contact list moderators: nvda-translations-moderators@xxxxxxxxxxxxx


----------------------------------------------------------------
NVDA translations:

Team documentation: http://community.nvda-project.org/wiki/Translate
To send a message to the list: nvda-translations@xxxxxxxxxxxxx
list archive: //www.freelists.org/archive/nvda-translations/
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-translations
To contact list moderators: nvda-translations-moderators@xxxxxxxxxxxxx

Other related posts: