Patent2net / P2N

Last P2N version, working on
14 stars 7 forks source link

Family Gathering error #6

Closed Quoniam closed 7 years ago

Quoniam commented 7 years ago

There are 2 cases that produce the above error. As attached, the cql files, the error log in zip, the print screen Like that it is possible to reproduce the case... and please solve it!! Regards rare_earth.cql.TXT tuberculosis.cql.TXT Rare Earth ErrorsLogs.zip Tuberculosis ErrorsLogs.zip Tuberculosis Error.TXT Rare Earth Errors.txt

Traceback (most recent call last): File "", line 191, in File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 2357, in GetFamilly File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 1861, in PreExtractPatentsData File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 1905, in ExtractPatentsData File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 2234, in MakeIram KeyError: 'year'

cvanderlei commented 7 years ago

Problem found... testing the solution.

Quoniam commented 7 years ago

Ooooohhh Super!!! the above cql... produce similar error... for test..

dengue.cql.txt

cvanderlei commented 7 years ago

Some times the system stops while processing the OPSGatherAugment-Families scritpt. In those cases, it is necessary to restart all the job. Anybody knows why this happen?

cvanderlei commented 7 years ago

The correction is working, but... a similar problem occurs in another point (the third one found). Fixed, testing again.

Quoniam commented 7 years ago

The Rare earth case and tuberculosis are solved!!! but the dengue case still not solved...

Traceback (most recent call last): File "", line 191, in File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 2370, in GetFamilly File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 1865, in PreExtractPatentsData File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 1876, in ExtractPatentsData File "C:_lab\P2N\Patent2Net\build\OPSGatherAugment-Families\out00-PYZ.pyz\P2N_Lib", line 2732, in ProcessBiblio KeyError: u'document-id' C:\Users\Public\Softs\LUCP2N~2\PATENT~1\dateutil\parser.py:330: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Traceback (most recent call last): File "", line 195, in NameError: name 'fictemp1' is not defined

Quoniam commented 7 years ago

All cases corrected!!