Jump to content


Photo

Error build (OpenWebif)?!


  • Please log in to reply
7 replies to this topic

#1 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 4 June 2016 - 18:34

Hi, all

 

I have got this error Today, Yesterday build was just fine ..

| Compiling /home/raed/openpli/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2-plugin-extensions-openwebif/1+gitAUTOINC+2291e63a45-r0/git/plugin/controllers/models/owibranding.py ...
| Sorry: IndentationError: ('expected an indented block', ('/home/raed/openpli/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2-plugin-extensions-openwebif/1+gitAUTOINC+2291e63a45-r0/git/plugin/controllers/models/owibranding.py', 138, 8, '\t\t\tmodel = procmodel.replace("fusionhd", "Fusion HD")\n'))
.
.
.
.

| ERROR: Function failed: do_compile (log file is located at /home/raed/openpli/openpli-oe-core/build/tmp/work/dm800-oe-linux/enigma2-plugin-extensions-openwebif/1+gitAUTOINC+2291e63a45-r0/temp/log.do_compile.29489)
ERROR: Task 638 (/home/raed/openpli/openpli-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-extensions-openwebif.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3738 tasks of which 3731 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/raed/openpli/openpli-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-extensions-openwebif.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

I have do these commands but still same error ..

bitbake enigma2-plugin-extensions-openwebif -c cleanall
bitbake openpli-enigma2-image

Thank you ..


DM500s
DM800

DM800se

DM920UHD


Re: Error build (OpenWebif)?! #2 Beeker

  • PLi® Contributor
  • 1,489 posts

+199
Excellent

Posted 4 June 2016 - 18:43

in owibranding.py line 135-145

 

it should be.

		elif (procmodel.startswith("fusion") or procmodel.startswith("purehd")):
			brand = "Xsarius"
			if procmodel == "fusionhd":
				model = procmodel.replace("fusionhd", "Fusion HD")
			elif procmodel == "fusionhdse":
				model = procmodel.replace("fusionhdse", "Fusion HD SE")
			elif procmodel == "purehd":
				model = procmodel.replace("purehd", "PureHD")
	elif fileExists("/proc/stb/info/azmodel"):
	    brand = "AZBox"

It works for me..


Edited by Beeker, 4 June 2016 - 18:45.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Error build (OpenWebif)?! #3 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 4 June 2016 - 19:12

Thank you Beeker

 

It is works :)


Edited by fairbird, 4 June 2016 - 19:12.

DM500s
DM800

DM800se

DM920UHD


Re: Error build (OpenWebif)?! #4 Beeker

  • PLi® Contributor
  • 1,489 posts

+199
Excellent

Posted 4 June 2016 - 19:15

We have to do that (add a tab to the "model =" lines) when there is a new commit  till it is solved in the openwebif github


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Error build (OpenWebif)?! #5 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 4 June 2016 - 19:27

Ok I will ...


DM500s
DM800

DM800se

DM920UHD


Re: Error build (OpenWebif)?! #6 WanWizard

  • PLi® Core member
  • 69,121 posts

+1,763
Excellent

Posted 4 June 2016 - 21:28

What exactly is the problem?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Error build (OpenWebif)?! #7 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 5 June 2016 - 08:35

commit 2291e63a45554e73494241c77bfc041dee60f294
broke indentation...

fix attached

Attached Files


True sarcasm doesn't need green font...

Re: Error build (OpenWebif)?! #8 WanWizard

  • PLi® Core member
  • 69,121 posts

+1,763
Excellent

Posted 5 June 2016 - 11:39

Thanks: https://github.com/E...dd14b31a01295fc


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users