Giter Site home page Giter Site logo

Comments (7)

ethanwhite avatar ethanwhite commented on July 20, 2024

Is this on the most recent release (1.3)?

I can't replicate in Postgres 9.1 on Ubuntu 12.04. The only thing that seems unique about that line is that there are 2 unicode characters (there are several lines above it with one of the same character). Both characters are stripped out in 9.1 on Ubuntu.

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

OK, I've replicated this on 8.4 on Windows. Platform dependence how you vex me.

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

The rest of the error message is "Acer negundo L. ssp. interius (Britton) A. L& D. L, '', 'Aceraceae');".

So, it looks to me like the second umlaut-ed 'o' is causing the double quote at the end of the species field to not be read in, thus breaking the insert.

I don't yet know whether this difference is OS, Postgres version, or even the Python version that the .exe was compiled with compared to that on Ubuntu 12.04.

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

Same error on Windows using PostgreSQL 9.1, so it's not a Postgres version issue (at least not just a Postgres version issue). Similar problem with quotes and INSERT error on McGlinn 2010.

...VALUES(257, 'seneplat', 'Asteraceae', 'Packera', 'plattensis', '', '', 'Packera plattensis', '(Nutt.) W.A. Weber & A. L,'')

Oh, and Kate, thanks again for being our number one user and helping us run down all of these bugs. If we didn't have folks working on other systems we'd never have a fully working package. Thanks!

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

And in Del Moral 2010. The common theme is a field containing parentheses is missing the final single quote, which is causing the error.

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

I just rebuilt this on Windows and it seems to work fine, so this might have been a Python version issue. Can you download it again and see if that fixes the problem.

from retriever.

ethanwhite avatar ethanwhite commented on July 20, 2024

Closing based on my tests. This means that we probably need to make sure that the Windows machine we use for building releases is running Python >= 2.7.3

from retriever.

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.