Page MenuHomePhabricator

[RDFIO] "Cannot redeclare class arc2"
Closed, InvalidPublic

Description

Author: moove

Description:
Hello

I just tried to install your RDFIO SMW-Extension according to http://www.mediawiki.org/wiki/Extension:RDFIO#Installing_RDFIO but ran into problems.
After adding ARC2 to the library of the SMW extension, the following error is thrown when I try to access the wiki:
"Fatal error: Cannot redeclare class arc2 in C:\[...]\mediawiki\extensions\SemanticMediaWiki\libs\arc\ARC2.php on line 17".

I am using SMW+ 1.5.1 (=windows, xampp), which already comes with quite some extensions installed. The following (installed) extensions already seem to use ARC (as they have an arc-folder in their library folder):

  • HaloACL
  • DataImport
  • LinkedData
  • SMWHalo

My suggestion: Maybe RDFIO should check whether ARC is already "loaded" before loading it itself. I guess the above mentionned extensions have kind of such a behavior (otherwise I an't explain why this error didn't occur earlier)...

I look forward to hearing from you and being able to use the RDFIO-Extension, which sounds very nice!

Kind regards from Switzerland,
Simon


Version: unspecified
Severity: normal

Details

Reference
bz25756

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:21 PM
bzimport set Reference to bz25756.
bzimport added a subscriber: Unknown Object (MLST).

I think you better contact the Ontoprise people for this, or at least point them here.

samuel.lampa wrote:

I realize that there is the ARCLibrary extension, which is actually what ontoprise uses, but which is available open source on sourceforge, so I thought I'd make RDFIO depend on that instead of loading arc itself.

(Plan to look at it during the weekend).

Samuel:
This report has been in ASSIGNED status for more than one year and you are set as its assignee. In case that you are not actively working on a fix, please reset the bug status to NEW/UNCONFIRMED.
In case you do not plan to work on a fix in the near future: Please also edit the "Assigned To" field by clicking "Reset Assignee to default", in order to not prevent potential contributors from working on a fix. Thanks for your help!
[assigned>=1y]

Note: Both Rdf and ARCLibrary extensions are archived, but RDFIO extension is still available, so is this task focusing on a RDFIO bug? If not, I would prefer decline/invalid this.

Liuxinyu970226 renamed this task from [RDF] "Cannot redeclare class arc2" to [RDFIO] "Cannot redeclare class arc2".Sep 17 2018, 1:37 PM
Liuxinyu970226 unsubscribed.
Peachey88 subscribed.

Closing as Invalid, RDFIO tracks its tasks in a upstream GitHub issue tracker, If this task is still valid, I recommend ensuring it is filed upstream where the developers track the extension.