Opened 5 years ago

# setup.py references non-existent attribute "finders" — at Version 4

Reported by: Owned by: G. Earle bphinz normal FieldGroupsPlugin normal

### Description (last modified by Ryan J Ollos)

Line 12 of the setup.py file is

del sdist.finders[:]


but there is no attribute called finders in this module. The result is that installation of the plugin fails.

I have commented out lines 11 and 12 from the setup.py file, which appears to result in a successful installation, but need to confirm this is the correct solution ?

Thanks.

### comment:1 follow-up:  3 Changed 5 years ago by G. Earle

There is a further problem that I have bumped into, which I guess is also installation related. In trac.ini, I have enabled fieldgroups.*, but after creating a single field group I get the following run-time warnings:

12:02:19 Trac[chrome] WARNING: File js/fnGetHiddenNodes.js not found in any of []


Now fnGetHiddenNodes.js exists in C:\Python27\Lib\site-packages\fieldgroups\htdocs\js, so do I have a further installation error (using Trac 1.0) ?

Last edited 5 years ago by Ryan J Ollos (previous) (diff)

### comment:2 in reply to:  description Changed 5 years ago by Ryan J Ollos

I have commented out lines 11 and 12 from the set.py file, which appears to result in a successful installation, but need to confirm this is the correct solution ?

That looks like correct solution. I'll apply in a few days if the plugin author doesn't get to it.

### comment:3 in reply to:  1 Changed 5 years ago by Ryan J Ollos

In fieldgroupsplugin/1.0/fieldgroups/admin.py@12582:30#L17, fieldclasses needs to be changed to fieldgroups.