Re: [fossil-users] "malformed database schema"

2018-04-10 Thread Jan Danielsson
On 2018-04-11 00:17, Stephan Beal wrote:
> i suspect that the old sqlite version has something to do with this. Try
> using "fossil sqlite" instead of sqlite3.

   D'oh!  Of course it is; I knew you were right before even trying.
Thanks!

-- 
Kind Regards,
Jan Danielsson
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] "malformed database schema"

2018-04-10 Thread Stephan Beal
i suspect that the old sqlite version has something to do with this. Try
using "fossil sqlite" instead of sqlite3.

- stephan
Sent from a mobile device, possibly left-handed from bed. Please excuse
brevity, typos, and top-posting.


On Wed, Apr 11, 2018, 00:09 Jan Danielsson 
wrote:

> Hello,
>
>I made a fresh clone of https://src.fossil.NetBSD.org/ and it seemed
> to run to completion without any problems, but once it's done I can't do
> simple queries in it:
>
> gauss$ sqlite3 netbsd.fossil
>
> SQLite version 3.8.3.1 2014-02-11 14:52:19
> Enter ".help" for instructions
> Enter SQL statements terminated with a ";"
> sqlite> .schema
> Error: malformed database schema (artifact) - near "(": syntax error
> sqlite> select * from config;
> Error: malformed database schema (artifact) - near "(": syntax error
>
>I redid the clone but it ended up in the same state.
>
>Browsing the source online repo seems to work fine, so I'm assuming
> it's a local problem -- but how can it end up in this state?  I did no
> more than clone it.
>
> --
> Kind Regards,
> Jan Danielsson
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] "malformed database schema"

2018-04-10 Thread Jan Danielsson
Hello,

   I made a fresh clone of https://src.fossil.NetBSD.org/ and it seemed
to run to completion without any problems, but once it's done I can't do
simple queries in it:

gauss$ sqlite3 netbsd.fossil

SQLite version 3.8.3.1 2014-02-11 14:52:19
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .schema
Error: malformed database schema (artifact) - near "(": syntax error
sqlite> select * from config;
Error: malformed database schema (artifact) - near "(": syntax error

   I redid the clone but it ended up in the same state.

   Browsing the source online repo seems to work fine, so I'm assuming
it's a local problem -- but how can it end up in this state?  I did no
more than clone it.

-- 
Kind Regards,
Jan Danielsson
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users