RE: [viewvc-users] RE: ViewVC on RHEL 6.3 (UNCLASSIFIED)
Steven Glasgow <[email protected]> Mon, 1 Apr 2013 11:29:42 +0000
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <6132691E064DAC49B214555A634702745EA55C0E__18290.7786373564$1364815821$gmane$org@UTINHPZV.easf.csd.disa.mil> |
Classification: UNCLASSIFIED
Caveats: NONE
I asked Mr. Lang (Tkinter) what I needed to do to ensure I had thread support
in my Tkinter, and he provided the following. In his last sentence he
recommends I try the latest development version of viewVC as the "problem" may
have been corrected. I'm guessing that I should try version 1.1.19 because
you said that you have already removed the -g option from standalone.py in
anything later than 1.1.x. If the "problem" was not removed in 1.1.x, it was
probably corrected in the work you did to remove the GUI from 1.2.x.
I've got a hunch that the "bug" was removed in 1.2.x because the link he
provides is from the trunk.
Given that, does standalone.py still work in 1.2.x but without the -g option?
If it still works, I'm sure I can still attach to the server with my browser
by going somewhere like: http://localhost:49152/ to see my repository. If I
can do that, how can I get cvsgraph support and "use local time" through the
server started by standalone.py? Those were the two options I used the most
(cvsgraph was the important one).
Anyway, here is what Mr. Lange had to say (the rest of this post):
----------------------------
I'm afraid the procedure is not trivial, if no precompiled packages are
available for the particular system; they would have to compile tcl and tk
with --enable-threads (iirc that's the name of the ./configure option) and
then compile python against the new Tcl/Tk.
However, when I take a second glance at the traceback, in particular the
following lines:
File "/awars2a/Applications/viewvc/viewvc-1-1-18/bin/standalone.py",
line 671, in ready self.title_lbl.config(text='ViewVC standalone
server at\n' + server.url)
I am beginning to suspect (though I admit that I was too lazy to thoroughly
look through the code) that in fact the code is buggy as it seems to try to
change the Tkinter.Label's text from the child thread.
Even better, when I look at:
http://viewvc.tigris.org/svn/viewvc/trunk/bin/standalone.py
these lines (resp. the use of Tkinter at all) are missing, so maybe they
actually found out about the bug and fixed it.
So I guess that maybe it is the best bet to try the latest development version
of viewVC.
Regards
Michael
Classification: UNCLASSIFIED
Caveats: NONE
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3052299
To unsubscribe from this discussion, e-mail: [[email protected]].
smime.p7s
(application/x-pkcs7-signature, 5.5 KB) - not displayed