Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

SyntaxError: build.py @def copy_resources

#227

I'm trying to build dupeguru-me on Fedora 17. The pre-requisites are installed, source checked out via hg, but when I get to the build.py step, I get:

$ python build.py --clean Traceback (most recent call last):
File "build.py", line 20, in from hscommon import sphinxgen File "/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/sphinxgen.py", line 12, in from .build import print_and_do, read_changelog_file, filereplace File "/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py", line 290 def copy_resources(self, *resources, use_symlinks=False): ^ SyntaxError: invalid syntax

confirming by hand:

$ python -m py_compile /home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py

SyntaxError: ('invalid syntax', ('/home/flowerpt/src/dupeguru/dupeguru-me/dupeguru-me/hscommon/build.py', 290, 53, ' def copy_resources(self, *resources, use_symlinks=False):\n'))

Python version is:

python-2.7.3-7.2.fc17.x86_64

I looked at the function definition syntax BNF python.org, and I don't see the obvious problem, but I'm definitely not a python hacker.

Reported by Bill McGonigle · May 13th, 2013 @ 03:17 PM

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. Virgil Dupras
    Virgil Dupras
    • State changed from new to invalid

    dupeGuru uses python3. Try the same command with Python3 (and the specified prerequisites).

    May 13th, 2013 @ 10:44 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.