AusTac / EnjinExportTool

Desktop program to connect to the Enjin API and export data.
5 stars 2 forks source link

Check your fields #1

Open primaesport opened 7 years ago

primaesport commented 7 years ago

I am not sure if this is the right way to ask this question but I'll try ...

When I try to run the tool (I have entered the base url, site ID and my login and the application says "Check your fields".

I have no clue why and I really want to try your application. If I can get help to resolve this - I will happily pay for it.

bhapps commented 7 years ago

Ensure your Base URL has trail slash / at the end, hope that works for you immediately.

I have pushed update a week ago added some logging at vital points & crashes. Logs are logged to your %windows user%\AppData\Roaming\EnjinExportTool\Logging folder

See some comments here https://github.com/AusTac/EnjinExportTool/commit/bc82b193dc62f88ae3a7a3855f1a72d8ca26f491#commitcomment-23650435

primaesport commented 7 years ago

Hi!

Yes the Base URL has an trail slash.

How can I verify that my site ID is correct tho?

I do not find any logs at that location (I downloaded the application today). Although at C:\Users\admin\AppData\Roaming\EnjinExportTool\Application there is a settings-file and it contains this:

[Application] base_url=http://medlem.prima-esport.se/ api_slug=api/v1/slug tags_api_slug=api/get-tags site_id=1436781 galley_preset_id= email=martin@prima-esport.se password=***** migration_folder_path=D:\Enjin exportType=xml forumData= galleryData= dlThumbnails= dlImages= dlOriginal= backupApiData=

Ofcourse the password is masked =)

/Martin

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 26 augusti 2017 05:55 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

Ensure your Base URL has trail slash / at the end, hope that works for you immediately.

I have pushed update a week ago added some logging at vital points & crashes. Logs are logged to your %windows user%\AppData\Roaming\EnjinExportTool\Logging folder

See some comments here bc82b19#commitcomment-23650435https://github.com/AusTac/EnjinExportTool/commit/bc82b193dc62f88ae3a7a3855f1a72d8ca26f491#commitcomment-23650435

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-325081812, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXF_NYNhO92mNZ7HD8_Ak3jmyTxiqRks5sb5cJgaJpZM4PDU81.

bhapps commented 7 years ago

just hack the settings ini as per below, save (the ini file) and just process the export, see if that just forces it. watch out when setting the dlOriginal to true as downloading the original large images can be cumbersome.

forumData=true galleryData=true dlThumbnails=true dlImages=true dlOriginal=false backupApiData=true

Logging only implemented at a export processing level, not at saving settings level.

bhapps commented 7 years ago

your site id - http://medlem.prima-esport.se/page/1436781

primaesport commented 7 years ago

This is the current settings:

[Application] base_url=http://medlem.prima-esport.se/ api_slug=api/v1/slug tags_api_slug=api/get-tags site_id=1436781 galley_preset_id= email=martin@prima-esport.se password=* migration_folder_path=D:\Enjin exportType=xml forumData=true galleryData=true dlThumbnails=true dlImages=true dlOriginal=true backupApiData=true

When I start the application , I come to “Application Settings” where all my settings is available. I tried inserting the whole http://medlem.prima-esport.se/page/1436781 into site_id without any luck.

I tried the following: Tried accessing the webpage http://medlem.prima-esport.se/api/v1/slug (get file not found) Tried accessing http://medlem.prima-esport.se/api/v1 (access denied)

Tried accessing http://medlem.prima-esport.se/api (get {"status":"error","error":"Access Denied (No auth specified)"} )

The http://medlem.prima-esport.se/api/get-tags is working fine tho

Something weird is when I log into my API settings on enjin, I cannot set it to open, read only or closed or anything. It just informs me that the site is running API 2.0.

Thank you

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 26 augusti 2017 07:18 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

Reopened #1https://github.com/AusTac/EnjinExportTool/issues/1.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#event-1222387406, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXFwzrWZIFx_wvYa_yNWII9Wn0g6Txks5sb6qjgaJpZM4PDU81.

bhapps commented 7 years ago

You need to be site owner level to access api settings. Not accessable for admin users.

Application settings should only launch if required settings are not valid.

bhapps commented 7 years ago

Access denied most likely due to your enjin api is disabled.

bhapps commented 7 years ago

The api slug should be api/v1/ not api/v1/slug

primaesport commented 7 years ago

I’ll answer to all your questions in this email:

As I can run tests from their site – the API should be open? I am the site owner.

I will verify with their support that the API is open ☺

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 26 augusti 2017 11:35 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

The api slug should be api/v1/ not api/v1/slug

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-325107998, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXF7asmSV7CACwMT_zTlfcp67ARfMyks5sb-bIgaJpZM4PDU81.

primaesport commented 7 years ago

Hi!

I am sorry to say that I cannot still get it to work. It still says the same error regarding the fields :(

Med vänliga hälsningar | Kind regards

[1498562118451_logotype_figur.png]

    Martin Mårtensson

Ordförande / CEO Prima eSportsförening Tel. +46 (0) 70 768 6771 www.prima-esport.sehttp://www.prima-esport.se http://medlem.prima-esport.se


Från: Ben Hall notifications@github.com Skickat: den 26 augusti 2017 11:35 Till: AusTac/EnjinExportTool Kopia: Martin Mårtensson; Author Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

The api slug should be api/v1/ not api/v1/slug

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-325107998, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXF7asmSV7CACwMT_zTlfcp67ARfMyks5sb-bIgaJpZM4PDU81.

bhapps commented 7 years ago

Please post image of settings view. Please try to just process export.

Remove /slug from api URL slug

primaesport commented 7 years ago

Hi.

Here comes both with and without the slug.

Thank you again

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 4 september 2017 02:42 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

Please post image of settings view. Please try to just process export.

Remove /slug from api URL slug

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-326843107, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXF3vGllV4tb4DRR4Diu1nwlajuWIIks5se0dagaJpZM4PDU81.

bhapps commented 7 years ago

What do you mean

primaesport commented 7 years ago

I attached the pictures.

The problems shows in the bottom of the pictures (it says Check your fields”)

If I click “Application Settings” the app crasches ☹

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 4 september 2017 12:54 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

What do you mean

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-326932748, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXF8Uw02KMTojQimEpIoAkUbNKA6euks5se9bBgaJpZM4PDU81.

bhapps commented 7 years ago

I don't see any attachments. Not on email or github

primaesport commented 7 years ago

OK – attaching them again ☺

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 5 september 2017 02:32 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

I don't see any attachments. Not on email or github

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-327043131, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXFykaJfVI9aD725enn62x1YFAfETaks5sfJaAgaJpZM4PDU81.

primaesport commented 7 years ago

Did you get them this time?

Från: Martin Mårtensson Skickat: den 5 september 2017 10:02 Till: 'AusTac/EnjinExportTool' reply@reply.github.com; AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Author author@noreply.github.com Ämne: SV: [AusTac/EnjinExportTool] Check your fields (#1)

OK – attaching them again ☺

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 5 september 2017 02:32 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com<mailto:EnjinExportTool@noreply.github.com> Kopia: Martin Mårtensson martin@prima-esport.se<mailto:martin@prima-esport.se>; Author author@noreply.github.com<mailto:author@noreply.github.com> Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

I don't see any attachments. Not on email or github

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-327043131, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXFykaJfVI9aD725enn62x1YFAfETaks5sfJaAgaJpZM4PDU81.

bhapps commented 7 years ago

Sorry for delay, no images still, supply imgur links.

primaesport commented 7 years ago

Try this ☺

http://imgur.com/a/nT69W

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 10 september 2017 12:38 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

Sorry for delay, no images still, supply imgur links.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-328334174, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXFyxQLt5_klQ_jar3R_rJaQ_DNUD6ks5sg7wbgaJpZM4PDU81.

primaesport commented 7 years ago

Hi! Did you get everything you needed?

Med vänliga hälsningar | Kind regards [1498562118451_logotype_figur.png]

Martin Mårtensson Ordförande / CEO Prima eSportsförening Tel. +46 (0) 70 768 6771

www.prima-esport.sehttp://www.prima-esport.se http://medlem.prima-esport.se

Från: Ben Hall [mailto:notifications@github.com] Skickat: den 10 september 2017 12:38 Till: AusTac/EnjinExportTool EnjinExportTool@noreply.github.com Kopia: Martin Mårtensson martin@prima-esport.se; Author author@noreply.github.com Ämne: Re: [AusTac/EnjinExportTool] Check your fields (#1)

Sorry for delay, no images still, supply imgur links.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AusTac/EnjinExportTool/issues/1#issuecomment-328334174, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcWXFyxQLt5_klQ_jar3R_rJaQ_DNUD6ks5sg7wbgaJpZM4PDU81.

bhapps commented 7 years ago

Sorry for delay, have not had a chance to respond. I have the same settings (but for another site) and it works/worked fine.

As stated, i am only developing to achieve intended task, which I have successfully done (although later finding out Enjin truncate the user post content #rekt)

I don't have time at this stage to develop further or troubleshoot. Please clone the project and develop further to meet your needs.

xqizit commented 6 years ago

Thanks for the help.👍