Git Product home page Git Product logo

pdfssa4met's People

Watchers

 avatar

pdfssa4met's Issues

Compatibility with Python2.4

1. Is there back-port to make this work with Python 2.4?
Because I am having trouble getting Python 2.6+ to work on my RHEL box. 

and this is what i get when i run with Python 2.4

$ /usr/bin/python references.py --help
Traceback (most recent call last):
  File "references.py", line 40, in ?
    from pdf2xml import pdf2etree
  File "/home/aravindr/projects/facetime/tools/pdfssa4met/pdfssa4met/pdf2xml.py", line 44
    with open(tmppath, 'r') as fh:
            ^
SyntaxError: invalid syntax




Thanks,
-Aravind.


Original issue reported on code.google.com by [email protected] on 11 Jan 2012 at 4:39

Indentation error

Run headings.py (current download version; Mar 2010).

Error: 
====
  File "headings.py", line 45, in pdf2heads
    try: title_node = tree.xpath("//PAGE[{0}]//BLOCK[{1}]".format(page, block))[0]
UnboundLocalError: local variable 'tree' referenced before assignment
====

Unindenting the line "tree = pdf2etree(args)" in headings.py to move it out of 
the for loop solves this issue.


Original issue reported on code.google.com by [email protected] on 2 Dec 2011 at 10:59

I cannot use it

I run the scripts for different kind of PDFs but I always get this message 
"Could not convert to XML. Are you sure you provided the name of a valid PDF?"


Original issue reported on code.google.com by [email protected] on 24 Aug 2010 at 3:50

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.