Jump to content


Photo

ISO639.py update request


  • Please log in to reply
11 replies to this topic

#1 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 15 February 2017 - 11:58

If anybody knows how to update https://github.com/O...Tools/ISO639.py with latest changes https://github.com/n...aster/latest.sh

Please update it.

Thanks in advance :)


Edited by Persian Prince, 15 February 2017 - 11:59.

Open Vision sources: https://github.com/OpenVisionE2


Re: ISO639.py update request #2 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 1 March 2017 - 12:15

Any idea how to update https://github.com/O...Tools/ISO639.py using latest  http://www-01.sil.or...3/iso-639-3.tab ? :(


Edited by Persian Prince, 1 March 2017 - 12:15.

Open Vision sources: https://github.com/OpenVisionE2


Re: ISO639.py update request #3 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 1 March 2017 - 19:28

Oh my, what a horrible file... from the looks of it, it's only ever used in AudioSelection to display a nicer name in the selection menu (and for that the whole thing resides in a python dict).

Maybe just import the text file into a database file that can be parsed when required?
Or just read the table into python code, and then write that to a Pickle file for loading when required?
Real musicians never die - they just decompose

Re: ISO639.py update request #4 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 3 March 2017 - 21:47

One solution is using https://github.com/noumar/iso639 I guess


Open Vision sources: https://github.com/OpenVisionE2


Re: ISO639.py update request #5 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 4 March 2017 - 11:08

Or like this:

https://github.com/O...c10c05d3ba35027
Real musicians never die - they just decompose

Re: ISO639.py update request #6 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 4 March 2017 - 12:15

Great job MiLo :)
Perfect as always.

Open Vision sources: https://github.com/OpenVisionE2


Re: ISO639.py update request #7 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 4 March 2017 - 15:26

@MiLo

Thank you ..

But I got this error with your committee.. and after return back build just fine  :(   

| ERROR: oe_runmake failed
| mv -f .deps/xmlgenerator.Tpo .deps/xmlgenerator.Po
| mv -f .deps/enigma.Tpo .deps/enigma.Po
| mipsel-oe-linux-g++  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se  -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0=/usr/src/debug/enigma2/2.7+gitAUTOINC+8a1514c90a-r0 -fdebug-prefix-map=/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se= -fvisibility-inlines-hidden -Wall -pthread -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/freetype2 -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/fribidi -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/gstreamer-1.0 -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/glib-2.0 -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/glib-2.0/include -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/libpng16 -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/libxml2 -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/sigc++-1.2/include -I/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/sigc++-1.2 -fno-rtti -fno-exceptions -pthread -fopenmp       -lxml2 -Wl,-O1  -Wl,--as-needed -o enigma2 -Wl,--export-dynamic bsod.o enigma.o version_info.o xmlgenerator.o \
| 		-Wl,--whole-archive ../lib/actions/libenigma_actions.a ../lib/base/libenigma_base.a ../lib/components/libenigma_components.a ../lib/driver/libenigma_driver.a ../lib/mmi/libenigma_mmi.a ../lib/dvb/libenigma_dvb.a ../lib/dvb_ci/libenigma_dvb_ci.a ../lib/gdi/libenigma_gdi.a ../lib/gui/libenigma_gui.a ../lib/python/libenigma_python.a ../lib/nav/libenigma_nav.a ../lib/network/libenigma_network.a ../lib/service/libenigma_service.a -Wl,--no-whole-archive -lfreetype -lfribidi -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -ldvbsi++ -lpng16 -lxml2 -lsigc-1.2 -lssl -lcrypto -lgif -ljpeg -L/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib -lpython2.7 -ldreamdvd -ltuxtxt -ltuxtxt32bpp -lcrypt -lrt -ludfread
| make[3]: Leaving directory `/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/build/main'
| rm version-intermediate.h
| make[2]: Leaving directory `/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/build/main'
| Making all in data
| make[2]: Entering directory `/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/build/data'
| Makefile:746: *** missing separator.  Stop.
| make[2]: Leaving directory `/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/build/data'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/build'
| make: *** [all] Error 2
| WARNING: /home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/temp/run.do_compile.6634:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/raed/BlackHole-800se/openpli-oe-core/build/tmp/work/dm800se-oe-linux/enigma2/2.7+gitAUTOINC+8a1514c90a-r0/temp/log.do_compile.6634)


DM500s
DM800

DM800se

DM920UHD


Re: ISO639.py update request #8 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 5 March 2017 - 09:39

What if the receiver isn't connected to the internet? Is there a base that more or less works then?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: ISO639.py update request #9 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 5 March 2017 - 09:50

I just put a copy in the repository, and convert it to pickle during the build.
Real musicians never die - they just decompose

Re: ISO639.py update request #10 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 5 March 2017 - 10:00

You mean it's generated compile-time not run-time?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: ISO639.py update request #11 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 11 March 2017 - 14:13

Yep, runtime it's just loading the data file.
Real musicians never die - they just decompose

Re: ISO639.py update request #12 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 11 March 2017 - 16:10

ok.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users