#1 Re: synopse.info » Forums are semi-"empty" » 2017-01-04 22:40:12

ab wrote:

Should be OK now.

But the fix is not a perfect fix...

I will need to fork and send fixes to https://github.com/adaur/fluxbb-sqlite3

It's ok now.

#2 Re: synopse.info » Forums are semi-"empty" » 2017-01-04 20:58:59

We changed the server, updated the forum engine, and changed also the storage engine...
This is a bug...
I will investigate further...


Test with biggest sub-forums like "mORMot Framework", "PDF Engine", etc.

Thank you.

#3 synopse.info » Forums are semi-"empty" » 2017-01-04 20:40:02

FabricioAraujo
Replies: 5

I'm reading the forums and can access the first page of results normally, but when I go to the second,
third, fourth, etc pages it come empty. The page itself says "Forum is empty" under the "Topic" title of the title.

I made some tests:
* Work computer (Windows; Firefox 34.0)

  • Anonymous access: problem

  • Logged on: problem


* Smartphone (Android; through 3G/4G connection, Opera Browser 41.2.2246.111806)

  • Anonymous access: problem

  • Logged on: problem

#4 Re: mORMot 1 » TestSQL3.dpr tests abend on invalid Variant » 2015-01-09 18:04:03

What is the most dangerous scenario if I use the lib with this tests don't working?

#5 Re: mORMot 1 » TestSQL3.dpr tests abend on invalid Variant » 2015-01-07 18:16:20

Content of last of *.log files on the folder:
C:\Fontes\mormot\SQLite3\TestSQL3.exe 0.0.0.0 (2015-01-07 16:14:53)
Host=FABRICIO User=fabricio CPU=4*9-6-14857 OS=13.1=6.1.7601 Wow64=1 Freq=3117998
TSQLLog 1.18.674 2015-01-07T16:15:38

20150107 16153821 warn  Test failed:
20150107 16153821 fail  TTestLowLevelTypes(02096918) Low level types: Mustache renderer "" stack trace API 004C9386 004D16B7 004CFAC7 00694674 004D0B80 006E8A07 006EFA05 774833AA 77E49EF2 77E49EC5
20150107 16153824 warn  Test failed:
20150107 16153824 fail  TTestLowLevelTypes(02096918) Low level types: Mustache renderer "" stack trace API 004C9386 004D16B7 004CFAC7 00694674 004D0B80 006E8A07 006EFA05 774833AA 77E49EF2 77E49EC5
20150107 16153829 warn  Test failed:
20150107 16153829 fail  TTestLowLevelTypes(02096918) Low level types: Mustache renderer "" stack trace API 004C9386 004D16B7 004CFAC7 00694674 004D0B80 006E8A07 006EFA05 774833AA 77E49EF2 77E49EC5
20150107 16153833 warn  Test failed:
20150107 16153833 fail  TTestLowLevelTypes(02096918) Low level types: Mustache renderer "" stack trace API 004C9386 004D16B7 004CFAC7 00694674 004D0B80 006E8A07 006EFA05 774833AA 77E49EF2 77E49EC5
20150107 16153839 warn  Test failed:
20150107 16153839 fail  TTestLowLevelTypes(02096918) Low level types: Mustache renderer "" stack trace API 004C9386 004D16B7 004CFAC7 00694674 004D0B80 006E8A07 006EFA05 774833AA 77E49EF2 77E49EC5
20150107 16153839 EXC   EVariantInvalidOpError ("Invalid variant operation") at 00430140  stack trace 006E8A07 00408BF0 006EFA05 774833AA 77E49EF2 77E49EC5

#6 Re: mORMot 1 » TestSQL3.dpr tests abend on invalid Variant » 2015-01-07 18:12:09

Which one? In the folder, there's:

  • discogs.json

  • discogs2.json

  • discoExtract.json

#7 Re: mORMot 1 » TestSQL3.dpr tests abend on invalid Variant » 2015-01-07 17:41:36

ab wrote:

Delete the local json files.

No changes.

#8 mORMot 1 » TestSQL3.dpr tests abend on invalid Variant » 2015-01-05 19:57:09

FabricioAraujo
Replies: 9

The GIT test simply exploded with an access violation (I put an EXIT at the start of method
since where I use Delphi does not use GIT and the port maybe is blocked).

But on the

procedure CheckNestedDoc

(SynSelfTests.pas) the following code gives an invalid variant operation exception (Lines 5644-5648):

  if discogs<>'' then begin
    FileFromString(JSONReformat(discogs),ChangeFileExt(discogsFileName,'2.json'));
    Disco := _JSON(discogs,aOptions); // returns an Unassigned variant - line 5646
    Check(Disco.releases._count<=Disco.pagination.items); // this line blows because Disco is unassigned
    for i := 0 to Disco.Releases._count-1 do begin

On SynCommons.pas (procedure _Json, line 29711), the line 5646 above triggers this code:

  if not TDocVariantData(Value).InitJSON(JSON,Options) then begin
    VarClear(Value);
    result := false;

What I should do?

Environment:
Nightly build expanded to c:\Sources\mormot
SQLLite3 obj put on folder C:\Sources\mormot\SQLite3
Embarcadero® Delphi® XE2 Version 16.0.4504.48759 Enterprise (Upd 4 Hotfix 1)
--> 32bit target (Debug config)   
Windows 7 Professional SP 1 64-bit with 8Gb Ram

Board footer

Powered by FluxBB