'weectl import --import-config=/var/tmp/csv.conf --dry-run'
'WeeWX 5.0.0b15 or greater is required, found 5.0.0. Nothing done, exiting.'
Not sure what this means. isn't 5.0.0b15 a beta version? I updated to the latest version when I did a general update on my RPi 4.
Mike
Using configuration file /etc/weewx/weewx.conf
This is a dry run. Nothing will actually be done.
Starting weectl import...
A CSV import from source file '/var/tmp/data.csv' has been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
Starting dry run import ...
1953 records identified for import.
Unique records processed: 1953; Last timestamp: 2011-03-28 00:00:00 EDT (1301284800)
Traceback (most recent call last):
File "/usr/share/weewx/weedb/sqlite.py", line 38, in guarded_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weedb/sqlite.py", line 233, in execute
return sqlite3.Cursor.execute(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: attempt to write a readonly database
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/weewx/weectl.py", line 74, in <module>
main()
File "/usr/share/weewx/weectl.py", line 66, in main
namespace.func(namespace)
File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
namespace.action_func(config_dict, namespace)
File "/usr/share/weewx/weectllib/import_cmd.py", line 82, in import_func
weectllib.import_actions.obs_import(config_dict,
File "/usr/share/weewx/weectllib/import_actions.py", line 58, in obs_import
source_obj.run()
File "/usr/share/weewx/weeimport/weeimport.py", line 439, in run
self.dbm._write_metadata('lastUpdate', str(int(new_last_update)))
File "/usr/share/weewx/weewx/manager.py", line 1667, in _write_metadata
_cursor.execute(DaySummaryManager.meta_replace_str % self.table_name,
File "/usr/share/weewx/weedb/sqlite.py", line 52, in guarded_fn
raise weedb.OperationalError(e)
weedb.OperationalError: attempt to write a readonly database
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1a92105d-3a04-4d5a-b2e1-2e77543c97aan%40googlegroups.com.