[yast-devel] Error: Plugin services does private routing
Hi, I get the message "Error: Plugin services does private routing" after "Registering plugin resources". It is because the plugin has the file config/routes.rb. Why is it an error, and how to fix it? FWIW, the message comes from here: http://git.opensuse.org/?p=projects/yast/rest-service.git;a=commitdiff;h=eea... -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Martin Vidner wrote:
Hi,
I get the message "Error: Plugin services does private routing" after "Registering plugin resources". It is because the plugin has the file config/routes.rb. Why is it an error, and how to fix it?
Just remove the extra routing files, the routing is done in the main service. AFAIK plugins should not define any extra routing. -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
* Ladislav Slezak <lslezak@suse.cz> [Jun 08. 2009 15:41]:
Martin Vidner wrote:
Hi,
I get the message "Error: Plugin services does private routing" after "Registering plugin resources". It is because the plugin has the file config/routes.rb. Why is it an error, and how to fix it?
Just remove the extra routing files, the routing is done in the main service. AFAIK plugins should not define any extra routing.
Exactly. I just improved the error message accordingly. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Klaus Kaempf schrieb:
* Ladislav Slezak <lslezak@suse.cz> [Jun 08. 2009 15:41]:
Martin Vidner wrote:
Hi,
I get the message "Error: Plugin services does private routing" after "Registering plugin resources". It is because the plugin has the file config/routes.rb. Why is it an error, and how to fix it?
Just remove the extra routing files, the routing is done in the main service. AFAIK plugins should not define any extra routing.
Exactly.
I just improved the error message accordingly.
$stderr.puts "***Error: Plugin #{basename} does private routing, please remove #{basename}/config/routes.rb." And test it if you really have removed ;-) Greetings Stefan
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-- ******************************************************************************* Stefan Schubert SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (4)
-
Klaus Kaempf
-
Ladislav Slezak
-
Martin Vidner
-
Stefan Schubert