Opened 5 years ago

Last modified 4 years ago

#12629 closed defect

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

Reported by: G. Earle Owned by: bphinz
Priority: normal Component: FieldGroupsPlugin
Severity: normal Keywords:
Cc: Trac Release:

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.

Change History (4)

comment:1 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 []
12:02:19 Trac[main] WARNING: [127.0.0.1] HTTPNotFound: 404 Not Found (File js/fnGetHiddenNodes.js not found)

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

Replying to gearle:

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

Replying to gearle:

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) ?

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

comment:4 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.