Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Sabreen-Parveen
    @Sabreen-Parveen
    Ah, thanks @cclauss , I will try this..
    Christian Clauss
    @cclauss
    Success?
    Sabreen-Parveen
    @Sabreen-Parveen
    Ya, it's working but when I am setting up a virtual environment, I can only download packages for only one version using pip. Isn't there a way, I can use both python2 and python3 simultaneously or do I have to install all the packages one by one?
    Christian Clauss
    @cclauss
    Pyenv only allows one Python at a time. It is probably safer that way. Besides, Python 2 officially died on 1/1/2020 so it can safely be ignored.
    Sabreen-Parveen
    @Sabreen-Parveen
    okay
    Sabreen-Parveen
    @Sabreen-Parveen
    Is there a community call today? If it is how can I join ?
    Christian Clauss
    @cclauss
    Sabreen-Parveen
    @Sabreen-Parveen
    Thank u so much @cclauss
    Sabreen-Parveen
    @Sabreen-Parveen
    @mekarpeles can you please send me the link of the issue that you were talking about?
    Mek
    @mekarpeles
    Yes! @Sabreen-Parveen internetarchive/openlibrary#2785
    Sabreen-Parveen
    @Sabreen-Parveen
    Thanks @mekarpeles :)
    Kartik Prajapati
    @Kartik1397
    Why I am getting this
    home_1 | Traceback (most recent call last):
    home_1 | File "scripts/new-solr-updater.py", line 294, in <module>
    home_1 | main()
    home_1 | File "scripts/new-solr-updater.py", line 278, in main
    home_1 | with open(state_file, "w") as f:
    home_1 | IOError: [Errno 13] Permission denied: 'solr-update.offset'
    openlibrary_home_1 exited with code 1
    Christian Clauss
    @cclauss
    In the upgrade from Python 2 to Python 3, we have moved some of the capabilities of home_1 to home_0 so please see if you can change the host accordingly.
    Kartik Prajapati
    @Kartik1397
    Thank You @cclauss previously I was running docker-compose build in openlibrary/docker/ after running build command in opnelibary/ everything is working fine.
    Sabreen-Parveen
    @Sabreen-Parveen
    image.png
    2 replies
    I was just going through the home page of open library and found this..
    A little part of check availabilty is not visible.. Can I create an issue for this?
    Zaheer Abbas
    @nk4456542
    @Sabreen-Parveen this issue has already been created, here : internetarchive/openlibrary#3916
    Kartik Prajapati
    @Kartik1397
    Screenshot from 2020-12-07 00-55-04.png
    5 replies
    Can I open an issue for restyling add book cover popup?
    Sabreen-Parveen
    @Sabreen-Parveen
    The subject page on localhost shows this:
    1 reply
    image.png
    What should I do?
    Manish Kumar Sarangi
    @captain-panda
    Hello
    This is Manish
    I came upon this project, and will really love to contribute. I'm proficient in python, and front end development, so please point me where to start from.
    Christian Clauss
    @cclauss
    @Sabreen-Parveen are you testing on your local machine. If so, then this is expected behavior. /subjects should be available on dev, staging, and production but not on a localhost instance.
    1 reply
    @captain-panda Please go thru the menu at the righthand side of https://github.com/internetarchive/openlibrary/wiki especially the developer resources.
    Sabreen-Parveen
    @Sabreen-Parveen
    oh yes, I was testing on my local machine.. Thanks a lot :)
    0dysseas
    @0dysseas
    Hello. I've found a bug that I'd like to work on and I've been working on it for the past day.
    In doing so, I'd like to include a third-party library to process cookies
    but I can't, for the life of me, add this to the project
    *add it
    I've followed the Working with javascript instructions but I don't have a vendor.jsh file
    I also, tried adding the library in dependency.json and run docker-compose exec web make js but to no avail...
    Can someone please help me with this?
    Mek
    @mekarpeles
    @0dysseas what is the use case? And which bug? If you comment on the Issue, we may be able to help!
    0dysseas
    @0dysseas
    HI @mekarpeles, thanks for replying! This is for the internetarchive/openlibrary#2815 and I've already commented on it. I couldn't figure out how to add a third-party library, so I built a solution with vanilla js.
    Romi-776
    @Romi-776
    Hello Everyone.
    I am Parminder Singh.
    I have some basic knowledge of Python, Django and Javascript.
    I really loves reading books and I would love to contribute to this project.
    But I'm a little bit confused about how to start this contributing journey.
    Can anyone please give me some step wise instructions as to what should I do first?
    Should I fork and clone the repo or should I first download and setup the docker?
    Yash Saravgi
    @Yashs911
    @Romi-776, you can follow these steps:
    1 reply
    1) Fork and Clone Openlibrary repo, set up an upstream link
    2) Download and Install Docker
    3) After that Follow Docker Instructions to set up the development environment.
    Romi-776
    @Romi-776
    @Yashs911 Thanks for the help.
    Susnata Goswami
    @proghead00
    Hey there. Is this an appropriate place to discuss about GSoC'21?
    Mek
    @mekarpeles
    @proghead00 please do ask questions!
    And welcome :)
    Jonathan Zacsh
    @jzacsh
    naive (total-noob-to-this-codebase) question:
    Jonathan Zacsh
    @jzacsh
    oh nvm, i misread that caller's code. looks like make_record is always called. so actually - seems it's this line that defines1 self.docs that should just already have the right data perhaps ... but from query_keys2 documentation, i'm guessing (however it's implemented) it's not intended to be a general search but just a 1:1 lookup.
    Mek
    @mekarpeles
    @jzacsh the /isbn path will resolve to the correct Open Library record if it exists or attempt to import it from other sources. The import route is currently disabled (until Tuesday this upcoming week) because we just redesigned how our imports work (and had to temporarily pause this import path)
    @cclauss regarding this -- since our new system submits a book initially (and likely won't get a response the first attempt) if a book is not in the system, we should probably try submitting a few times to the lookup-server (to give one a chance to succeed)

    Correct @jzacsh just a 1-off search or import. If you need to do a bulk search by ISBN, you may wish to either consider our data dump https://openlibrary.org/developers/dumps or one of our search/book APIs:

    https://openlibrary.org/dev/docs/api/books