Re: [Potlatch-dev] no trace() output

2011-04-16 Thread Frederik Ramm

Hi,

On 04/04/2011 10:41 AM, Andy Allan wrote:

You need to create a file called mm.cfg in your home directory to say where
the debug output should go to:
http://gasubasu.com/2009/04/08/configuring-the-debugger-version-of-flash-player/
http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/

FWIW on OS X my debug log is ~/Library/Preferences/Macromedia/Flash
Player/Logs/flashlog.txt .


FWIW I don't have to do any of that stuff - there's no mm.cfg file,
and the messages are piped to STDOUT.


I tried to follow Richard's advice but it doesn't change a thing for me; 
no logfile created anywhere, and the flash player doesn't even touch 
mm.txt (evident from the last access time of the file). Also, I strace'd 
the flash player and found it really doesn't write out the trace() 
messages, anywhere. I'm beginning to suspect I may not have the right 
debug player.


My flash player debugger says it is version 10,2,153,1 and it has 
11406792 bytes on disk.


Maybe I should try the broser plugin?

Bye
Frederik



___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] [OpenStreetMap] #3687: I18N not working in P2 (custom instance)

2011-04-16 Thread OpenStreetMap
#3687: I18N not working in P2 (custom instance)
---+
 Reporter:  Nop|   Owner:  potlatch-dev@…
 Type:  defect |  Status:  new   
 Priority:  major  |   Milestone:
Component:  potlatch2  | Version:  2.0   
 Keywords:  i18n   |  
---+

Comment(by Nop):

 I had a friend check the P2 instance independently on another machine. It
 appears english/broken there too.

 I have no idea why Andy saw a German translation.

-- 
Ticket URL: 
OpenStreetMap 
OpenStreetMap is a free editable map of the whole world

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


[Potlatch-dev] How to instruct the Potlatch2 API tor read Customized Stylesheets

2011-04-16 Thread Pierre B�land
Hi all,

I have not found in the documentation how to refer to customized Stylesheets.
Trying to use a customized stylesheet with a Custom Potlatch2, i dont find how
to instruct the API for both the url and the name of the Stylesheet without 
recompiling the API.

I was expecting that Stylesheets.xml  would be read by the API when a client 
starts the application.
But adding instructions to the file or even erasing stylesheets.xml file has no 
impact on names listed in the Style list. 

The instruction fo.addVariable("style","stylesheets/anystyle.css"), gives the 
ability to add an url, but
name = Custom is automatically applied.

Am i doing something wrong? If not, could the API be modified to read the 
stylesheets.xml file at startup of the API? 

If stylesheets.xml cannot be read, would it be possible at least to have an 
instruction like
fo.addVariable("styleName","My Anystyle");

regards,

Pierre Béland
___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev