[vwnc] Seaside + Opentalk + Windows Mobile = problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Seaside + Opentalk + Windows Mobile = problems

Lautaro Fernández
Hi, I'm trying to put a fresh image with Seaside + Opentalk inside of a iPAQ (rx5910) and I'm getting some problems (each one has the stack attached):

01)
The first one was with the message Seaside.SeasideServer class(Opentalk.GenericProtocol class)>>setHost

 which is as follow:
#setHost
    HostName := SocketAccessor getHostname.
    HostAddress := " IPSocketAddress hostAddressByName: HostName."
        ByteArray with:127 with: 0 with: 0 with: 1.

To make it "functional" I had to bind the localhost manually, because the IPSocketAddress crashed every time I run the image inside the iPAQ.
Is this approach correct?
(see stack in attach 01-opentalk.doc)

02)
If the port server is set to 7777 (as default) the image also crash.
When? when it has to validate the host in Net.HttpURL(URLwithPath)>>validateHost: . If the port is set to 80 all runs ok. (see attach 02).
The thing that tries to validate is:  ���T�E獯
This is strange, because I'm not an Asian speaker, so those kind of characters are never used in my images.

03) If I want to debug the problem #02, I got an encoding issue with the debug's view (see attach 03). It tries to display the Chinese-like characters (I'm from Argentina, so this is quite estrange to me) on a label.



So, is all this ( 1, 2 and 3) a whole encoding issue related to the Windows Mobile ?
Did someone try to load Seaside and then run in an iPAQ ?


Any hints would be much appreciated,
Lautaro Fernández


iPAQ rx5910 features:
  • 64 MB RAM
  • 500MB user available
  • Samsing SC32442 400MHz processor
  • Microsoft Windows Mobile 5.0
VisualWorks
  • Version 7.6 (clean and fresh)
  • Parcel CE
  • Seaside [2.8a1-lr.518 - CW7.6 27]
  • Opentalk-HTTP [7.6]

--
Luke LAut SkyFernadezWalker

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

01-opentalk.doc (79K) Download Attachment
02-validateHost.doc (206K) Download Attachment
03-characterValueProb.doc (41K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

Michael Lucas-Smith-2
Thanks for the report. We have an AR open for this and we'll hopefully
have a fix included in the product soon. Though Martin Kobetic might be
able to send you a patch so you can continue working from where you are.

Cheers,
Michael

Lautaro Fernández wrote:

> Hi, I'm trying to put a fresh image with Seaside + Opentalk inside of
> a iPAQ (rx5910) and I'm getting some problems (each one has the stack
> attached):
>
> 01)
> The first one was with the message Seaside.SeasideServer
> class(Opentalk.GenericProtocol class)>>setHost
>
> which is as follow:
> #setHost
> HostName := SocketAccessor getHostname.
> HostAddress := " IPSocketAddress hostAddressByName: HostName."
> ByteArray with:127 with: 0 with: 0 with: 1.
>
> To make it "functional" I had to bind the localhost manually, because
> the IPSocketAddress crashed every time I run the image inside the iPAQ.
> Is this approach correct?
> (see stack in attach 01-opentalk.doc)
>
> 02)
> If the port server is set to 7777 (as default) the image also crash.
> When? when it has to validate the host in
> Net.HttpURL(URLwithPath)>>validateHost: . If the port is set to 80 all
> runs ok. (see attach 02).
> The thing that tries to validate is: ���T�E獯
> This is strange, because I'm not an Asian speaker, so those kind of
> characters are never used in my images.
>
> 03) If I want to debug the problem #02, I got an encoding issue with
> the debug's view (see attach 03). It tries to display the Chinese-like
> characters (I'm from Argentina, so this is quite estrange to me) on a
> label.
>
>
>
> So, is all this ( 1, 2 and 3) a whole encoding issue related to the
> Windows Mobile ?
> Did someone try to load Seaside and then run in an iPAQ ?
>
>
> Any hints would be much appreciated,
> Lautaro Fernández
>
>
> iPAQ rx5910 features:
>
>     * 64 MB RAM
>     * 500MB user available
>     * Samsing SC32442 400MHz processor
>     * Microsoft Windows Mobile 5.0
>
> VisualWorks
>
>     * Version 7.6 (clean and fresh)
>     * Parcel CE
>     * Seaside [2.8a1-lr.518 - CW7.6 27]
>     * Opentalk-HTTP [7.6]
>
>
> --
> Luke LAut SkyFernadezWalker
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>  

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

Lautaro Fernández
Hi Michael,

2008/10/17 Michael Lucas-Smith <[hidden email]>
Thanks for the report. We have an AR open for this and we'll hopefully
have a fix included in the product soon. Though Martin Kobetic might be
able to send you a patch so you can continue working from where you are.

That would be nice ;)
Thanks for reading.

Lautaro
 


Cheers,
Michael

Lautaro Fernández wrote:
> Hi, I'm trying to put a fresh image with Seaside + Opentalk inside of
> a iPAQ (rx5910) and I'm getting some problems (each one has the stack
> attached):
>
> 01)
> The first one was with the message Seaside.SeasideServer
> class(Opentalk.GenericProtocol class)>>setHost
>
> which is as follow:
> #setHost
> HostName := SocketAccessor getHostname.
> HostAddress := " IPSocketAddress hostAddressByName: HostName."
> ByteArray with:127 with: 0 with: 0 with: 1.
>
> To make it "functional" I had to bind the localhost manually, because
> the IPSocketAddress crashed every time I run the image inside the iPAQ.
> Is this approach correct?
> (see stack in attach 01-opentalk.doc)
>
> 02)
> If the port server is set to 7777 (as default) the image also crash.
> When? when it has to validate the host in
> Net.HttpURL(URLwithPath)>>validateHost: . If the port is set to 80 all
> runs ok. (see attach 02).
> The thing that tries to validate is: ���T�E獯
> This is strange, because I'm not an Asian speaker, so those kind of
> characters are never used in my images.
>
> 03) If I want to debug the problem #02, I got an encoding issue with
> the debug's view (see attach 03). It tries to display the Chinese-like
> characters (I'm from Argentina, so this is quite estrange to me) on a
> label.
>
>
>
> So, is all this ( 1, 2 and 3) a whole encoding issue related to the
> Windows Mobile ?
> Did someone try to load Seaside and then run in an iPAQ ?
>
>
> Any hints would be much appreciated,
> Lautaro Fernández
>
>
> iPAQ rx5910 features:
>
>     * 64 MB RAM
>     * 500MB user available
>     * Samsing SC32442 400MHz processor
>     * Microsoft Windows Mobile 5.0
>
> VisualWorks
>
>     * Version 7.6 (clean and fresh)
>     * Parcel CE
>     * Seaside [2.8a1-lr.518 - CW7.6 27]
>     * Opentalk-HTTP [7.6]
>
>
> --
> Luke LAut SkyFernadezWalker
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>




--
Luke LAut SkyFernadezWalker

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

kobetic
In reply to this post by Lautaro Fernández
N€Gþxß}ÿÿ÷(­ïÖzÈhºWg¢Ø§ŠØš–,ÞéÞ®'®‹hr‰ÿ‹-×kzË¢ºk¢Ú¢[-…«]¢íºÇ©®ŒbzÏÞþÇM3ÿþ‰åÉÊ'qêç²Ø^~*춚ènW¦ü‡hŸûdžŒn‹­¶¨¶«Ûûaz·ÿ²z-zz.‚^µ¨¥±ú+™ëhºw^®ËZÜ!jß삈§‚‰ÿj·²¢ç^jX§ƒ­†)íz¹Ú¶*'jX³y×h™¨§©ž³ø¬ 3@Š{è–÷²‰ž†Œÿ².•Öޙ¬›{ÿÿ|°k/Ú±ö«jÌ(®F«¢éݱú+¶ŸŠ»-¦º•é £ü¨ººZµÈb±ø§{ð,–‰àj̨»ú޺ȧ‚‰åÈtÓ?ûazÜ(‚Zj[rۚ–\¢홫mz¸§¶­r‰í{ÿ[^®v­Š÷¬¢[­Š‰ÿ¶­v‡¬Ÿûkz«¢­êZµÈbž(uì(ºW[zšÞ½éíŠx-…ë®÷«~º&jëh²Ö«¶)à¢zh²ß塧ÿ±ëmŠx.¦Ø^‚Zj[&j{š–\šÛaz{-j»bž azÇ«½êÿJ‰ž¶§‚X¤{ô¦jYmjY·ÿàÚ-JÖ«µ'¬‰×’z»Þ®›­þÚî{óÚ­Ç¥z{.­âèiם=ªÜz_ÿI欉×ÿÂ+aUê슉ÿž)ÿ:—§µ©düg§z¸œ>º-¡Ê%üz,´]­ë,ʋ« ÿÿ:—§µ©düg§z¸œ>º-¡Ê%üz,´Ö¦{ʋ«†‹-©žÿôžjȝ{ôžjȝy'«½ê쵪í"¯zíµë-yØ­ý»­†Š^~éeÊ+ÿ±É^j¼!jßì™æ§·ôá{ú~'"j_ì¢[­Š‰ðŠY[zÊ&zØbž¥¢x-…ébë,º²×o+axmŠÙ^ütÇüÆ«¶)ÿ2'!iéK¹Æ¬ý)¢¶ÿš'!iéÿ–ç²É¢¶à™¨¥ýÊ&ÿ
èµïÿN§’Çè®Ø^­êh®ßÖz¯y©ÀFŠ^ú+¶¬jwp{ùe†Š^~éeËøZ½æŸ‹§r[yا¶©®‡nrÛ(¢ӆ‹ „Æ«¶)Ê¡·­‰É¢‚[{ö›•ëh±éÝʋš¥«\†Ê2¢çÊ'¶)î{
+’)à~º&«{*.j·ÿÿð¡yêìÿó"rž—ÿËjëZ®^®ÿ×³Âº-{ÿÿ/ÈþkkÊ)ඊnµ§ëzÈb™¨Â+aI欉׾:—§µ©dŠ{"uêÿö¢<ÿ¯}×OڝÒÿš­¶)ಉž¦º•é¬ý朆‰Þ…«-…ë-iÉÿý«miÈ^wÿÿÿÿô×ÿÿNŸŠ»-¢w°jÌ"¶azg¬±¨I欉×ÿI欉גz»Þ¯ÿܕ«,üê^žÖ¥“ñžêâpú趇(•ÉZ²ÏÿþÇ­‹-ÿÿÿÂœ†+±ú%–ŒÿÿÿìzÑè²ßÿ‹-5©žrG­Ç²Ê+ëG¢Ëgjgÿÿñè²Ðv·¬³ ô¨rG­×kzË!¢Ë@uÚÞ²Àr5©žüz,´Ö¦{ÿÿü­x
ëk,"¶õÛ¼"¶ôÂ+aÿL"¶õÿÿÿý:&jG¢·÷îËb¢v¥üˆZvÚŠwm…éhq©a¢Ëfj{š–\ÿmçºÇÿþØ^ ô¨rG­×kzË­«!yׯz¼­Šgˆ®éí…è¦j¢žÈzØ^ˆðÿÿȲØb±ªi®†œ…Ê+­ç-ÿÿÿ±ç¬µ§$Šv­µ§!Ó_è¥éíjYÿv‡ÿÿÿÿÓoÿü‡í…êh®Û®÷«ŠË¶Ú;ï¾ÿjÇ^}«¥·ûaz)šæ¥²‡+jÈÿÿõ¡zð…éⶬ¶‹Ú–'Zµëaz,¶)ÿü×­ü{m¥DKýDKÂ+a=«aÿÿïjXjׇ¢Ëÿü‡í…êh®Ø¬±ëm£Í–_ÿ®éì¢Oÿ±çš¶Öœ‡MÿÿÿӅëaŠx-…«m®'¬¶‹Ú–'Zµè¬ÿÿÿOñÿÿÿӆ+"²Ëkjxý·œjë#ù§¢Ö§ȚžÊ^jG«þÊ-†‹’)Ý¡ÿÿr«iË^®Æ«zw¯z»¬yا›(¦j¬ÿÿÿÿMÿ!ò0j{m¡×›º azšènW¦ÿMÿ"
-jw§r‡bž¬²ç°ŠØÿþØ^uæîƒû/‰ìÿ±çš¶Öœ‡Mÿü‹m®'¬¶‡b²™ZÊØ^
§zÇÿ–)ÿ÷!j¶œµêìüæ~º&¸žØ§kû(¶¬ŠÊ®Š×ž²Úڞ­¢gÿ¢vÿþV›z_ÿÿÿÿÿÿÒ£ø¬jYm†+ÿ×ýšÝÿkh•ç§r‡bž¬²ç«zV­yÛh¶ÿýh§vŒ,2†â•ïÿü8²‰ž¢w­¯+h–†I欉ךÛazzîž)ڞ#ÀCÿÿÿÿÿ|¡Š{l‹¥u·¦¹ÈZ¦šÞr&­yßÿü¶®µªèêçÿùÝ{?ÿÿÿÿˆð¯}×GÞjÛ«zÏÿÿÿÿëƒDÿÿþtÐÀn±êÚ½¨¥i¹^ÿÿÒjk"ž‚ßn8ۍ40|鮇²Ê+ÿÿ̉Ê貇íZ)Ý£ ¡¸¥{ŸôÿÿÿV+.jU¨®KÿÿÿÿUê슉ûÿ¯Ü•æ§jw_­ë!ÿÿÿ=ªÜzP„ÿÿÒy«"uïöÿƵþZÿç_ÿ nÿënÿÿÿÎ¥éíjYÿ4Ïÿ¿úÿÿÿÿÿÿÿÿ˺G‹ëR“!^®v{5š–G«ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿïÂw&j)bž b²ßÿ¿ ÜýËÿº+œýçnÿøm¶ŸÿþX¬¶Ïܳû¢¹ÏÞvïæj)fjåŠËbú?¿ Üÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþü'rf¢–)à–+-þü's÷,þè®s÷»øm¶ŸÿþX¬¶Ïܳû¢¹ÏÞvïæj)fjåŠËbú?¿ Ü

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

kobetic
In reply to this post by Lautaro Fernández
Sorry about the garbage in my previous message. This is what I intended to send. Hopefully somewhat more useful :-).

The AR#54332: "[core] We should not initialize GenericProtocol.HostAddress for protocols that don't use proxies (e.g. HTTP)" only concerns the first problem. I don't know about the other 2, there's not enough details for me to understand what's going on (are you dealing with internationalized domain names ? is IDNA involved somehow ? should be maybe ?).

Anyway, as far as workarounds for the first problem go, your patch is fine. As long as you're using only HTTP, the two globals actually don't matter in that context. Alternative solution, that doesn't require patching code would be preventing the server from autostarting on post-load, setting up the globals manually and then starting the server. Something like.

Smalltalk at: #DoNotStartSesideServer put: true.
Parcel ensureLoadedParcel: 'Seaside' withVersion: nil.
Opentalk.GenericProtocol.HostAddress := #[ your IP].
Opentalk.GenericProtocol.HostName := 'your host name'.
Seaside.SeasideServer start

I haven't tested it, but hopefully it's clear what's meant. The "official" solution will be something along the lines suggested by the AR title.

HTH,

Martin

"Michael Lucas-Smith"<[hidden email]> wrote:
> Thanks for the report. We have an AR open for this and we'll hopefully
> have a fix included in the product soon. Though Martin Kobetic might be
> able to send you a patch so you can continue working from where you are.
>
> Cheers,
> Michael
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

Lautaro Fernández


2008/10/17 <[hidden email]>
Sorry about the garbage in my previous message. This is what I intended to send. Hopefully somewhat more useful :-).

The AR#54332: "[core] We should not initialize GenericProtocol.HostAddress for protocols that don't use proxies (e.g. HTTP)" only concerns the first problem.
I don't know about the other 2, there's not enough details for me to understand what's going on (are you dealing with internationalized domain names ? is IDNA involved somehow ? should be maybe ?).

I really don't think so, I'm using the basic image + Seaside (and even the pages that Seaside has as functional test weren't modified) and for that reason the URIs and URLs are all with *standar* characters (no diacritics or similar).
So, no IDNA problem should appear.

Anyway, as far as workarounds for the first problem go, your patch is fine. As long as you're using only HTTP, the two globals actually don't matter in that context. Alternative solution, that doesn't require patching code would be preventing the server from autostarting on post-load, setting up the globals manually and then starting the server. Something like.

Smalltalk at: #DoNotStartSesideServer put: true.
Parcel ensureLoadedParcel: 'Seaside' withVersion: nil.
Opentalk.GenericProtocol.HostAddress := #[ your IP].
Opentalk.GenericProtocol.HostName := 'your host name'.
Seaside.SeasideServer start

I haven't tested it, but hopefully it's clear what's meant. The "official" solution will be something along the lines suggested by the AR title.

Good to know that my approach was good enough for that problem. I'll try your solution later and I'll report my results to you.

 


HTH,

Martin


Thanks for your time Martin!
Lautaro

--
Luke LAut SkyFernadezWalker

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Seaside + Opentalk + Windows Mobile = problems

Lautaro Fernández
Well, Ralf Propach gave me a workaround to solve the problem. He sent me a new VM in order to make it work plus a change.st to modify/patch a message from the CE parcel.
That fix all of my problems.
Now it runs OK on all of the models, except for leaving the option to open a web browser by default (which by simply turning it off works fine).



*Just a note-bug*
[In a CE device] If I run the image without moving the memory slider (or just using a big visual.im file) I got the following error message:

"
  VisualWorks(R)* 7.5* Non-Commercial Mar 3, 2008 Fatal Error: Can't pdaAlloc
  event queue c:\vw\7.6\bin\src\ext\exinqueue.c 410
  Space could not be allocated.
  "
Notice that it's says "7.5" instead of 7.6.

Ralf told me the following: 
I think the part before 'Fatal Error' comes from the image.
Is it the same as IOAccessor convertSimpleStringFromPlatform: (ObjectMemory getHeraldString) ?

If I do it IOAccessor convertSimpleStringFromPlatform: (ObjectMemory getHeraldString) in any of my development images** I always got:  'VisualWorks(R) 7.5 Non-Commercial Mar 3, 2008'.

** All the images are 7.6, with or without CE parcel

Good bye and thank you all (specially Ralf, of course =] ),
Lautaro Fernández.
--
Luke LAut SkyFernadezWalker

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc