Page 1 of 1

Bug in Internet Prefs

Posted: Sun Feb 14, 2016 6:18 am
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

Re: Bug in Internet Prefs

Posted: Sun Feb 14, 2016 10:06 am
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.

Re: Bug in Internet Prefs

Posted: Sun Feb 14, 2016 11:28 am
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.

Re: Bug in Internet Prefs

Posted: Sun Feb 14, 2016 9:26 pm
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