Are you using an SD card? If so, see this thread
<https://groups.google.com/d/msg/weewx-user/dPPz2Ngm2Sw/GtMM0GV8FQAJ>.

-tk

On Sat, Sep 2, 2017 at 3:12 AM, 'Ralf Buck' via weewx-user <
weewx-user@googlegroups.com> wrote:

> hello
>
> it seems that my database had a error
>
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****    File
> "/usr/share/weewx/weewx/manager.py", line 214, in firstGoodStamp
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****      _row =
> self.getSql("SELECT MIN(dateTime) FROM %s" % self.table_name)
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****    File
> "/usr/share/weewx/weewx/manager.py", line 394, in getSql
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****      _cursor.execute(sql,
> sqlargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****    File
> "/usr/share/weewx/weedb/sqlite.py", line 29, in guarded_fn
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****      return fn(*args,
> **kwargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****    File
> "/usr/share/weewx/weedb/sqlite.py", line 211, in execute
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****      return
> sqlite3.Cursor.execute(self, *args, **kwargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****  DatabaseError: database
> disk image is malformed
> Sep 02 12:11:56 raspberrypi weewx[1385]: ****  Exiting.
>
>
> how can i fix this?
>
> regard
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to