Jeremy Higgs | 1 Dec 2004 11:16
Picon

Re: Mac OS X install

Hi Michael,

I think you will need to compile the sqlite package from the unstable
distribution, as it probably isn't in the stable distribution (which
is the default). To do so, have a look at this entry in the FAQ:

http://fink.sourceforge.net/faq/usage-fink.php?phpLang=en#bindist

I've also recently contributed a package for Trac (and the
dependencies), to make it easier to install. If you enable the
"unstable" distribution, and update to the latest version of Fink
(using "fink selfupdate-rsync"), you should have access to them.

I'm also planning on writing up a page to detail exactly how to get
multiple projects working with Trac and a Fink install.

Hope this helps!

Jeremy.

On Mon, 29 Nov 2004 13:46:20 +0100, Michael Vogt
<quickmike@...> wrote:
> Hello.
> 
> I just tried to install the latest version of trac on Mac OS X,
> following the installation instructions on
> http://projects.edgewall.com/trac/wiki/TracOnOsx. There is described
> to install sqlite through fink. When executing this command "apt-get
> install sqlite", fink says that sqlite can not be found. Checking on
> the fink page, it seems that no sqlite packages are available through
(Continue reading)

Michael Vogt | 1 Dec 2004 20:14
Picon

Re: Mac OS X install

Hi Jeremy.

Thanks for the info, I will have a look at it.

In the meantime I got it running, but your info ist still helpful. I
didn't find the FAQ entry about the unstable install. So thanks a lot.

I had the problem, that svn-admin was not installed with fink with the
binary install. ONly the comand "fink update svn" made it available.
So I have the feeling, it is better to compile the source and not use
the binaries. Is this your experience with fink, too?

> I've also recently contributed a package for Trac (and the
> dependencies), to make it easier to install. If you enable the
> "unstable" distribution, and update to the latest version of Fink
> (using "fink selfupdate-rsync"), you should have access to them.
> 
This is great. I will check it out.

> I'm also planning on writing up a page to detail exactly how to get
> multiple projects working with Trac and a Fink install.
> 
This is something we were discussing here today. The problem that came
up was, that with multiple Trac installations, it is not possible to
share information between the projects. Is this correct?

For example: I will have an area in trac called knowledgebase. This
contains mainly best practice info and "experiences" with the tools
we're using. This information is important for everybody here,
regardless  of the project he is working on. With the multi trac setup
(Continue reading)

Roberto Aguilar | 1 Dec 2004 20:24
Picon

Downloading PDF (binary) files in the repository with Internet Explorer

I tried Matt Good's suggestion from his post on Tue Nov 23 22:17:38 EST
2004, but no go; adding "&dummy=something.pdf" to the URL does not help
with downloading the PDF file.

Anyone on the Trac dev team know if the PDF file is "streamed" or printed
out at once?  Matt's post also mentions that IE doesn't like the streamed
method and wants the file in one big chunk.

Thanks!
Martin Bialasinski | 1 Dec 2004 21:59
X-Face
Picon
Favicon

Idea for #371: Navbar layout improperly in Opera

Hello!

About Opera not rendering the mainnav properly. Opera 7.6 will have
this problem fixed, but still, I care for the older versions.

I propose to insert this code into header.cs after the mainnav:

<script type="text/javascript">
  if (opera && opera.buildNumber('inconspicuous') <= 756){
    try {
        document.getElementById('mainnav').getElementsByTagName('ul')[0].style.width = '100%';
    } catch(err){};    
  }
</script>

This affects Opera <= 7.56 with javascript enabled. The menu will get
left justified, but still, it is way better than now, where it is
quite unusable due to the horizontal stacking and
overlaying. Sometimes the buttons are not even clickable.

Any opposition on this approach?

Bye,
        Martin
Tom Clancy | 2 Dec 2004 03:54
Picon

Trac 0.8 on Mandrake 10.1

I have Trac 0.8 running on two Mandrake 10.0 machines at work. Both
were originally 0.7.1 and I upgraded them to 0.8. I just set up a
Mandrake box at home and (of course) installed Trac. I did it from
urpmi, so it was 0.7.1. I set up a project and logged in; everything
worked fine. Then I upgraded to 0.8. Now I can't get into that project
or any new ones I create. Instead I get this:

Trac detected an internal error:
no such column: readonly

raceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 525, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 520, in
real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 435, in
dispatch_request
    module.run()
  File "/usr/lib/python2.3/site-packages/trac/Module.py", line 44, in run
    self.render()
  File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 302, in render
    self.page = WikiPage(name, version, self.perm, self.db)
  File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 65, in __init__
    'WHERE name=%s ORDER BY version DESC LIMIT 1', name)
  File "/home/misc/rpm/tmp/python-sqlite-0.5.1-1mdk-buildroot//usr/lib/python2.3/site-packages/sqlite/main.py",
line 255, in execute
DatabaseError: no such column: readonly

I would file this as a bug, but I feel like it's probably something I
(Continue reading)

Terry Dooher | 2 Dec 2004 11:34
Favicon

Re: Idea for #371: Navbar layout improperly in Opera

Well it adds a requirement for JavaScript to be enabled on Opera. See ticket 
#575 for more on this. I suggested reversing the elements and altering the 
float in the css.

It works, but it's just a workaround for a bug in Opera and, rightly, wasn't a 
suitable patch. It's always treading dangerous ground making changes to suit 
specific browsers.

Terry.

Martin Bialasinski wrote:
> Hello!
> 
> About Opera not rendering the mainnav properly. Opera 7.6 will have
> this problem fixed, but still, I care for the older versions.
> 
> I propose to insert this code into header.cs after the mainnav:
> 
> <script type="text/javascript">
>   if (opera && opera.buildNumber('inconspicuous') <= 756){
>     try {
>         document.getElementById('mainnav').getElementsByTagName('ul')[0].style.width = '100%';
>     } catch(err){};    
>   }
> </script>
> 
> This affects Opera <= 7.56 with javascript enabled. The menu will get
> left justified, but still, it is way better than now, where it is
> quite unusable due to the horizontal stacking and
> overlaying. Sometimes the buttons are not even clickable.
(Continue reading)

Martin Bialasinski | 2 Dec 2004 13:13
X-Face
Picon
Favicon

Re: Idea for #371: Navbar layout improperly in Opera

Terry Dooher <tdooher.lists@...> wrote:

> I suggested reversing the elements and altering the float in the
> css.

The powers to be decided, that no change in the HTML code will be
accepted that is for presentational reasons.

Therefor, there is no way to have the menu left aligned in Opera <
7.56. And there won't be.

The javascript solution will at least help people with Javascript
enabled. This is the best we can do.

Remember, the menu is not only visually broken, but also
functionally. 

> It's always treading dangerous ground making changes to suit
> specific browsers.

The CSS is full of hacks for Internet Explorer.

Bye,
        Martin
Justin Foster | 1 Dec 2004 22:38

Removing Changesets from timeline


If i want to hose a whole repository, and start over from scratch, how 
do I get the Changeset references out of the Timeline?

I deleted the entries from node_change and revision via sqlite, and 
created a new subversion repository, but the Changesets still appear.  
Where is this stored?

-Justin
Christopher Lenz | 2 Dec 2004 13:56
Picon
Picon
Gravatar

Re: Idea for #371: Navbar layout improperly in Opera

Am 02.12.2004 um 13:13 schrieb Martin Bialasinski:
> Terry Dooher <tdooher.lists@...> wrote:
>
>> I suggested reversing the elements and altering the float in the
>> css.
>
> The powers to be decided, that no change in the HTML code will be
> accepted that is for presentational reasons.
>
> Therefor, there is no way to have the menu left aligned in Opera <
> 7.56. And there won't be.
>
> The javascript solution will at least help people with Javascript
> enabled. This is the best we can do.

I'll check whether we can include your proposed snippet in trac.js and 
execute it "onload". Putting the script block in every HTML file we 
generate feels like a bit too much.

Also, I am concerned about customizations. Some sites might use a 
different layout for the navigation bar (vertical sidebar on the left, 
for example), and setting the width of the <UL> to 100% might 
completely break that layout. That may be worked around somehow, 
though.

> Remember, the menu is not only visually broken, but also
> functionally.
>
>> It's always treading dangerous ground making changes to suit
>> specific browsers.
(Continue reading)

Free Ekanayaka | 1 Dec 2004 17:06

Re: Table of contents and anchor

|--==> Alec Thomas writes:

  AT> On Mon, Nov 29, 2004 at 09:04:33AM +0100, Free Ekanayaka wrote:
  >>Wow! It works great :)
  >>
  >>Thanks a lot

  AT> No problem :)

  AT> I've made a few changes and there is a more robust anchor patch, both
  AT> available at http://svn.swapoff.org/trachacks

Ok, actually TOC.py satisfy all  my needs :) So  I think I'll wait for
the next release for anchors..

Cheers,

Free

Gmane