Welcome, Guest. Please login or register.

Author Topic: duktape error NetSurf OS3  (Read 32995 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #14 on: June 30, 2016, 07:05:01 PM »
Quote from: utri007;810463
Only thing needed to download  from github is    letsStart.sh  ?
No, you need to download the whole master branch (so letsStart.sh, scriptFilesUpdate.sh and the scriptUpdate folder). I'll specify it on the README later to be clear.


Quote from: utri007;810463
It is executed with start NetScript commands?
What do you mean ? To execute NetScript, everything is explained in the README file, but maybe it isn't clear in it.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #15 on: June 30, 2016, 07:51:36 PM »
Quote from: utri007;810465
OK readme says rar archive, if I click download offers "Open in desktop" or "Download ZIP". So I wondered where to get rar archive.
i did a mistake in the README here, I wanted to talk about the ZIP archive. I'll correct it, thanks for your feedback !



Quote from: utri007;810465
Readme says "3.Use this command to start NetScript : ./letsStart.sh ;". And "What does NetScript contains" doesn't mention  Netscript, so I thought it is Cywin shell command.
NetScript is the name of the "software" containing letsStart ant the other files. But that's right, it can be misunderstood, so I'll correct this to rename letsStart in NetScript.

Thanks again for your feedback !  :)
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #16 on: June 30, 2016, 09:44:49 PM »
Quote from: utri007;810471
Cygwin installer has now downloaded install packages some 6 hours. :(

Yeah, I know... :( That's a problem I need to solve, because we can't use apt-get with cygwin, and looking for the good programs in the Installer could be difficult.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #17 on: June 30, 2016, 09:56:14 PM »
Quote
I noticed that there is also ftp.funet.fi mirror. Installing from there i get 1400kb/s but it says "setup ini is older than previous". Will it work?
Yes, I don't think the source is important, I just advise this source in the README because it's the one I used, but I suppose all the files are available in the whole sources. ^^
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #18 on: June 30, 2016, 10:07:12 PM »
Quote from: utri007;810474
Why don't you release that tar archive wich is result of you Netscript?


Because the main goal of NetScript is to be able to compile NetScript on any computer and if you want, to dig in the code. I can release the archive only, but it won't be always up to date.

Quote from: utri007;810474

What you mean with this

I mean, I want to do a very simple cygwin tutorial to follow in the README. The problem is, the more you add steps to a tutorial, the more it can be difficult to follow. If I say "Search this command in this window, then download this" 12 times or more, it is too deffecult to follow the tutorial, then, and moreover, if the name of a command changes, you might not find it. So, i prefered to make it simple : download everything, end everybody will be happy ! ^^ But I'll try to enhance this on a future version.

Quote from: utri007;810474

Amiga install script for pre compiled executable / program archive?? This should be easy way to generate amiga install scripts. http://aminet.net/package/util/misc/InstallerGen

The NetSurf Amiga installScript is generated in the final tar archive you obtain at the end of NetScript execution, so I don't need to do one anymore, but thanks for this, it might be useful, one day ! ^^
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #19 on: July 01, 2016, 05:40:54 PM »
Quote from: utri007;810477
OK respect for that. Thought you know devs usually release /publish binaries, so that "ordinary people" don't get comfused. ;)

Don't forget I'm yet a beginner ! :lol: Thanks again and again for your feedback ! ^^ Maybe I'll tidy up the git repo or I'll create one only for releases or binaries, but of course NetScript will stay my first priority.

Quote from: wawrzon;810478
i think its worth releasing binaries as soon as it is working, not any sooner. and it isnt the case yet as i understand. so far the sources are enough if someone wants to help.

I agree with you, because first I need to enhance NetScript even if it works now (because cygwin is quite long to download with all the Dev tools), and then there is always the DukTape and Memory issues to see (and the actual NetSurf version is a dev version, too).

Quote from: utri007;810480
4th part was easy, no problems.

By the way, thanks. :)

Great ! You're welcome ! :)

Quote from: chris;810486
You already have binaries.  Nothing has changed since my last release (or, at least, nothing relevant).

The aim here was to make it easier to build, and hence easier to contribute to.

Yeah, everything is available on the git NetSurf repo, and I don't want to be in competition with it ^^
NetScript is only a tool to compile easily NetSurf for AmigaOS3. Maybe if it's easy to implement, NetScript will be able to compile NetSurf for any OS, but I think I'm a daydreamer (and moreover, I'll focus on that in a looooong time, as it's a minor/optional feature) ! ^^

Quote from: utri007;810490
OK. Clever move. Now you guys should advertise this a little?

Why not ? I don't know how, but if wou have ideas and you want to be a NetScript advertiser... ^^
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #20 on: July 19, 2016, 10:36:22 PM »
Hello !

Oh, I didn't see all these messages ! I don't know I didn't receive any notifications about that, so sorry not answering you before !

Quote from: utri007;811074
Easiest / fastest way to get setup wich works with it, is buy Amiga Forever, it works also with Cloanto's OS3.X

Only thing needed is usergroup.library from Ami TCP install.

As far I can tell, Ducktape works wit PPC, as it is currently used as Netsurf java script engine. If anything isn't changed lately?


I have a similar problem with another thing. I try to maye NetSurf work on Happiga, an AmigaOS distribution (ARM4UAE-based) for the Raspberry Pi. I manages to install it but I can't launch it because the usergroup.library is missing. If you have an idea solving this problem, I would be happy to know it ! ^^

Quote from: wawrzon;811064
@dnadnl

could you share your changes with me that let you compile duktape so far? or rather how could we corrdinate this. even if im not sure if im going to be of any help.

first of all, where is duktape/binding.h?

edit: äh. stand by. just realized i need first to re-read this thread as well;)


I answer you even if you don't need it anymore ! ^^
Every file modification is included in the scriptUpdate folder of NetScript. The modifications are made thanks to the sed command. If you don't understand those files, I can help you if you want.

Quote from: chris;811139

I'll try it when I get chance.  Actually I might ping DNADL a note as it'll most likely get tested quicker.

I suppose that's what you asked me before ! ^^
If you need anything else to test, just tell me !

Also, I come here to say a new NetScript version is available ! This version includes the cygwin tools installation, so you don't need to install the whole cygwin dev tools anymore. More disk space, more time saved, ... what more could you asked for ? ^^

I think I'm going to create a NetScript topic, to stop "polluting" this one, don't you think, so ?

Hoping I'll receive a notification this time ! Have a good day/night !
DNA
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #21 on: July 20, 2016, 06:47:51 PM »
Hello everyone !

I confirm I didn't receive any notification ! XD

Quote from: chris;811367
Your email is very intermittent.

The short answer (which is on the email you probably haven't received) is to grab it from the AmiTCP archive.


I confirm I didn't receive your email too, I will give you a google one by email.

Quote from: utri007;811369
DNADNL grab it here http://aminet.net/package/comm/net/AmiTCP-bin-30b2

Seems that all AmiTCP installs doesn't include usergroup.library.

OK, i'll try this right now.

Thanks guys !
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #22 on: July 20, 2016, 08:49:51 PM »
Quote from: utri007;811385
Note that you don't need to install AmiTCP just copy usergroup.library to sys:libs
Ok, I did what you said, and I don't have the issue anymore. Yipee !

But NetSurf failed to initialise as you can see there : .
It seems there is not enough memory to init NetSurf, but this seems weird, because I don't think NetSurf uses more than 128 MB to be initialised.
Do you have an idea about this problem ?

EDIT : I want to specify that I use the No-DukTape version here, and I already managed to make NetSurf work (without Internet, but I had the windows) on this AmigaOS distribution.
« Last Edit: July 20, 2016, 09:07:14 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #23 on: July 21, 2016, 07:27:45 PM »
Quote from: chris;811398
Try setting your language to English in Locale - could be something wrong with the French Messages file.
I just tried this. Well, I don't have the same issue but another, now ! ^^
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #24 on: July 21, 2016, 09:11:49 PM »
Quote from: chris;811445
OK, it's probably worth looking at the French Messages file and seeing if there is anything odd around the ToolButtons line.



Try disabling the disc cache. disc_cache_size:0 in Choices (in Users/default)
OK, I added the line in the choices file of both english and french version... and that works !
Well, it's not so beautiful (I'm without DukTape) and it crashes if we do lots of actions, but that works ! Yay !

EDIT : I have some SSL cetificates issues, too :

In any case, thanks four your help, all !
« Last Edit: July 21, 2016, 09:25:26 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #25 on: July 22, 2016, 04:29:08 PM »
Quote from: utri007;811465
That is ugly, what kind of setup is this?

I haven't had that serious color problem ever.

The setup is quite specific ! ^^

In fact, I'm on an UAE4ARM-based distribution for the Raspberry Pi micro-computer, called Happiga (If you want to try, here is the link : http://happi-game-center.com/ . Sorry, only the french language seems available). At the beginning, it was just an emulator to make old games work, but its designer decided to add recently the bsdlibrary (for the Internet connection). So, I thought it could be a great idea porting NetSurf for Happiga, because with this, Happiga could be used as a real OS on Rasberry Pi, and this could make Amiga revive again ! Well, maybe I go too far... but it would be so cool ! ^^
Also, I used a 3.9 workbench on it, but we can use every workbench you can find on the Internet.

Quote from: wawrzon;811478
strange. we had and still certainly have a number of pixel format problems displaying images here. denying this doesnt help to improve anything.

best thing would be to gather precise list of correctly displaying formats and those being off, maybe even with a small picture to illustrate whats wrong. can you specify it on your side, dnadnl? i dont remember how to do that exactly, but i have found the following hint:


edit: i might look at aros tests, perhaps there is one that reports pixel format and can be compiled without aros libraries. we might need a handy tool to determine pixel formats.

i think its important issue, because its always the problem especially with web browsers, due to fact that amiga rtg solutions provide a number of different modes. and what looks right on one setup will look backwards on another.

I don't know how to do this at all ! ^^ But maybe I could find (or create) a website displaying a same image in different formats, to see those who are well displayed (or not). But sometime, the picture is displayed, sometimes, not, sometimes with weird colours... I'm not sure I can really count on NetSurf on Happiga, now, as it is unstable.

Quote from: utri007;811488
Netsurf logo is displayded "about right", with AGA. No dithering and it is like it's using only few colors. Never seen that rainbow effect before that DNADNL's pictures have. With RTG prety much every image is displayed as it should be dispalyed, at leeast I don't have noticed anything weird.

AGA has serious problems with amiga.org logo (jpg) but not with amigaworld.net logo (gif)

Chris fixed something and now buttons look about right. AGA has general problems, every single image looks weird even if it is diplayed somewhat right, but most noticeable is with some jpg / png pictures.

Right side of amigaworld.net is changing banner, amiga future banner is unreadable, but colors are right. :) It is animated gif. It is like it would be resized small and after that big again. Losing about 75% of it's pixels?

That's right, I use the AGA Chipset configuration for Happiga. I followed a video game-oriented tutorial, so maybe that's not the best solution to use... I can tru others chipsets if you want (I have OCS, ECS Agnus, Full ECS, AGA, and I can enable NTSC, too).
« Last Edit: July 22, 2016, 05:13:32 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #26 on: July 22, 2016, 06:09:26 PM »
Quote from: utri007;811491
Netsurf requires 8bit screen, so AGA is minium?
Actually, my screen was setup like this (that was possible thanks to Picasso96) : UAE: 800x600 32bit RGBA. I don't know if it answers the question... I tried with a setup like UAE: 800x600 8bit, but it does the same for the pictures.
« Last Edit: July 22, 2016, 07:23:18 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #27 on: July 22, 2016, 07:57:02 PM »
Quote from: utri007;811499
Just noticed from earlier post, that you have stability issues with Netsurf. It has been very stable here both of my machines.

Issues wich has been caused a reboot (A+A+CTRL) has been TCP/IP stack dies, wich doesn't seems to happen anymore?
Page loads too long time and Netsurf is unresoponsive.

I think that Netsurf hasn't crash my amiga long time.
That's the type of issues I have : running out of memory (I gave NetSurf 128 Mb RAM memory and 0 Mb disc memory, I can't give disc memory to NetSurf or it won't want to start), reboot needed, SSL certificates issues, ...
Plus, I just tried to load any famous image format (via a quick website I created : http://iesmtp.esy.es/), but none of them weredisplayed well and often were totally green (the most closed to the original shape was the PNG file and the GIF one).
« Last Edit: July 22, 2016, 08:02:05 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #28 on: July 22, 2016, 08:07:44 PM »
Quote from: utri007;811503
I would be happy to contribute, but I'm currently in Greece. Back home next monday.
No problem, don't worry ! ^^
While you are about it, I will be able to work on NetScript and globally AmigaOS only until the end of August, as I will go back to France (I'm in Canada, now) and I don't have any way to test NetSurf on Amiga, there.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #29 from previous page: July 25, 2016, 04:06:34 PM »
Quote from: chris;811516
Actually it shouldn't care, run it on a 1-bit screen if you like.



a) ARGB is preferred/expected. It shouldn't matter, but it might.
b) friend_bitmap:1 forces NetSurf's rendering bitmaps into the same format as the screen. If you're running 32-bit this will happen anyway.
c) Images are quantised using guigfx, you might want to try out the demos to see if they work as expected.
d) Depending on what you've done with your config, you might find NetSurf opens its own screen and isn't in the format you think it is.
Hello !

a) OK, I set the screen like this : UAE:1024x768 32bit RGBA (RGBA is the same than ARGB, I suppose); NetSurf is configured to have the same screen resolution.
b) I added this into the "Choices" file, but it doesn't seem to do something (I still have a green or weird picture instead of the one expected
c) I don't know how to do this, I'm going to check this out, but if you have a tutorial link, i would kindly accept it ! ^^
d) Logically, it is configured to have the same definition as the workbench. I checked and that's the case. But the funniest part is that the favicon is quite well displayed ! ^^