Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6414 closed defect (invalid)

date picker button disappeared

Reported by: BaSz Owned by: Robert Corsaro
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: bartosz.szurgot@…, anoaman@… Trac Release: 0.11


default version of trac from debian/testing (i.e. trac 0.11.6-2) with up-to-date DateFieldPlugin (got from SVN). until last trac upgrade it worked fine, but after an upgrade due-date date-picker button disappeared. one can still enter date manually into field, and everything else (seems to) work like before, but there is not way to choose date with the date-picker as it used to be.

Attachments (3)

no_date_picker.png (9.1 KB) - added by BaSz 8 years ago.
due-date field with no picker
trac.log (25.1 KB) - added by BaSz 8 years ago.
ticket_181.htm.gz (4.2 KB) - added by BaSz 8 years ago.

Download all attachments as: .zip

Change History (11)

Changed 8 years ago by BaSz

Attachment: no_date_picker.png added

due-date field with no picker

comment:1 Changed 8 years ago by anonymous

Cc: anoaman@… added

comment:2 Changed 8 years ago by Robert Corsaro

Status: newassigned

Please paste your trac.log and trac.ini. Be sure to replace any sensitive info in your trac.ini before posting. See wiki:TracLogging for logging instructions. Please turn debugging on.

Changed 8 years ago by BaSz

Attachment: trac.log added

Changed 8 years ago by BaSz

Attachment: ticket_181.htm.gz added

comment:3 Changed 8 years ago by BaSz

i've turned debug level for logging and attached log from server restart and some random ticket load. i also attached this ticket's page generated (it's packed, since otherwise it was not accepted by server).

while removing sensitive pieces of information i've noticed warning about no "jquery.js" file - can this be a reason?

comment:4 Changed 8 years ago by anonymous

That is definitely a problem. jquery.js should be a part of trac. How did you deploy trac?

comment:5 Changed 8 years ago by BaSz

apt-get install trac

i use debian/testing. i'll try to see what can i do about it and let you know if i'll find solution (quick search doesn't show jquery.js in trac package :/ ).

comment:6 Changed 8 years ago by BaSz

Resolution: invalid
Status: assignedclosed

ok - got it! symbolic link /usr/lib/python2.5/site-packages/trac/htdocs/js/jquery.js pointing to /usr/share/pyshared/trac/htdocs/js/jquery.js was missing - adding this helped.

i've just checked that it IS present in official trac release. i'll report this to the debian's trac maintainer.

thank you for your help (and closing ticket)!

comment:7 Changed 8 years ago by anonymous

I remember reading that debian packages jquery seperately. Look for a jquery package to install. If this turns out to be the case, the could you please update the wiki for datefield?

comment:8 Changed 8 years ago by BaSz

it is true, about jquery being separate package on debian. they key is that this package IS installed (if it wouldn't it'd be missing dependency problem). many packages do link to it (locate jquery.js gives many results, where (almost) all are symlinks) on the filesystem level, but somehow trac does not. i've send @ to the trac maintainers' group - i hope they'll fix it soon.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Robert Corsaro.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.