Webinterface - Umstellung auf Twisted.web

    • Offizieller Beitrag

    Hallo zusammen,


    ich habe heute Änderungen ins CVS commited, durch welche das Webinterface nicht mehr auf Twisted.web2 basiert sondern auf twisted.web.
    D.h. erstmal das sich am "Frontend" eigentich garnicht's ändert. Es heißt aber auch, dass das komplette-Server Backend nun auf einem "anderen" Server basiert.


    Wenn also Fehler oder Probleme auftreten bitte ich euch mir diese zu melden!

  • Bin zwar nicht Reichi hab aber trotzdem mal was dagegen unternommen :face_with_tongue:


    *EDIT* Das beschränkt sich leider erstmal nur aufs WebInterface selbst, externe Applikationen sollten zur Sicherheit auch nur Parameter mit Zuweisung - auch wenn diese leer ist - übergebem (also statt "&v" ein "&v=" an die URL hängen).

    Homescreen eurer Apple-Geräte noch nicht voll genug?


    dreaMote: Fernbedienung für Dreamboxen
    Mobile WOL: Wake-on-LAN Client für iOS mit optionalem Widget
    My Home Remote: Fernkontrolle für Homematic CCU/CCU2 optimiert für mobile Benutzung

  • With a last cvs image (git20090902 witch cclean world), the windows of webinterface (20090902) remains in LOADING to infinity... no info avaiable.. :confused_face: It's a bug..


    Thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • With a last cvs image (git20090902 witch cclean world), the windows of webinterface (20090902) remains in LOADING to infinity... no info avaiable.. :confused_face: It's a bug..


    Thanks


    Have the same problem, only displaying loading.


    If I manually uninstall webif and then re-install (same ipk used in image) and reboot it works.


    This is repeated in all images since the twisted.web move.



    /WeeGull

  • Please try reloading with CTRL+F5.


    ...infinty loading also with crtl+f5... :frowning_face: I tried with firefox and ie on windows and firefox on ubuntu... always same problem.. not works. Also with webint_20090904..


    NB There are many java errors in "Errors console" of firefox!!


    Hi

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • gleiches problem mit dem opendreambox image vom 3.9. es wird nichts angezeigt. habe das image komplett geflasht und nicht nur ein update.

    • 7000S + Netzteil PSA 25L-201 + SAMSUNG HA200JC + weisse LED
    • 7000S + Netzteil PSA 25L-201 + SAMSUNG SV1203N + berstein LED
    • 7020S + SAMSUNG SV1604N + berstein LED + Netzwerk umgebaut
    • 800HDPVR + SAMSUNG HD103UJ in Revoltec Alu Guard
    • 2x 600S
    • 2x 600C
  • habe hier unter opera10 mit der version von gestern keine probleme.

    mfg


    OoZooN


    Support für OoZooN Images gibt es auf forum.oozoon.de , nicht hier!


    Two Beer or not two Beer, thats the Question


    Aktuelle Nachrichten rund um OoZooN-Images gibt es auf Twitter

  • eventuell behebt ja der heutige Fix das Problem bei einigen...
    An die Jenigen bei denen nichts kommt: Könnt ihr mal http://dreambox/web/timerlist aufrufen und sagen ob da was kommt und wenn ja was?


    es kommt eine xml datei mit folgendem inhalt


    • 7000S + Netzteil PSA 25L-201 + SAMSUNG HA200JC + weisse LED
    • 7000S + Netzteil PSA 25L-201 + SAMSUNG SV1203N + berstein LED
    • 7020S + SAMSUNG SV1604N + berstein LED + Netzwerk umgebaut
    • 800HDPVR + SAMSUNG HD103UJ in Revoltec Alu Guard
    • 2x 600S
    • 2x 600C
  • Die Ankoppelung an TV Browser 2.7.4 funktioniert nicht mehr fehlerfrei. Aufnahmen, die per Aufnahmesteuerung aus TV Browser gestartet werden, erzeugen eine


    java.lang.NullPointerException
    at captureplugin.drivers.dreambox.connector.DreamboxConnector.addRecording(DreamboxConnector.java:385)


    Die Aufnahme wird zwar trotzdem in die Timerliste eingetragen und ausgeführt, allerdings ist die Fehlermeldung störend. Ist es sinnvoll, Informationen über das geänderte Webinterface an die Entwickler von TV-Browser weiterzureichen oder befindet sich das Webinterface dazu noch zu sehr im Fluß?

  • Da tritt ne Exception im WebIf auf, wird also daran liegen. Ich schau mir das grad mal an...


    *EDIT* Da das CVS grad etwas schrott ist lade ich hier mal die gefixte xml hoch...
    Einfach ohne das ".txt" nach /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/web

  • Don't work...


    Firefox Error console:


    Code
    Errore: Badly formed JSON string: 'TWISTED_SESSION=1ea57412a94516e361a12316c380b496'
    File sorgente: http://192.168.0.4/web-data/lib/libs_minified.js
    Riga: 33


    line 33:

    Code
    throw new SyntaxError('Badly formed JSON string: '+this.inspect());},include:function(pattern){return this.indexOf(pattern)>-1;},startsWith:function(pattern){return this.indexOf(pattern)===0;},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d;},empty:function(){return this=='';},blank:function(){return/^\s*$/.test(this);},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object);}});if(Prototype.Browser.WebKit||Prototype.Browser.IE)Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');},unescapeHTML:function(){return this.stripTags().replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>');}});String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)};};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement('div'),text:document.createTextNode('')});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern;},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements))

    dm500 - dm7000 - dm7025 - dm800 - dm8000