This is the place to leave feedback or ask questions about BibBase.org.
0
Naprawione

No Data and Python Error

Paul Danis 10 lat temu zaktualizowano 10 lat temu 2
Great tool, but spontaneously produced 'no data' message on website after months of no problems.  I generated new zotero key then got the python error (below). No idea how to resolve so any suggestions are appreciated.  thanks.

Paul


Zotero

Choose the page you would like to use, copy the URL, and then follow the instructions on the Help page to set it up on your personal page.
BibBase page of entire library (which is using this bibtex file)
Collections

--> -->


<type 'exceptions.KeyError'> Python 2.7.5+: /usr/bin/python2.7
Mon Mar 30 14:38:29 2015

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/home/ubuntu/bibbase/cgi-bin/zotero/get.py in ()
153 pickle.dump(data, open(DIR+'keys/'+username, 'w'))
154
=> 155 respond(apiKey, userID, username)
156
157 elif fields.has_key("username"):
respond = <function respond>, apiKey = u'G9gCuD5oY0brNg0RH456LRwM', userID = u'1975743', username = u'IonSense'

/home/ubuntu/bibbase/cgi-bin/zotero/get.py in respond(apiKey=u'G9gCuD5oY0brNg0RH456LRwM', userID=u'1975743', username=u'IonSense')
91 for col in cols:
92 # print col.name, col.collectionKey
=> 93 baseurl = "https://api.zotero.org/users/"+userID+"/collections/"+col['collectionKey']+"/items?key="+apiKey+"&format=bibtex&limit=100"
94 baseurl = urllib.quote_plus(baseurl);
95 print "
  • BibBase">http://bibbase.org/show?bib="+baseurl+"&msg=embed\">BibBase page: ", col['name'].encode('ascii', 'xmlcharrefreplace'), "
  • "
    baseurl = u'http://bibbase.org/zotero/IonSense', userID = u'1975743', col = {u'group_id': u'1975743', u'key': u'DP88T8GJ', u'name': u'DART MS', u'parentCollection': False, u'relations': {}, u'updated': 'Thu, 26 Feb 2015 14:49:31 UTC', u'version': 125}, apiKey = u'G9gCuD5oY0brNg0RH456LRwM'

    <type 'exceptions.KeyError'>: 'collectionKey'
    args = ('collectionKey',)
    message = 'collectionKey'
    Odpowiedź
    Christian Fritz 10 lat temu
    Paul,

    Thanks a lot for reporting this problem. It took me some time to investigate what happened and eventually noticed that the Zotero API had silently changed some default. I was able to fix this on bibbase's side. Zotero so far has been very stable with their API and it is strange that they didn't announce the change on the developer list. Maybe it sneaked in by mistake on their part. Hopefully this won't happen again though.

    Sorry for the inconvenience and the outage. You should be able to get a new zotero key now and the resulting pages should work. Let me know if they don't.

    Again, thanks for reporting.

    0
    Z odpowiedzią

    bibase customization

    Christopher Rozell 10 lat temu Ostatnio zmodyfikowane przez Bibliothèque du CHUM 6 lat temu 8
    Hello-

    I am trying to customize bibbase to get the display I want and have a few questions that I can't find addressed in the current documentation or Q&A.

    1) Is there any way to change the ordering of the publication type groups? For example, if I want "inproceedings" to display before "articles" when the publications are grouped by type, is there any way for me to set that?

    2) Is there any way to remove some options from the "group by" menu? For example, can I remove the option to group by downloads?

    3) One of my biggest concerns with moving to bibbase is what I've read about having to load a page twice to get updates. If a researcher has visited my page in the past and comes back a few days later after I have updated, they won't know (and shouldn't be bothered) to load the page twice to see updates. Is there any way to ensure that all visitors to my page are seeing the current copy of my .bib file even if they have visited before?

    Thank you-

    chris

    Odpowiedź
    Christian Fritz 8 lat temu

    Indeed, the code has changed. The correct CSS rule is now:


      #bibbase_header a[onclick="groupby('downloads')"] { display: none; }

    Thanks for reporting!


    0
    Ukończony

    BibBase v3 Released

    Christian Fritz 12 lat temu zaktualizowano 10 lat temu 1

    Over the last few weeks I have implemented a new version of BibBase. I will soon write up all the benefits of the new version, but for now this is just a note that this is what has changed. You will notice a slightly cleaner default look, and hopefully everything else just works as before. If not, please let me know.




    -1
    W trakcie analizy

    Having trouble with accented characters.

    Tony 5 lat temu Ostatnio zmodyfikowane przez Christian Fritz 5 lat temu 5

    I am having a similar problem to some posted, but I can't make the answers work for me. See https://academic.mu.edu/peressini/afp_pubs.php.

    Two entries under 2019 pubs come up without accents: "Otavio" and

    "Scholler". I've done everything as suggested (best as I can tell). I

    suspect it is in my bib file? Thanks for any help.

    -1
    Planowane

    Journal title does not display

    SerengetiT 12 lat temu Ostatnio zmodyfikowane przez Christian Fritz 12 lat temu 1

    I did a new collection with import from mendeley and the bibbase page does not display full citation. Notably, Journal, conference or book title is not displayed or in the generated bibtex file. example;

    http://www.bibbase.org/cgi-bin/pyBibBase/pyBibBase.cgi?bib=www.bibbase.org/mendeley/group/3315411&charset=utf-8&groupby=year


    Older collections do not have that problem, so not sure if this is a bug or other?

    Odpowiedź
    Christian Fritz 12 lat temu

    Yes, I'm aware of this issue. I believe it only happens for groups, so if you have a collection containing all the same papers then it should work fine. There are some issues with the Mendeley API that I need to work through to fix this.