Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 3 123 LastLast
Results 1 to 15 of 35

Thread: Building picons using Bash on Ubuntu on Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts

    Building picons using Bash on Ubuntu on Windows

    Hi im trying to build picons but I dont understand some of the instructions and looking for a bit of guidance.

    Im using the instructions here https://github.com/picons/picons-source

    I have used command git clone https://github.com/picons/picons-source.git /mnt/c/picons-source using Bash on Ubuntu on Windows

    This creates a folder in OS (C called picons-source

    Then I have dragged my enigma folder to build-input folder

    This is the process I dont understand

    I have used command cd /mnt/c/picons-source
    Then

    ./1-build-servicelist.sh
    ./2-build-picons.sh

    I now get

    Code:
    /1-build-servicelist.sh
    ./2-build-p
    Log file located at: /tmp/tmp.KTSipzh6US.servicelist.log
    i
    cons.shWhich style are you going to build?
    1) Service Reference
    2) Service Name
    #?
    Im not sure what to do next I press 2 for service name but I get another question mark, I get the same when I type Service Name

    So the question is how do I tell it what Picons I want to build?

  2. #2
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,423
    Thanks
    997
    Thanked 2,895 Times in 2,248 Posts
    So check the log file!!
    If like me you are missing the svg converter for Windows it suggests installing inkscape
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  3. #3
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    I cant find the log file it says /tmp/tmp.rpPnW4Mm54.picons.log but I cant find it

    I have tried using file explorer and I cant find a folder called tmp on OS C or in any other folders
    Last edited by dsayers; 15-10-17 at 15:20.

  4. #4
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    The tmp directory is probably emptied after a reboot.

  5. #5
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Quote Originally Posted by ccs View Post
    The tmp directory is probably emptied after a reboot.
    I haven't rebooted laptop but I have downloaded inkscape and choosing 2 is now converting channels

  6. #6
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    After it finished converting channels it says

    Code:
    Enigma2: Exported to /mnt/c/picons-source/build-output/servicelist-enigma2-snp
    TvHeadend (file-mode): /mnt/c/picons-source/build-input/tvheadend not found
    TvHeadend (server-mode): /mnt/c/picons-source/build-input/tvheadend.serverconf not found
    VDR: /mnt/c/picons-source/build-input/channels.conf not found
    I now have a file in build-output called servicelist-enigma2-snp this has just a reference of the picons ie

    Code:
    1_0_2_CB40_839_2_11A0000_0_0_0        |  Absolute                 |  CB40_839_2_11A0000=--------        |  absolute=absoluteradio
    1_0_2_D842_838_2_11A0000_0_0_0        |  Absolute 70s             |  D842_838_2_11A0000=--------        |  absolute70s=absoluteradio70s
    1_0_2_84E_15_F020_FFFF0000_0_0_0      |  Absolute 80s             |  84E_15_F020_FFFF0000=--------      |  absolute80s=absoluteradio80s
    1_0_2_CB41_839_2_11A0000_0_0_0        |  Absolute 80s             |  CB41_839_2_11A0000=--------        |  absolute80s=absoluteradio80s
    1_0_2_CB42_839_2_11A0000_0_0_0        |  Absolute 90s             |  CB42_839_2_11A0000=--------        |  absolute90s=absoluteradio90s
    1_0_2_84F_15_F020_FFFF0000_0_0_0      |  Absolute Classic Rock    |  84F_15_F020_FFFF0000=--------      |  absoluteclassicrock=absoluteradioclassicrock
    1_0_2_843_15_F020_FFFF0000_0_0_0      |  Absolute Radio           |  843_15_F020_FFFF0000=--------      |  absoluteradio=absoluteradio
    1_0_1_D3D3_829_2_11A0000_0_0_0        |  Abu Dhabi TV             |  D3D3_829_2_11A0000=--------        |  abudhabitv=abudhabitv
    Im not exactly sure where the picons are meant to be and how to set 100x60 and 220x132 with a transparent background

  7. #7
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,423
    Thanks
    997
    Thanked 2,895 Times in 2,248 Posts
    You should have a folder called binaries-snp or binaries-snp-full containing the picons in build-output
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  8. The Following User Says Thank You to twol For This Useful Post:

    xsony_ngux (18-10-17)

  9. #8
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Quote Originally Posted by twol View Post
    You should have a folder called binaries-snp or binaries-snp-full containing the picons in build-output
    Thanks but I didn't have that folder just servicelist-enigma2-snp.

    I've had issues with my laptop and reinstalled Windows 10 and now Windows store won't load for some reason once I fix it I'll have another go at building picons and let you know how I get on thanks

  10. The Following User Says Thank You to dsayers For This Useful Post:

    xsony_ngux (18-10-17)

  11. #9
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Bump trying this again and get the same error

    Enigma2: Exported to /mnt/c/picons/build-output/servicelist-enigma2-snp.txt
    TvHeadend (server-mode): /mnt/c/picons/build-input/tvheadend.serverconf not found
    VDR: /mnt/c/picons/build-input/channels.conf not found

    Where do I get channels.conf?

    Using
    Code:
    https://gitlab.com/picons/picons
    Last edited by dsayers; 01-02-19 at 18:12.

  12. #10
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by dsayers View Post
    Bump trying this again and get the same error

    Enigma2: Exported to /mnt/c/picons/build-output/servicelist-enigma2-snp.txt
    TvHeadend (server-mode): /mnt/c/picons/build-input/tvheadend.serverconf not found
    VDR: /mnt/c/picons/build-input/channels.conf not found

    Where do I get channels.conf?
    You don't. This is NOT an error message - it's just recording the fact that you don't have the file.
    (Don't blame me - I'm only reading the code to see what it does).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  13. The Following User Says Thank You to birdman For This Useful Post:

    dsayers (01-02-19)

  14. #11
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Ive seen someones log on Ubuntu server they get the same output message plus more info where as mine stays at that.

  15. #12
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by dsayers View Post
    Ive seen someones log on Ubuntu server they get the same output message plus more info where as mine stays at that.
    Just run:
    Code:
    ./2-build-picons.sh snp
    after it and all should be OK. It was for me 5mins ago.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  16. #13
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,765
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Quote Originally Posted by birdman View Post
    Just run:
    Code:
    ./2-build-picons.sh snp
    after it and all should be OK. It was for me 5mins ago.
    Code:
    dsayers@DESKTOP-G7RMSBG:/mnt/c/picons$ ./2-build-picons.sh snp
    
    Log file located at: /tmp/tmp.fPR8UIlpOE.picons.log
    
    TERMINATED: Read the log file!
    I cant find a log file

  17. #14
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by dsayers View Post
    Code:
    dsayers@DESKTOP-G7RMSBG:/mnt/c/picons$ ./2-build-picons.sh snp
    
    Log file located at: /tmp/tmp.fPR8UIlpOE.picons.log
    
    TERMINATED: Read the log file!
    I cant find a log file
    You probably need to install packages librsvg2-bin (for rsvg) and pngquant.
    For some reason it doesn't check this at the start when it does check about a dozen other things.

    Not sure why you can't find a log file, though. I'll run through thing son Ubuntu for Windows and see what happens for me.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  18. #15
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by birdman View Post
    You probably need to install packages librsvg2-bin (for rsvg) and pngquant.
    For some reason it doesn't check this at the start when it does check about a dozen other things.
    And imagemagick.

    Not sure why you can't find a log file, though. I'll run through thing son Ubuntu for Windows and see what happens for me.
    I had no problems. The log files were where it said they were.
    I take it you are looking for them under Ubuntu, not Windows?

    One thing I did notice was that the Ubuntu on Windows is painfully slow at running this.
    When building one set of picons (if they're just for one user there's no point in building more than one set) this was the Ubuntu on Windows log:

    Log file located at: /tmp/tmp.8PQ25iVTnG.picons.log

    20:33:51 - No "svgconverter.conf" file found in "build-input", using default file!
    20:33:51 - Version: 2019-02-01--20-33-51
    20:33:51 - Checking index
    20:34:01 - Checking logos
    This svg contains text or a png image: 4fashion.default.svg
    This svg contains text or a png image: 4fashion.light.svg
    This svg contains text or a png image: 4music-rikinubran.default.svg
    The following logo is an svg, but has one or more png alternatives: pfc.default.svg
    The following logo is an svg, but has one or more png alternatives: rtlplus-mathecraki.white.svg
    The following logo is an svg, but has one or more png alternatives: sat1.white.svg
    The following logo is an svg, but has one or more png alternatives: vox.white.svg
    20:38:35 - Creating symlinks
    20:38:36 -----------------------------------------------------------
    20:38:36 - Creating picons: snp.400x240-390x230.light.on.transparent
    20:40:50 - Creating binary packages: snp.400x240-390x230.light.on.transparent
    20:41:16 - FINISHED!
    That took 7m 25s.

    When running it directly on Ubuntu on the same hardware (I have a dual-boot laptop) this is the log:

    Log file located at: /tmp/tmp.cIA72deY70.picons.log

    20:45:19 - No "svgconverter.conf" file found in "build-input", using default file!
    20:45:19 - Version: 2019-02-01--00-50-00
    20:45:19 - Checking index
    20:45:19 - Checking logos
    This svg contains text or a png image: 4fashion.default.svg
    This svg contains text or a png image: 4fashion.light.svg
    This svg contains text or a png image: 4music-rikinubran.default.svg
    The following logo is an svg, but has one or more png alternatives: pfc.default.svg
    The following logo is an svg, but has one or more png alternatives: rtlplus-mathecraki.white.svg
    The following logo is an svg, but has one or more png alternatives: sat1.white.svg
    The following logo is an svg, but has one or more png alternatives: vox.white.svg
    20:45:24 - Creating symlinks
    20:45:24 -----------------------------------------------------------
    20:45:24 - Creating picons: snp.400x240-390x230.light.on.transparent
    20:45:48 - Creating binary packages: snp.400x240-390x230.light.on.transparent
    20:45:50 - FINISHED!
    Just 31s - a factor of 15 quicker.

    I know Windows has to emulate things, but that indicates something on Windows is just slowwww... (file-system access?).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  19. The Following User Says Thank You to birdman For This Useful Post:

    dsayers (02-02-19)

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.