backdrop-contrib / feeds_jsonpath_parser

Feeds JSONPath Parser
GNU General Public License v2.0
0 stars 4 forks source link

Unable to make module work #16

Open sbgraphicdesign opened 3 months ago

sbgraphicdesign commented 3 months ago

I'm getting several errors when trying to get this module running. I installed the latest released version, which was giving an error message:

Warning: Undefined array key "module" in feeds_system_info_alter() (line 899 of /home/sitename/public_html/modules/feeds/feeds.module).

I was able to set up an importer though and ran the import, only to get this error;

Error: Class "Flow\JSONPath\JSONPath" not found in FeedsJSONPathParser->jsonPath() (line 116 of /home/sitename/public_html/modules/feeds_jsonpath_parser/FeedsJSONPathParser.inc).

I then installed the 'dev' version which appears to have been updated a couple of years ago, but never released. This install required XAutoload module, which was fine but once installed I am presented with this message in the Status report:

The [JSONPath](https://github.com/SoftCreatR/JSONPath) library is missing. Download https://github.com/SoftCreatR/JSONPath/archive/0.8.0.tar.gz and place the contents of JSONPath-0.8.0 in sites/all/libraries/jsonpath and enable the modules "libraries" and "xautoload".

I did as suggested, installing the Libraries module, which is now deprecated by the way. However the Status Report persists and the module is still throwing the same error about the class not being found when trying to import a json file.

I've tried this with two different site installs (although on the same server) with the same results. I've been using Feeds to import content from CSV files on these sites, so does appear to be an issue related to this module.

I've been using the drupal 7 version of this module for years, and whilst the settings are slightly different, I think I've got everything set up correctly. It seems to me that the module is not finding the jsonpath library, so unsure if that's an issue with the module or my server environment. Any help or advice gratefully received, as I need to get the D7 site migrated to Backdrop and this element is integral to the site. Thanks.

laryn commented 6 days ago

@sbgraphicdesign Would you be willing to test the PR on https://github.com/backdrop-contrib/feeds_jsonpath_parser/issues/17 ?

sbgraphicdesign commented 5 days ago

Yes, very happy to test, thanks. Am away for a week, but will look at it when I get back.

Stuart

From: Laryn @.> Reply to: backdrop-contrib/feeds_jsonpath_parser @.> Date: Saturday 14 September 2024 at 17:25 To: backdrop-contrib/feeds_jsonpath_parser @.> Cc: Stuart Brown @.>, Mention @.***> Subject: Re: [backdrop-contrib/feeds_jsonpath_parser] Unable to make module work (Issue #16)

@sbgraphicdesign Would you be willing to test the PR on #17 ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>