Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12629 closed defect (fixed)

setup.py references non-existent attribute "finders"

Reported by: G. Earle Owned by: G. Earle
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.

Attachments (0)

Change History (11)

comment:1 Changed 8 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 8 years ago by Ryan J Ollos (previous) (diff)

comment:2 in reply to:  description Changed 8 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 8 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 8 years ago by Ryan J Ollos

Description: modified (diff)

comment:5 Changed 8 years ago by Ryan J Ollos

In 15149:

0.0.2: Remove invalid statements from setup.py

Patch by gearle.

Refs #12629.

comment:6 Changed 8 years ago by Ryan J Ollos

In 15150:

0.0.3: Fix invalid path to script

Refs #12629.

comment:7 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

The changes are untested. Please confirm if you are able to test out the changes.

comment:8 Changed 8 years ago by Ryan J Ollos

Owner: changed from bphinz to G. Earle

comment:9 Changed 8 years ago by gearle@…

Thank you. The changes are good.

Apologies for not getting back earlier, but I cannot get Trac-Hacks to send an email to me to allow token confirmation of my identity. I have tried with two different email addresses, but no email has arrived at either. If there is any way to get this to happen manually, ideally to gearle@assytemuk.com, that would be very helpful please.

gearle

comment:10 in reply to:  9 ; Changed 8 years ago by Ryan J Ollos

Replying to gearle@…:

Apologies for not getting back earlier, but I cannot get Trac-Hacks to send an email to me to allow token confirmation of my identity.

Another user made me aware of the issue just a few days ago. I'll investigate within a few days and get back to you over email.

comment:11 in reply to:  10 Changed 8 years ago by Ryan J Ollos

Replying to rjollos:

Replying to gearle@…:

Apologies for not getting back earlier, but I cannot get Trac-Hacks to send an email to me to allow token confirmation of my identity.

Another user made me aware of the issue just a few days ago. I'll investigate within a few days and get back to you over email.

I manually set your email to verified. Please let me know if you are able to login and receive email notifications. I'll email you directly in case you aren't receiving email.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain G. Earle.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.