Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht


dovenet / Synchronet Javascript / Re: weather_functions.js

SubjectAuthor
* weather_functions.jsansunent
`* Re: weather_functions.jsNelgin
 `* Re: weather_functions.jsansunent
  `* Re: weather_functions.jsMRO
   +* Re: weather_functions.jsansunent
   |`- Re: weather_functions.jsMRO
   `* Re: weather_functions.jsansunent
    `* Re: weather_functions.jsMRO
     `* Re: weather_functions.jsansunent
      `* Re: weather_functions.jsMRO
       `* Re: weather_functions.jsansunent
        +- Re: weather_functions.jsGamgee
        `* Re: weather_functions.jsMRO
         `* Re: weather_functions.jsmhansel739
          +* Re: weather_functions.jsDigital Man
          |`- Re: weather_functions.jsmhansel739
          `- Re: weather_functions.jsKenDB3

1
Re: weather_functions.js

<643EF93E.3861.sync-js@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=32&group=DOVE-Net.Synchronet_Javascript#32

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mhansel739@VERT (mhansel739)
To: MRO
Subject: Re: weather_functions.js
Message-ID: <643EF93E.3861.sync-js@vert.synchro.net>
Date: Tue, 18 Apr 2023 13:10:38 -0700
X-Comment-To: MRO
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63CAD91B.3297.sync_js@bbses.info>
References: <63CAD91B.3297.sync_js@bbses.info>
X-FTN-PID: Synchronet 3.20a-Linux master/fcf4a0012 Apr 4 2023 GCC 12.2.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20230418131038-0700 c1e0
WhenExported: 20230418212649-0700 c1e0
ExportedFrom: VERT sync-js 3861
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: mhansel739 - Tue, 18 Apr 2023 20:10 UTC

I have modified KenDB's syncWX weather app to work with weatherapi.com. While
it is NOT perfect, it does work for getting the weather displayed at logon and
as an external app. You do have to setup to separate external (door) apps. Here
is the link to the github for the files:
https://github.com/mhansel7399/SyncWeather

I hope this helps.

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

Re: weather_functions.js

<643F027C.3863.sync-js@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=34&group=DOVE-Net.Synchronet_Javascript#34

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: digital.man@VERT (Digital Man)
To: mhansel739
Subject: Re: weather_functions.js
Message-ID: <643F027C.3863.sync-js@vert.synchro.net>
Date: Tue, 18 Apr 2023 13:50:04 -0700
X-Comment-To: mhansel739
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <643EF93E.3861.sync-js@vert.synchro.net>
References: <643EF93E.3861.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/fcf4a0012 Apr 4 2023 GCC 12.2.0
X-FTN-CHRS: CP437 2
WhenImported: 20230418135004-0700 c1e0
WhenExported: 20230418212649-0700 c1e0
ExportedFrom: VERT sync-js 3863
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Tue, 18 Apr 2023 20:50 UTC

Re: Re: weather_functions.js
By: mhansel739 to MRO on Tue Apr 18 2023 01:10 pm

>
> I have modified KenDB's syncWX weather app to work with weatherapi.com.
> While it is NOT perfect, it does work for getting the weather displayed at
> logon and as an external app. You do have to setup to separate external
> (door) apps. Here is the link to the github for the files:
> https://github.com/mhansel7399/SyncWeather

Did you want to submit a merge request at gitlab.synchro.net? Would that be useful for other SyncOps?
--
digital man (rob)

This Is Spinal Tap quote #46:
"Not an Exit" - we don't want an exit. Well that's true.
Norco, CA WX: 63.3°F, 62.0% humidity, 9 mph S wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Re: weather_functions.js

<643F0536.3868.sync-js@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=37&group=DOVE-Net.Synchronet_Javascript#37

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mhansel739@VERT (mhansel739)
To: Digital Man
Subject: Re: weather_functions.js
Message-ID: <643F0536.3868.sync-js@vert.synchro.net>
Date: Tue, 18 Apr 2023 14:01:42 -0700
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <643F027C.3863.sync-js@vert.synchro.net>
References: <643F027C.3863.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/fcf4a0012 Apr 4 2023 GCC 12.2.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20230418140142-0700 c1e0
WhenExported: 20230418212649-0700 c1e0
ExportedFrom: VERT sync-js 3868
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: mhansel739 - Tue, 18 Apr 2023 21:01 UTC

I think it would be helpful for other SyncOps. I am still really new to all of
this. I was just happy to get the code to work and modify it so it can be used
either at login or external. I will need a little assistance with this merge
thing you speak of.
--Matt

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

Re: weather_functions.js

<64B77FAA.3814.sync_js@bbs.kd3.us>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=69&group=DOVE-Net.Synchronet_Javascript#69

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: kendb3@VERT/KD3NET (KenDB3)
To: mhansel739
Subject: Re: weather_functions.js
Message-ID: <64B77FAA.3814.sync_js@bbs.kd3.us>
Date: Wed, 19 Jul 2023 02:16:10 -0400
X-Comment-To: mhansel739
Path: rocksolidbbs.com!not-for-mail
Organization: KD3net
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <643EF93E.3861.sync-js@vert.synchro.net>
References: <643EF93E.3861.sync-js@vert.synchro.net>
X-FTN-PID: Synchronet 3.17a-Win32 Dec 13 2017 MSC 1800
X-FTN-CHRS: CP437 2
WhenImported: 20230718235902-0700 c1e0
WhenExported: 20230719021430-0700 c1e0
ExportedFrom: VERT sync-js 3903
WhenImported: 20230719021610-0400 c12c
WhenExported: 20230719025859-0400 c12c
ExportedFrom: KD3NET sync_js 3814
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: KenDB3 - Wed, 19 Jul 2023 06:16 UTC

> I have modified KenDB's syncWX weather app to work with weatherapi.com.
> While it is NOT perfect, it does work for getting the weather displayed at
> logon and as an external app. You do have to setup to separate external
> (door) apps. Here is the link to the github for the files:
> https://github.com/mhansel7399/SyncWeather

> I hope this helps.

> ---
> ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Bravo! I am psyched to see someone was able to update it to a new API. I kept
meaning to do something with it, but don't have the time I used to for projects
like that.

Thanks!
~Kenny DiBattista

---
■ Synchronet ■ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us

weather_functions.js

<63B4F024.166.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=833&group=DOVE-Net.Synchronet_Javascript#833

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: all
Subject: weather_functions.js
Message-ID: <63B4F024.166.dove-syncjs@ansun-enterprises.com>
Date: Tue, 3 Jan 2023 14:19:00 -0600
X-Comment-To: all
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230103192036-0800 41e0
WhenExported: 20230103221821-0800 41e0
ExportedFrom: VERT sync-js 3770
WhenImported: 20230103211900-0600 4168
WhenExported: 20230103212031-0600 4168
ExportedFrom: ANSUN dove-syncjs 166
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Tue, 3 Jan 2023 20:19 UTC

Does this actually work? I have it set up (API key, timed event, my synchro.net
we address, port 6667, port open on the network side, & etc.). It's running
seemingly without issue--no errors. And the only output I get in my log is what
you see below:

1/3 12:15:12a WEATHER Running timed event: WEATHER
1/3 12:15:12a WEATHER Timed event: WEATHER returned 0

However, no weather in my IRC room... :( Any idea what I may be doing wrong?

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<20230108144130.43073908@wibble.sysadmininc.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=835&group=DOVE-Net.Synchronet_Javascript#835

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nelgin@VERT/EOTLBBS (Nelgin)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <20230108144130.43073908@wibble.sysadmininc.com>
Date: Sun, 8 Jan 2023 07:41:30 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63B4F024.166.dove-syncjs@ansun-enterprises.com>
References: <63B4F024.166.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.20a-Linux master/650abd10b Jan 6 2023 GCC 9.4.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20230108124409-0800 41e0
WhenExported: 20230108161823-0800 41e0
ExportedFrom: VERT sync-js 3772
WhenImported: 20230108144131-0600 4168
WhenExported: 20230108144413-0600 4168
ExportedFrom: EOTLBBS dove-syncjs 1292
X-Newsreader: Claws Mail 4.1.1git14 (GTK 3.24.20; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: Nelgin - Sun, 8 Jan 2023 13:41 UTC

On Tue, 3 Jan 2023 21:19:00 -0600
"ansunent" <ansunent@VERT/ANSUN> wrote:
> Does this actually work? I have it set up (API key, timed event, my
> synchro.net we address, port 6667, port open on the network side, &
> etc.). It's running seemingly without issue--no errors. And the only
> output I get in my log is what you see below:
>
> 1/3 12:15:12a WEATHER Running timed event: WEATHER
> 1/3 12:15:12a WEATHER Timed event: WEATHER returned 0
>
> However, no weather in my IRC room... :( Any idea what I may be doing
> wrong?
Yes.
[14:38] <@nelgin> !weather
[14:38] <EOTLBOT> Weather for Dallas: Clear (clear sky), 0% cloudy,
Current temp: 16�C (61�F), Min temp: 14�C (58�F), Max temp: 18�C
(64�F), Wind: 2.06 KM/h NE, Humidity: 35%, Pressure: 1025 hPa, Sunrise:
Sun Jan 08 2023 07:30:20, Sunset: Sun Jan 08 2023 17:36:59 (Provided by
OpenWeatherMap.org)
--
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
---
� Synchronet � End Of The Line BBS - endofthelinebbs.com

Re: weather_functions.js

<63BD92EE.169.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=837&group=DOVE-Net.Synchronet_Javascript#837

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: Nelgin
Subject: Re: weather_functions.js
Message-ID: <63BD92EE.169.dove-syncjs@ansun-enterprises.com>
Date: Tue, 10 Jan 2023 03:31:42 -0600
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <20230108144130.43073908@wibble.sysadmininc.com>
References: <20230108144130.43073908@wibble.sysadmininc.com>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230111163610-0800 41e0
WhenExported: 20230111221823-0800 41e0
ExportedFrom: VERT sync-js 3774
WhenImported: 20230110103142-0600 4168
WhenExported: 20230111164838-0600 4168
ExportedFrom: ANSUN dove-syncjs 169
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Tue, 10 Jan 2023 09:31 UTC

Sorry, you said, "yes". Did you have a specific suggestion?

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<63BF766C.3288.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=838&group=DOVE-Net.Synchronet_Javascript#838

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63BF766C.3288.sync_js@bbses.info>
Date: Wed, 11 Jan 2023 13:54:36 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63BD92EE.169.dove-syncjs@ansun-enterprises.com>
References: <63BD92EE.169.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230111190435-0800 41e0
WhenExported: 20230111221823-0800 41e0
ExportedFrom: VERT sync-js 3775
WhenImported: 20230111205436-0600 4168
WhenExported: 20230111210431-0600 4168
ExportedFrom: BBSESINF sync_js 3288
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Wed, 11 Jan 2023 19:54 UTC

Re: Re: weather_functions.js
By: ansunent to Nelgin on Tue Jan 10 2023 10:31 am

> Sorry, you said, "yes". Did you have a specific suggestion?

did you get an api key from the website?

i have 2 different types of bots that do weather scripts but i couldn't get
that synchronet weather bot to work. does it even have documentation yet?

---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Re: weather_functions.js

<63BFB78C.172.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=839&group=DOVE-Net.Synchronet_Javascript#839

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: MRO
Subject: Re: weather_functions.js
Message-ID: <63BFB78C.172.dove-syncjs@ansun-enterprises.com>
Date: Wed, 11 Jan 2023 18:32:28 -0600
X-Comment-To: MRO
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63BF766C.3288.sync_js@bbses.info>
References: <63BF766C.3288.sync_js@bbses.info>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230112170756-0800 41e0
WhenExported: 20230112221824-0800 41e0
ExportedFrom: VERT sync-js 3776
WhenImported: 20230112013228-0600 4168
WhenExported: 20230112190749-0600 4168
ExportedFrom: ANSUN dove-syncjs 172
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Thu, 12 Jan 2023 00:32 UTC

> Re: Re: weather_functions.js
> By: ansunent to Nelgin on Tue Jan 10 2023 10:31 am

> did you get an api key from the website?

> i have 2 different types of bots that do weather scripts but i couldn't get
> that synchronet weather bot to work. does it even have documentation yet?

I haven't found any for the synchronet weather bot, but I think i have narrowed
it down to this error: ""IRCBOT !JavaScript C:\sbbs\exec\load\modopts.js line
37: ReferenceError: argv is not defined". Still troubleshooting, but haven't
found the resolution as of yet.

Where can I get this other bot?

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<63C15663.3290.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=840&group=DOVE-Net.Synchronet_Javascript#840

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63C15663.3290.sync_js@bbses.info>
Date: Fri, 13 Jan 2023 00:02:27 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63BFB78C.172.dove-syncjs@ansun-enterprises.com>
References: <63BFB78C.172.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230113051113-0800 41e0
WhenExported: 20230113101817-0800 41e0
ExportedFrom: VERT sync-js 3777
WhenImported: 20230113070227-0600 4168
WhenExported: 20230113071111-0600 4168
ExportedFrom: BBSESINF sync_js 3290
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Fri, 13 Jan 2023 06:02 UTC

Re: Re: weather_functions.js
By: ansunent to MRO on Thu Jan 12 2023 01:32 am

> > Re: Re: weather_functions.js
> > By: ansunent to Nelgin on Tue Jan 10 2023 10:31 am
>
> > did you get an api key from the website?
>
> > i have 2 different types of bots that do weather scripts but i couldn't
> > get that synchronet weather bot to work. does it even have documentation
> > yet?
>
> I haven't found any for the synchronet weather bot, but I think i have
> narrowed it down to this error: ""IRCBOT !JavaScript
> C:\sbbs\exec\load\modopts.js line 37: ReferenceError: argv is not defined".
> Still troubleshooting, but haven't found the resolution as of yet.
>
> Where can I get this other bot?

eggdrop
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Re: weather_functions.js

<63C52879.174.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=842&group=DOVE-Net.Synchronet_Javascript#842

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: MRO
Subject: Re: weather_functions.js
Message-ID: <63C52879.174.dove-syncjs@ansun-enterprises.com>
Date: Sun, 15 Jan 2023 21:35:37 -0600
X-Comment-To: MRO
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63BF766C.3288.sync_js@bbses.info>
References: <63BF766C.3288.sync_js@bbses.info>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230117005221-0800 41e0
WhenExported: 20230117041831-0800 41e0
ExportedFrom: VERT sync-js 3779
WhenImported: 20230116043537-0600 4168
WhenExported: 20230117025213-0600 4168
ExportedFrom: ANSUN dove-syncjs 174
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Mon, 16 Jan 2023 03:35 UTC

Ok. So, I've narrowed down the issue.

The error I'm getting says, "owm.call_api is not a function".

In sbbs/exec/ircbots/weather/weather_commands.js, "owm.call_api" is called upon
twice. Once on line 18 for the "weather" function and again line 60 for the
"forecast" function.

It seems that this is an error in the script. I've tried various things
(defining "owm.call_api", & etc.). So far, nothing has worked. I have no idea
where else to go with this.

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<63C6AB77.3293.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=843&group=DOVE-Net.Synchronet_Javascript#843

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63C6AB77.3293.sync_js@bbses.info>
Date: Tue, 17 Jan 2023 01:06:47 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63C52879.174.dove-syncjs@ansun-enterprises.com>
References: <63C52879.174.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230117063209-0800 41e0
WhenExported: 20230117101826-0800 41e0
ExportedFrom: VERT sync-js 3780
WhenImported: 20230117080647-0600 4168
WhenExported: 20230117083205-0600 4168
ExportedFrom: BBSESINF sync_js 3293
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Tue, 17 Jan 2023 07:06 UTC

Re: Re: weather_functions.js
By: ansunent to MRO on Mon Jan 16 2023 04:35 am

> Ok. So, I've narrowed down the issue.
>
> The error I'm getting says, "owm.call_api is not a function".
>
> In sbbs/exec/ircbots/weather/weather_commands.js, "owm.call_api" is called
> upon twice. Once on line 18 for the "weather" function and again line 60
> for the "forecast" function.
>
> It seems that this is an error in the script. I've tried various things
> (defining "owm.call_api", & etc.). So far, nothing has worked. I have no
> idea where else to go with this.

you have to talk to the script creator. and ask him to please create some documentation , too. i suggest you just run eggdrop and i can give you a script that works for weather.
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Re: weather_functions.js

<63C79285.177.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=844&group=DOVE-Net.Synchronet_Javascript#844

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: MRO
Subject: Re: weather_functions.js
Message-ID: <63C79285.177.dove-syncjs@ansun-enterprises.com>
Date: Tue, 17 Jan 2023 17:32:37 -0600
X-Comment-To: MRO
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63C6AB77.3293.sync_js@bbses.info>
References: <63C6AB77.3293.sync_js@bbses.info>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230117233543-0800 41e0
WhenExported: 20230118101818-0800 41e0
ExportedFrom: VERT sync-js 3781
WhenImported: 20230118003237-0600 4168
WhenExported: 20230118013541-0600 4168
ExportedFrom: ANSUN dove-syncjs 177
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Tue, 17 Jan 2023 23:32 UTC

> Re: Re: weather_functions.js
> By: ansunent to MRO on Mon Jan 16 2023 04:35 am

> you have to talk to the script creator. and ask him to please create some
> documentation , too. i suggest you just run eggdrop and i can give you a
> script that works for weather.
> ---
> � Synchronet � ::: BBSES.info - free BBS services :::

Don't I have to install Unix to run egg drop? I have no idea who created the
script. It's not in the script unless I should just assume that DM made it.

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<63C810A8.3295.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=845&group=DOVE-Net.Synchronet_Javascript#845

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63C810A8.3295.sync_js@bbses.info>
Date: Wed, 18 Jan 2023 02:30:48 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63C79285.177.dove-syncjs@ansun-enterprises.com>
References: <63C79285.177.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230118073318-0800 41e0
WhenExported: 20230118101818-0800 41e0
ExportedFrom: VERT sync-js 3782
WhenImported: 20230118093048-0600 4168
WhenExported: 20230118093316-0600 4168
ExportedFrom: BBSESINF sync_js 3295
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Wed, 18 Jan 2023 08:30 UTC

Re: Re: weather_functions.js
By: ansunent to MRO on Wed Jan 18 2023 12:32 am

> > Re: Re: weather_functions.js
> > By: ansunent to MRO on Mon Jan 16 2023 04:35 am
>
> > you have to talk to the script creator. and ask him to please create some
> > documentation , too. i suggest you just run eggdrop and i can give you a
> > script that works for weather.
> > ---
>

> Don't I have to install Unix to run egg drop? I have no idea who created

no

> the script. It's not in the script unless I should just assume that DM made
> it.

look in the script and then look who fucks with it in the git
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Re: weather_functions.js

<63CA4EF9.179.dove-syncjs@ansun-enterprises.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=846&group=DOVE-Net.Synchronet_Javascript#846

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: ansunent@VERT/ANSUN (ansunent)
To: MRO
Subject: Re: weather_functions.js
Message-ID: <63CA4EF9.179.dove-syncjs@ansun-enterprises.com>
Date: Thu, 19 Jan 2023 19:21:13 -0600
X-Comment-To: MRO
Path: rocksolidbbs.com!not-for-mail
Organization: ANSUN Exchange
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63C810A8.3295.sync_js@bbses.info>
References: <63C810A8.3295.sync_js@bbses.info>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-CHRS: UTF-8 4
WhenImported: 20230120003551-0800 41e0
WhenExported: 20230120101819-0800 41e0
ExportedFrom: VERT sync-js 3783
WhenImported: 20230120022113-0600 4168
WhenExported: 20230120023546-0600 4168
ExportedFrom: ANSUN dove-syncjs 179
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: ansunent - Fri, 20 Jan 2023 01:21 UTC

> Re: Re: weather_functions.js
> By: ansunent to MRO on Wed Jan 18 2023 12:32 am

> no

> look in the script and then look who fucks with it in the git
> ---
> � Synchronet � ::: BBSES.info - free BBS services :::

Eggdrop gave me errors when extracting from the tar and the zip. Not looking
like something I'd be eager to install.

---
� Synchronet � ANSUN - ansun.synchro.net

Re: weather_functions.js

<63CA993B.1126.dove-syncjs@palantirbbs.ddns.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=847&group=DOVE-Net.Synchronet_Javascript#847

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: gamgee@VERT/PALANT (Gamgee)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63CA993B.1126.dove-syncjs@palantirbbs.ddns.net>
Date: Fri, 20 Jan 2023 00:28:00 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: Palantir
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63CA4EF9.179.dove-syncjs@ansun-enterprises.com>
References: <63CA4EF9.179.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.20a-Linux master/90baaa8fb Jan 3 2023 GCC 11.2.0
X-FTN-CHRS: ASCII 1
WhenImported: 20230120055855-0800 41e0
WhenExported: 20230120101819-0800 41e0
ExportedFrom: VERT sync-js 3784
WhenImported: 20230120073803-0600 4168
WhenExported: 20230120075804-0600 4168
ExportedFrom: PALANT dove-syncjs 1126
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Gamgee - Fri, 20 Jan 2023 06:28 UTC

-=> ansunent wrote to MRO <=-

> Re: Re: weather_functions.js
> By: ansunent to MRO on Wed Jan 18 2023 12:32 am

an> Eggdrop gave me errors when extracting from the tar and the zip.
an> Not looking like something I'd be eager to install.

Well, that's not Eggdrop's fault... It's probably the most widely used
bot there is, and works fine.

Obviously you have a bad/corrupted download.

.... He does the work of 3 Men...Moe, Larry & Curly
--- MultiMail/Linux v0.52
� Synchronet � Palantir BBS * palantirbbs.ddns.net * Pensacola, FL

Re: weather_functions.js

<63CAD91B.3297.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=848&group=DOVE-Net.Synchronet_Javascript#848

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: ansunent
Subject: Re: weather_functions.js
Message-ID: <63CAD91B.3297.sync_js@bbses.info>
Date: Fri, 20 Jan 2023 05:10:35 -0600
X-Comment-To: ansunent
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <63CA4EF9.179.dove-syncjs@ansun-enterprises.com>
References: <63CA4EF9.179.dove-syncjs@ansun-enterprises.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230120103410-0800 41e0
WhenExported: 20230120161825-0800 41e0
ExportedFrom: VERT sync-js 3785
WhenImported: 20230120121035-0600 4168
WhenExported: 20230120123408-0600 4168
ExportedFrom: BBSESINF sync_js 3297
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Fri, 20 Jan 2023 11:10 UTC

Re: Re: weather_functions.js
By: ansunent to MRO on Fri Jan 20 2023 02:21 am

>
> Eggdrop gave me errors when extracting from the tar and the zip. Not
> looking like something I'd be eager to install.

that's useful information.
https://i.imgur.com/iVAo8Vq.png

I think you might have the PEBKAC virus.
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor