Hi All,
Probably a stupid question, but are there any particular caveats when moving from a windows-based environment to a linux-based one? After many months of not touching Seaside/Squeak (lack of time, not lack of interest... *sigh*) I tried moving my image (image file + changes file) from Win2k to my Ubuntu machine, and all the code I'd written ages ago survived intact. However, the local seaside app refuses to render the pages with the images and stylesheets as it still does in Win2k (although the path in the source looks ok). Where there are hardcoded slashes, they're forward slashes, which seems to work in both environments. I'm guessing it's something simple, but I feel like I can't see the woods for the trees... Cheers, Amos _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi,
Few things to check (and apologies in advance if they are patronising) 1. Check that the relevant FileLibrary subclass has been kept in /seaside/config 2. Have you copied the images (jpg/png/gif/etc) and css/script files as well as the *.image/*.changes? 3. Try using "FileDirectory slash" instead of hard-code '/' string/char. 4. Has your linux VM got the necessary plugins and prims compiled? HTH, John. Amos wrote: > Hi All, > > Probably a stupid question, but are there any particular caveats when > moving from a windows-based environment to a linux-based one? > > After many months of not touching Seaside/Squeak (lack of time, not > lack of interest... *sigh*) I tried moving my image (image file + > changes file) from Win2k to my Ubuntu machine, and all the code I'd > written ages ago survived intact. However, the local seaside app > refuses to render the pages with the images and stylesheets as it > still does in Win2k (although the path in the source looks ok). Where > there are hardcoded slashes, they're forward slashes, which seems to > work in both environments. > > I'm guessing it's something simple, but I feel like I can't see the > woods for the trees... > > Cheers, > > Amos > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > ****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. ******************************************************************************************************************************************* Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In Addition to John's Comments, play atention for the ASCII extended caracters in yours styles metodhs (if you didn´t worked in UTF-8),
Regards. On Mon, Sep 29, 2008 at 7:30 AM, John Thornborrow <[hidden email]> wrote: Hi, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Not to mention correct user/group and 664 for those
files
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Amos-15
Are you doing manual startup of WAKom? And you
added file serving for the HTTP Server in order to deliver your files? You probably need to restart the whole thing as there might be a windows path still active in one of those objects. Norbert On Mon, 2008-09-29 at 18:15 +0800, Amos wrote: > Hi All, > > Probably a stupid question, but are there any particular caveats when > moving from a windows-based environment to a linux-based one? > > After many months of not touching Seaside/Squeak (lack of time, not > lack of interest... *sigh*) I tried moving my image (image file + > changes file) from Win2k to my Ubuntu machine, and all the code I'd > written ages ago survived intact. However, the local seaside app > refuses to render the pages with the images and stylesheets as it > still does in Win2k (although the path in the source looks ok). Where > there are hardcoded slashes, they're forward slashes, which seems to > work in both environments. > > I'm guessing it's something simple, but I feel like I can't see the > woods for the trees... > > Cheers, > > Amos > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Sebastian Sastre-2
Wow, thanks for all the responses, guys. I'd forgotten how helpful
this mailing list is compared to the others I'm used to... ;-) Anyway, I went back and double-checked all my code, couldn't find anything, and finally took a closer look at the script in my workspace to stop and restart WAKom... and noticed that I had a hardcoded backslash in there: moduleAssembly documentRoot: FileDirectory default fullName, '\www'; directoryIndex: 'index.html index.htm'; serveFiles. instead of something like (FileDirectory default directoryNamed: 'www') fullName... (doh). Appreciate all your help, happy Smalltalking all! On 9/29/08, Norbert Hartl <[hidden email]> wrote: > Are you doing manual startup of WAKom? And you > added file serving for the HTTP Server in order > to deliver your files? You probably need to restart > the whole thing as there might be a windows path > still active in one of those objects. > > > Norbert > On 9/29/08, Sebastian Sastre <[hidden email]> wrote: > > Not to mention correct user/group and 664 for those files > > Sebastian Sastre > > ________________________________ > De: [hidden email] > [mailto:[hidden email]] En > nombre de Diogenes Moreira > Enviado el: Lunes, 29 de Septiembre de 2008 07:44 > Para: Seaside - general discussion > Asunto: Re: [Seaside] Moving from win to linux > > In Addition to John's Comments, play atention for the ASCII extended > caracters in yours styles metodhs (if you didn´t worked in UTF-8), > > Regards. > > > On Mon, Sep 29, 2008 at 7:30 AM, John Thornborrow <[hidden email]> > wrote: > > > Hi, > > > > Few things to check (and apologies in advance if they are patronising) > > > > 1. Check that the relevant FileLibrary subclass has been kept in > /seaside/config > > > > 2. Have you copied the images (jpg/png/gif/etc) and css/script files as > well as the *.image/*.changes? > > > > 3. Try using "FileDirectory slash" instead of hard-code '/' string/char. > > > > 4. Has your linux VM got the necessary plugins and prims compiled? > > > > HTH, > > > > John. > > > > > > Amos wrote: > > > > > Hi All, > > > > > > Probably a stupid question, but are there any particular caveats when > > > moving from a windows-based environment to a linux-based one? > > > > > > After many months of not touching Seaside/Squeak (lack of time, not > > > lack of interest... *sigh*) I tried moving my image (image file + > > > changes file) from Win2k to my Ubuntu machine, and all the code I'd > > > written ages ago survived intact. However, the local seaside app > > > refuses to render the pages with the images and stylesheets as it > > > still does in Win2k (although the path in the source looks ok). Where > > > there are hardcoded slashes, they're forward slashes, which seems to > > > work in both environments. > > > > > > I'm guessing it's something simple, but I feel like I can't see the > > > woods for the trees... > > > > > > Cheers, > > > > > > Amos > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |