I've downloaded the newest release of Typo onto both my mac and my  
pc. Both have current versions of ruby and rails. The pc has the  
latest version of mysql, I think my mac's version is a release behind.

On both platforms, rake's tests works, with a single error:

Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/ 
rake_test_loader
Started
..........................................E.................
Finished in 5.433574 seconds.

   1) Error:
test_description(ThemeTest):
Errno::ENOENT: No such file or directory - /Users/riki/Downloads/ 
typo-2.6.0/config/../test/mocks/themes/azure/about.markdown

(I'm not too worried about this, I just include this in the interest  
of completeness).

Anyway, launching Typo in webbrick, it works fine on the mac.  
However, when I try to launch it in webbrick on the PC, I get syntax  
errors. Even more oddly, the errors are not consistent. Remotely  
viewing the pages from my mac (where I can cut and paste to my mail)  
I get this:

SyntaxError in Accounts#signup

Showing app/views/layouts/accounts.rhtml where line #4 raised:

compile error
./script/../config/..//app/views//./layouts/accounts.rhtml:4: Invalid  
char `\003' in expression
./script/../config/..//app/views//./layouts/accounts.rhtml:6: syntax  
error
_erbout.concat "                <title>Typo Administration:  "
        ^
./script/../config/..//app/views//./layouts/accounts.rhtml:7: syntax  
error

  ^


Extracted source (around line #4):

1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2:      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
3: <html xmlns="http://www.w3.org/1999/xhtml";>
4:      <head>
5:              <meta http-equiv="Content-type" content="text/html;  
charset=utf-8" />               
6:              <title>Typo Administration:  <%= controller.controller_name 
%></ 
title>
7:              <meta http-equiv="imagetoolbar" content="no" />


Trace of template inclusion: /app/views/layouts/accounts.rhtml

RAILS_ROOT: ./script/../config/../



On the PC it will give different lines (sometimes #4, sometimes #5),  
and slightly different error messages.



Any idea what's going wrong? Or more importantly, how to fix it?



Thanks,



-Rich-
_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to