Coder Social home page Coder Social logo

encoding problem about amsterdamumcdb HOT 5 CLOSED

XiangBu avatar XiangBu commented on May 26, 2024
encoding problem

from amsterdamumcdb.

Comments (5)

patrickthoral avatar patrickthoral commented on May 26, 2024

Just to verify: did you clone the repository and are running the setup-amsterdamumc.ipynb notebook or did you copy and paste the cells to a new notebook? Are you using the latest release of the database (v.1.0.2)?

from amsterdamumcdb.

XiangBu avatar XiangBu commented on May 26, 2024

yes, I clone the repository and use v.1.0.2. I kind of doubt the files were broken while unzipping. I'll try again and see if it works and I'll let you know. Thanks for ur kind reply.

from amsterdamumcdb.

patrickthoral avatar patrickthoral commented on May 26, 2024

You might use https://github.com/AmsterdamUMC/AmsterdamUMCdb/blob/master/tools/unzip.ipynb to unzip the latest version. This should not produce any errors. However, I am a bit surprised that the cell below Create admissions table fails, since that one does not even contain special characters and does not access the data. What error does the cell produce when you run the original cell/notebook. Is this the first cell with an error?

from amsterdamumcdb.

XiangBu avatar XiangBu commented on May 26, 2024

Yes. Create admissions table is the first cell that fails. I don't know why, but problem solved by putting the following two together. Still confused. but It seems everything goes well so far.
SET CLIENT_ENCODING TO 'win1252'
SET CLIENT_ENCODING TO 'utf8'
image

from amsterdamumcdb.

patrickthoral avatar patrickthoral commented on May 26, 2024

Some of the documentation of postgres suggests that a non-standard codepage on the postgres server on Windows (i.e. not WIN1252) prevents the WIN1252 codepage from working. I assume this is basically not related to AmsterdamUMCdb. I'm closing this now, but feel free to re-open.

from amsterdamumcdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.