Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new release with xlwt3/xlrd3 fixes for Python 2 #242

Closed
legrostdg opened this issue Jun 21, 2016 · 2 comments
Closed

new release with xlwt3/xlrd3 fixes for Python 2 #242

legrostdg opened this issue Jun 21, 2016 · 2 comments

Comments

@legrostdg
Copy link

I've just been caught by https://github.com/kennethreitz/tablib/issues/187

Could you make a release with the related patches?

Thanks!

@legrostdg
Copy link
Author

Woops, not sure it is exactly the same issue (which seems old). Here is the build log:

$ pip install tablib
Downloading/unpacking tablib
  Downloading tablib-0.11.2.tar.gz (758kB): 758kB downloaded
  Running setup.py egg_info for package tablib

Installing collected packages: tablib
  Found existing installation: tablib 0.11.2
    Uninstalling tablib:
      Successfully uninstalled tablib
  Running setup.py install for tablib
      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlwt3/antlr.py", line 1946
        print(fmt % (line,col,text), file=sys.stderr)
                                         ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/__init__.py", line 855
        print("mem: %s, base: %d, len: %d" % (type(self.mem), self.base, self.stream_len), file=self.logfile)
                                                                                               ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/biffh.py", line 386
        print(header, file=f)
                          ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/compdoc.py", line 89
        print("\nCompDoc format: version=0x%04x revision=0x%04x" % (version, revision), file=logfile)
                                                                                            ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/formatting.py", line 589
        print("%2d: %r -> %r" % (i, old_rgb, new_rgb), file=book.logfile)
                                                           ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/formula.py", line 794
        if verbose: print("tIsect pre", stack, file=bk.logfile)
                                                   ^
    SyntaxError: invalid syntax

      File "/home/user/src/project/project-env/lib/python2.7/site-packages/tablib/packages/xlrd3/sheet.py", line 466
        print("put_cell", rowx, colx, file=self.logfile)
                                          ^
    SyntaxError: invalid syntax


  Could not find .egg-info directory in install record for tablib in /home/user/src/project/project-env/lib/python2.7/site-packages
Successfully installed tablib
Cleaning up...

@claudep
Copy link
Contributor

claudep commented Feb 20, 2017

This issue should be obsoleted by #277

@Ev3 Ev3 closed this as completed Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants