Randall Wood | 7 Oct 2007 11:20
Picon

xml2po help needed

I am having trouble running xml2po.

It fails, consistently, to load any of its modules on my computer. I  
can confirm that /opt/local/share/xml2po (I use /opt/local instead  
of /usr/local)  and that something is going wrong in the function  
load_mode at the statement module = __import__(modename) but beyond  
that I am lost in the unfamiliar python language.

Can someone help me figure out what is going on?

Randall Wood
rhwood@...
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."
Goran Rakic | 7 Oct 2007 13:00
Gravatar

Re: xml2po help needed

У нед, 07. 10 2007. у 05:20 -0400, Randall Wood пише:
> I am having trouble running xml2po.
> 
> It fails, consistently, to load any of its modules on my computer. I  
> can confirm that /opt/local/share/xml2po (I use /opt/local instead  
> of /usr/local)  and that something is going wrong in the function  
> load_mode at the statement module = __import__(modename) but beyond  
> that I am lost in the unfamiliar python language.
> 
> Can someone help me figure out what is going on?

What's the value of submodes_path variable? (around line 690
in /opt/local/bin/xml2po)

It's value should be "/opt/local/share/xml2po" and it's set by Makefile
while installing.

_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list
Randall Wood | 7 Oct 2007 13:17
Picon

Re: xml2po help needed

On 7 Oct 2007, at 07:00, Goran Rakic wrote:

> У нед, 07. 10 2007. у 05:20 -0400, Randall Wood пише:
>> I am having trouble running xml2po.
>>
>> It fails, consistently, to load any of its modules on my computer. I
>> can confirm that /opt/local/share/xml2po (I use /opt/local instead
>> of /usr/local)  and that something is going wrong in the function
>> load_mode at the statement module = __import__(modename) but beyond
>> that I am lost in the unfamiliar python language.
>>
>> Can someone help me figure out what is going on?
>
> What's the value of submodes_path variable? (around line 690
> in /opt/local/bin/xml2po)
>
> It's value should be "/opt/local/share/xml2po" and it's set by  
> Makefile
> while installing.
>
The value is /opt/local/share/xml2po

Randall Wood
rhwood <at> mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."

(Continue reading)


Gmane