Bug in Internet Prefs

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Bug in Internet Prefs

Post by Raziel »

Use this as your DEVS:Internet/HOSTS file

Code: Select all

# test









127.0.0.1
Now start Sys:Prefs/Internet

A window will pop up

Internet Preferences (TCP/IP)

There's an error in line 10 of the file 'Devs:Internet/routes'
127.0.0.1


required argument missing

While the error message is right, the blamed file is wrong.

DEVS:Internet/routes consists of this here:

Code: Select all

# DEVS:Internet/routes
# File generated by Internet 53.3 (1.8.2011)
# On Monday, 24-Aug-15 at 23:26:33
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1479
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Bug in Internet Prefs

Post by tonyw »

I can confirm your bug and I have created a bug report for it: BZ #9469.

I took a look at the code but I can't see where the error message could be generated.
cheers
tony
User avatar
javierdlr
Beta Tester
Beta Tester
Posts: 389
Joined: Sun Jun 19, 2011 10:13 pm
Location: Donostia (GUIPUZCOA) - Spain
Contact:

Re: Bug in Internet Prefs

Post by javierdlr »

looking with snoopy it shows:
..
00050 : ROADSHOW_PREFS : o.k. = Open("DEVS:Internet/hosts",OLD) = [0x1702E904] [124uS]
00051 : ROADSHOW_PREFS : o.k. = ReadArgs("ADDRESS/A,NAME/A,ALIAS/F",0x4DC0BCF0,0x558B1EB0) [43uS]
..

So maybe trying to find where/when READARGS is called, helps to find error messages.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Bug in Internet Prefs

Post by Raziel »

tonyw wrote:I can confirm your bug and I have created a bug report for it: BZ #9469.

I took a look at the code but I can't see where the error message could be generated.
Thank you
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Post Reply