Reply
Thread Tools
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#81
Originally Posted by marmistrz View Post
Here are the "fixed" appcatalog.css and index.html.
"fixed" means that firefox doesn't throw errors but this has one downside: the app catalog doesn't seem to launch.

Does anybody know where the problem lies?

App Catalog extracted from ipk (/usr/palm/ipkgs/) from webos doctor 2.2.4 http://palm.cdnetworks.net/rom/manta...224mantawr.jar
where are u running it ? in a sdk, in an900? what do u wanna do ?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#82
Originally Posted by santiago View Post
where are u running it ? in a sdk, in an900? what do u wanna do ?
I figured it out. Firefox didn't show all the errors. Chromium showed everything.

Somehow the /usr/palm/frameworks/mojo/submissions/383/javascripts directory is missing.
Do you know why can it be so?

EDIT: seems that it is present in webos 1st gen. Anyway, I'll move to the Touchpad's catalog, as it's enyo-based - and Enyo's gotten open source recently
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-11 at 20:07.
 
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#83
Originally Posted by marmistrz View Post
I figured it out. Firefox didn't show all the errors. Chromium showed everything.

Somehow the /usr/palm/frameworks/mojo/submissions/383/javascripts directory is missing.
Do you know why can it be so?

EDIT: seems that it is present in webos 1st gen. Anyway, I'll move to the Touchpad's catalog, as it's enyo-based - and Enyo's gotten open source recently
yes enjo is better i think enjo includes mojo too
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#84
I tried, but still errors.
Look at this:
http://pastebin.com/u01ntjEg
it's a log from firefox after running index.html from Touchpad

The way I see it, the most important error would be:
Code:
[10:30:15.812] enyo.appMenu is undefined @ file:///usr/palm/frameworks/enyo/0.10/framework/build/enyo-build.js:6158
What do you think, are these js errors crucial? Have you got an idea how to fix them? I'm using image from latest Webos Doctor, AT&T, 3.0.5 (webosdoctorp305hstnhatt.jar)

What I did on desktop Linux:
Code:
ln -s /opt/webos/usr/palm /usr/palm
ln -s /opt/webos/usr/lib/luna /usr/lib/luna
Fix for the first two background css errors was commenting out the doubled 'no-repeat'
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-12 at 10:07.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#85
I think I'm near to success. After using the new enyo, copying source/palm from the original framework and adding this to depends list I don't get the enyo subcomponents errors.
The only thing that's failing is the app itself
Short log:
Code:
[17:54:08.447] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.610] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css:27
[17:54:08.651] findApps is not defined @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html:13
Long log:
Code:
[17:54:08.398] file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.428] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/enyo.js
[17:54:08.439] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/boot/loader.js
[17:54:08.442] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/boot/boot.js
[17:54:08.445] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/package.js
[17:54:08.447] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.453] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/package.js
[17:54:08.462] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/log.js
[17:54:08.466] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/lang.js
[17:54:08.482] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/macroize.js
[17:54:08.486] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/animation.js
[17:54:08.489] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Oop.js
[17:54:08.492] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Object.js
[17:54:08.508] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Component.js
[17:54:08.511] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/UiComponent.js
[17:54:08.515] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Layout.js
[17:54:08.530] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Signals.js
[17:54:08.534] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/package.js
[17:54:08.559] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/Async.js
[17:54:08.563] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/json.js
[17:54:08.566] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/cookie.js
[17:54:08.570] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/xhr.js
[17:54:08.573] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/Ajax.js
[17:54:08.578] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/package.js
[17:54:08.584] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css
[17:54:08.588] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.js
[17:54:08.592] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/Control.js
[17:54:08.595] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/Dispatcher.js
[17:54:08.599] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/gesture.js
[17:54:08.602] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/drag.js
[17:54:08.606] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/package.js
[17:54:08.610] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css:27
[17:54:08.621] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/touch.js
[17:54:08.625] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/ScrollMath.js
[17:54:08.628] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/ScrollStrategy.js
[17:54:08.632] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/TouchScrollStrategy.js
[17:54:08.636] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/Scroller.js
[17:54:08.639] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/Scroller.css
[17:54:08.651] findApps is not defined @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html:13
What I did:
  1. Downloaded WebOS doctor, extracted the image
  2. Downloaded latest enyo
  3. unpacked App Catalog from /usr/palm/ipkgs (need to use ar)
  4. moved downloaded enyo to the app catalog's directory
  5. Copied the source/palm to the <app catalog dir>/enyo/source
  6. changed the source/package.js (content below)
  7. run in firefox

package.js
Code:
enyo.depends(
	"kernel",
	"ajax",
	"dom",
	"touch",
	"palm"
);
Has anybody got an idea how to fix it? Any help will be appreciatied.

marmistrz
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-13 at 17:10.
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#86
Instead of Firefox, wouldn't it be better to try it in Webkit?
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#87
Is there a Linux & Maemo browser using webkit that would be good for it, that you would recommend?

EDIT: I found for Maemo webkit-eal. But I don't know whether it's a good choice
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-13 at 18:33.
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#88
Why don't you ask @webos-internals? It will be interesting if they could/would help you. (I have a TouchPad personally, but i do not invest time in bringing that half-baked OS to somewhere else too.)
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#89
I did ask. But seems they don't wanna help
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#90
Check this thread, some debs for Helium Mobile are floating around.
 

The Following 2 Users Say Thank You to ivgalvez For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:52.