[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2023-09-13 Thread darthmon_wmde
darthmon_wmde edited projects, added Wikibase Suite Team; removed wdwb-tech, 
Wikidata.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Lucas_Werkmeister_WMDE, Aklapper, despens, roti_WMDE, jdfraine, 
Samantha_Alipio_WMDE, darthmon_wmde, Jelabra, _jensen, Asahiko, Wikidata-bugs, 
Addshore, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, rosalieper, Scott_WUaS, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2022-01-27 Thread Krinkle
Krinkle added a project: Purtle.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Krinkle
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-09-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Can you try adding something like this?
  
if ( $local instanceof \Closure ) {
$function = new \ReflectionFunction( $local );
file_put_contents( STDERR, 
$function->getFileName() . PHP_EOL );
file_put_contents( STDERR, 
$function->getStartLine() . PHP_EOL );
file_put_contents( STDERR, 
$function->getEndLine() . PHP_EOL );
return;
}
  
  That should hopefully tell us what kind of closure we’re looking at.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-09-14 Thread despens
despens added a comment.


  ⛱ re-sent invite 

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: despens
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-09-13 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  I’m back from vacation now, and my invitation to the repo/org expired.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-09-03 Thread despens
despens edited projects, added Wikibase-Docker-2017+; removed 
MediaWiki-extensions-WikibaseRepository, Wikibase (3rd party installations), 
wdwb-tech.
despens added a comment.
Restricted Application added a project: wdwb-tech.


  I am unfortunately not savvy enough to provide a stack trace, but have the 
(amateurish) patch that solves the issue for Rhizome available on GitHub: 
https://github.com/rhizomedotorg/wikibase-docker/commit/d810a86021490b2a9aa99f476251fd4ac754bcb9
 (both @Lucas_Werkmeister_WMDE and @Addshore are invited to the repo)

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: despens
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331, darthmon_wmde, lucamauri, Lydia_Pintscher
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-08-17 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  This doesn’t seem like a purtle issue – something must be calling a purtle 
method incorrectly. Can you provide a full stack trace of the error, so we can 
see where the call comes from? It would also be useful to know what the closure 
evaluates to (try calling it with no arguments).

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Nandana, lucamauri, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-06-30 Thread Addshore
Addshore edited projects, added Wikibase (3rd party installations), 
MediaWiki-extensions-WikibaseRepository; removed Wikibase-Docker-2017+.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Aklapper, despens, Invadibot, maantietaja, Akuckartz, 
darthmon_wmde, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331, Samantha_Alipio_WMDE, Jelabra, Asahiko
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2021-05-26 Thread Addshore
Addshore added a project: wdwb-tech.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Aklapper, despens, Invadibot, maantietaja, Samantha_Alipio_WMDE, 
Akuckartz, Jelabra, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Asahiko, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2020-11-03 Thread despens
despens added a comment.


  It is not entierly clear why the error happens. A hint might be that the last 
item that was correctly processed was followed by a gap in the item list. 
`Q7246` is fine, `Q7247` for some reason does not exist (it was _not_ deleted, 
it just never was created), then the row continues with `Q7248`.
  
  I have locally changed the script so if `$local` is found to be an instance 
of Closure, the output will be skipped.
  
  We have to use the TTL export to initialize our Wikibase's SPARQL query 
endpoint.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: despens
Cc: Aklapper, despens, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Addshore, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T267129: Purtle issue truncating TTL export

2020-11-03 Thread despens
despens created this task.
despens added a project: Wikibase-Containers.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  When running `php ./extensions/Wikibase/repo/maintenance/dumpRdf.php --server 
https://artbase.rhizome.org`, the RDF dumper exits with the following error 
message:
  
Recoverable fatal error: Object of class Closure could not be converted to 
string in /var/www/html/vendor/wikimedia/purtle/src/TurtleRdfWriter.php on line 
88
  
  Inside `TurtleRdfWriter.php`, the line `$this->write( "$base:$local" );` 
causes the issue: apparently `$local` is a Closure that can not be converted to 
a string.
  
  When the error happens, `var_dump` for `$base` returns `string(3) "owl"`, and 
for `$local` returns `object(Closure)#335 (0) {}`.
  
  In my TTL export, this happened about half-way through the export, the rest 
of the data was not exported.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: despens
Cc: Aklapper, despens, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Addshore, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs