My Oracle Support Banner

Weather Adapter Script Fails to Import from CSV File (Doc ID 2718458.1)

Last updated on OCTOBER 20, 2020

Applies to:

Oracle Utilities Network Management System - Version to [Release 2.4 to 2.5]
Information in this document applies to any platform.


On : version, Adapters

Weather adapter script fails to import from CSV

The product weather adapter fails to import data in a .csv format.  It is giving the following error from the command line

Traceback (most recent call last):
  File "/scratch/users/esb1/nms/product/", line 1088, in
  forecastData = getForecastsFromCSV(conn)
  File "/scratch/users/esb1/nms/product/", line 561, in getForecastsFromCSV
  (profileKey,) = row.fetchone()
AttributeError: 'tuple' object has no attribute 'fetchone'
[esb1@slc10vcu ~]$

The issue can be reproduced at will with the following steps:
1. Configured weather adapter to load from csv file
2. Run the


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Fix Description

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.