• Hello Michael and sorry to bother you…

    I have just updated the plugin and now it produces no output other than the headings I have placed in the page (but see debug output below).

    I wonder if there is not a problem with Mendeley which is suddenly telling me the following: Sorry, there was a problem syncing your library: Request for a non-production endpoint without ‘Development-Token’ header or token expired. Please refer to https://development-tokens.mendeley.com for further information.

    I have no idea what the above means.

    Debug produces the output below (for one of my sections).
    Thanks very much
    Andrew Lian

    Refereed/Peer-Reviewed Articles, Book Chapters etc.
    Mendeley Plugin: groupby = , sortby = year, sortorder = desc, filter = tag=refereed
    Mendeley Plugin: Unfiltered results count: 63 ()
    Mendeley Plugin: Filtered results count: 29

    Before reaching that point it also produces a long list of correct output. Here is a sample:
    Request: https://api.mendeley.com/documents?group_id=&authored=true&view=all&order=desc&sort=created&limit=500

    Response: HTTP/1.1 200 OK Content-Type: application/vnd.mendeley-document.1+json Date: Thu, 09 Feb 2017 01:46:48 GMT Vary: Accept-Encoding Vary: Accept-Encoding X-Mendeley-Trace-Id: c6i-Nac_pFc transfer-encoding: chunked Connection: keep-alive [{“title”:”Gender differences and reading proficiency in relation to learning styles of Chinese undergraduate EFL students.”,”type”:”journal”,”authors”:[{“first_name”:”Xiangyang”,”last_name”:”Zhang”},{“first_name”:”Peerasak”,”last_name”:”Siriyothin”},{“first_name”:”Andrew-peter”,”last_name”:”Lian”}],”year”:2016,”source”:”Rangsit Journal of Arts and Sciences”,”pages”:”129-140″,”volume”:”4″,”issue”:”2″,”websites”:[“https://rjas.rsu.ac.th/article.php?id=154″%5D,”id”:”fdbd78a4-c31e-3d0d-a361-96cbbca0156c”,”created”:”2016-12-26T14:13:47.000Z”,”file_attached”:false,”profile_id”:”af5e193a-aa0f-37e2-bcd6-175976cfa85a”,”last_modified”:”2017-01-29T10:49:49.000Z”,”tags”:[“Gender differences”,”learning styles”,”reading”,”refereed_article”],”read”:false,”starred”:false,”authored”:true,”confirmed”:true,”hidden”:false,”abstract”:”Students’ learning styles may influence their language learning. The purpose of this study was to explore the distribution of first-year Chinese undergraduate EFL students’ perceptual learning style preferences, and further identify whether their learning styles were impacted by gender and levels of English reading proficiency. Participants were 245 (170 females and 75 males) non-English major undergraduate students learning English as a foreign language (EFL).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I had a similar problem yesterday. It may be because mendelay did something and my tokens became invalid. The problem is that even after I revalidated the token, the list of publications was not displayed. This is due to the fact that the cache is not emptied (not even when you explicitly click the Empty cache button).

    Try to:
    – revalidate the token
    – assuming that you have access to your database, empty the contents of the cache table
    – refresh page.

    It should solve your problem. Alternatively you can change the code of the mendelay plugin as I suggested in
    https://www.ads-software.com/support/topic/empty-cache-does-not-work/

    Hopefully it will happen with the next upgrade of the plugin.

    Thread Starter mlapl1

    (@mlapl1)

    Thank you for the information.

    I did the following:

    Clicked on “Request and Authorize Access Token”
    Emptied the mendeleycachetable
    Refreshed the page

    BUT… it still displayed nothing.

    Any advice?
    Cheers
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    OK – I changed the code. The cache now empties from the plugin.

    But I still see nothing.

    But when I empty the cache, I also get the message below.
    Failed retrieving OAuth2 access token: {“error”:”invalid_grant”,”error_description”:”Invalid access code”}

    No idea what to do – I got a new token from mendeley – that seemed to work ok

    Actually I am getting a bit fed up with Mendeley which came up with a new error I had never seen before and don’t know how to fix (see my initial message above).

    Thanks for any thoughts
    Andrew

    • This reply was modified 7 years, 9 months ago by mlapl1.
    Plugin Author kochm

    (@kochm)

    The problem with the development token is new to me – I always acquired tokens via the MyApps page at Mendeley (https://dev.mendeley.com/myapps.html).

    Regarding the problem with refreshing access codes: There really was a bug in the code for automatically refreshing the code (which bothered me for quite some time – but only today I found the problem …). I corrected this auto refreshing code in the newest version of the plugin committed just a minute ago.

    Thread Starter mlapl1

    (@mlapl1)

    Thank you Michael for working on the code. I have now been able to update the plugin, but I still get zero output. The error with refreshing etc. has disappeared. Mendeley is still having problems syncing with my desktop (others are experiencing the same thing but no answer from Mendeley).

    I am guessing that other users of the plugin are doing ok.

    No idea what to do next – except give up on mendeley.

    Thanks and all the best
    Andrew

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin produces no output’ is closed to new replies.