Install XML-RPC Plugin

200 views
Skip to first unread message

Pazmiño Mazón, Iván Andrés

unread,
Jul 27, 2011, 5:59:00 PM7/27/11
to Trac Users
Hi,

I'm trying to install the XML-RPC Plugin but get to execute the phyton
easy_install commands. It complains with "Couldn't find a setup script
in /tmp/easy_install-Qz6P4m/trunk" every attempt, even do I can see the
URL from the browser

Is there a place from where I could just download the egg (which I
assume is like a binary to phyton) and copy it in my projects folder and
it just works?

My trac installation is a 0.11.5 with apache2 and phyton 2.6

Thanks in advance
IP

"Clausula de Confidencialidad: La información contenida en el presente mensaje es confidencial, está dirigida
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de Rentas Internas no se
responsabiliza por su uso y deja expresa constancia que en los registros de la Institución consta la
información originalmente enviada. Este mensaje está protegido por la Ley de Propiedad Intelectual, Ley de
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos internacionales relacionados. Si
usted no es el destinatario de este mensaje, recomendamos su eliminación inmediata. La distribución o copia
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás normas aplicables. La
transmisión de información por correo electrónico, no garantiza que la misma sea segura o esté libre de error,
por consiguiente, se recomienda su verificación.Toda solicitud de información requerida de manera oficial al
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad de la Institución, conforme a
la Ley y demás normas vigentes."

Ryan J Ollos

unread,
Jul 28, 2011, 3:44:04 AM7/28/11
to trac-...@googlegroups.com


Pazmiño Mazón, Iván Andrés wrote:
>
> Is there a place from where I could just download the egg (which I
> assume is like a binary to phyton) and copy it in my projects folder and
> it just works?
>

Please read through [1] and see if that answers your questions.

[1] http://trac.edgewall.org/wiki/TracPlugins

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32154420.html
Sent from the Trac Users mailing list archive at Nabble.com.

Ivan Pazmiño

unread,
Aug 3, 2011, 4:41:42 PM8/3/11
to trac-...@googlegroups.com

Thanks for your reply.
I've got the egg file into python2.6/dist-packages folder and nabled it in trac.ini and restarted

but when I try to give a user the permission for the plugin it complains it doesnt exist
XML_RPC IS NOT A valid action

What might be missing?

Iván Pazmiño - iapa...@gmail.com

El 28/07/2011 2:44, "Ryan J Ollos" <ry...@physiosonics.com> escribió:




Pazmiño Mazón, Iván Andrés wrote:
>

> Is there a place from where I could just download the egg ...

Please read through [1] and see if that answers your questions.

[1] http://trac.edgewall.org/wiki/TracPlugins

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32154420.html
Sent from the Trac Users mailing list archive at Nabble.com.


--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
T...

Ryan J Ollos

unread,
Aug 3, 2011, 5:52:05 PM8/3/11
to trac-...@googlegroups.com


Ivan Pazmiño wrote:
>
> Thanks for your reply.
> I've got the egg file into python2.6/dist-packages folder and nabled it in
> trac.ini and restarted
>
> but when I try to give a user the permission for the plugin it complains
> it
> doesnt exist
> XML_RPC IS NOT A valid action
>
> What might be missing?
>

It sounds like the plugin is not being loaded. Assuming the egg is installed
and configured to load correctly, then there is probably an error when
starting Trac. You'll want to set the log level to debug and look for error
messages when starting Trac. See [1] for more details.

[1] http://trac.edgewall.org/wiki/TracLogging

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32190198.html

Ivan Pazmiño

unread,
Aug 4, 2011, 10:09:53 AM8/4/11
to trac-...@googlegroups.com
The log says the plugin is found but can't load

2011-08-04 09:24:08,083 Trac[loader] DEBUG: Adding plugin setuptools 0.6c11 from /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg
2011-08-04 09:24:08,084 Trac[loader] DEBUG: Adding plugin TracXMLRPC 1.1.2 from /usr/local/lib/python2.6/dist-packages/TracXMLRPC-1.1.2-py2.6.egg
2011-08-04 09:24:08,087 Trac[loader] DEBUG: Loading TracXMLRPC from /usr/local/lib/python2.6/dist-packages/TracXMLRPC-1.1.2-py2.6.egg
2011-08-04 09:24:08,087 Trac[loader] ERROR: Skipping "TracXMLRPC = tracrpc": (can't import "ImportError: No module named tracrpc")

...

2011-08-04 09:24:08,119 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib/python2.6/dist-packages
2011-08-04 09:24:08,134 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not found)

...

2011-08-04 09:24:08,138 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib/python2.6/dist-packages
2011-08-04 09:24:08,150 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("DistributionNotFound: docutils>=0.3" not found)

2011-08-04 09:24:08,181 Trac[loader] DEBUG: Loading trac.mimeview.silvercity from /usr/lib/python2.6/dist-packages
2011-08-04 09:24:08,193 Trac[loader] DEBUG: Skipping "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": ("DistributionNotFound: SilverCity>=0.9.4" not found)

...

2011-08-04 09:24:08,280 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect

other than these it loads without any complaint. is correct to enable the plugin as 

[components]
tracrpc.* = enabled

I mean, is tracrpc the correct name for the plugin?

2011/8/3 Ryan J Ollos <ry...@physiosonics.com>
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


Ryan J Ollos

unread,
Aug 4, 2011, 1:18:01 PM8/4/11
to trac-...@googlegroups.com

Ivan Pazmiño wrote:
>
> The log says the plugin is found but can't load
>
> 2011-08-04 09:24:08,083 Trac[loader] DEBUG: Adding plugin setuptools
> 0.6c11
> from /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg
> 2011-08-04 09:24:08,084 Trac[loader] DEBUG: Adding plugin TracXMLRPC 1.1.2
> from /usr/local/lib/python2.6/dist-packages/TracXMLRPC-1.1.2-py2.6.egg
> 2011-08-04 09:24:08,087 Trac[loader] DEBUG: Loading TracXMLRPC from
> /usr/local/lib/python2.6/dist-packages/TracXMLRPC-1.1.2-py2.6.egg

> ...


>
> [components]
> tracrpc.* = enabled
>
> I mean, is tracrpc the correct name for the plugin?
>
>

It looks like you have enabled it correctly, and it is trying to load the
plugin, so perhaps there is some problem with the egg? I'm not sure ...
maybe someone else will have a good idea of what is going on.

I always install my plugins like this:
1. Checkout the source from SVN
2. cd to xmlrpcplugin/trunk
3. python setup.py install

Maybe try that since it sounds like you've been having a problem with
easy_install.
--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32196281.html

iapazmino

unread,
Aug 5, 2011, 10:17:50 AM8/5/11
to trac-...@googlegroups.com

Thanks a lot.
I bet you already have the plugin installed, would you mind sharing the .egg
file?

Regards,
IP

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32202573.html

Ryan J Ollos

unread,
Aug 5, 2011, 2:07:33 PM8/5/11
to trac-...@googlegroups.com


iapazmino wrote:
>
> Thanks a lot.
> I bet you already have the plugin installed, would you mind sharing the
> .egg file?
>
> Regards,
> IP
>

Sure, I've built the egg for Python 2.6. Just let me know a place I can drop
it (FTP site or email address).

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32204380.html

Ivan Pazmiño

unread,
Aug 5, 2011, 3:05:26 PM8/5/11
to trac-...@googlegroups.com

Iapa...@gmail.com
Thank you very much

Iván Pazmiño - iapa...@gmail.com

El 05/08/2011 13:07, "Ryan J Ollos" <ry...@physiosonics.com> escribió:




iapazmino wrote:
>
> Thanks a lot.

> I bet you already have the plugin installed, would you mind...

Sure, I've built the egg for Python 2.6. Just let me know a place I can drop
it (FTP site or email address).

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32204380.html

Sent from the Trac Users mailing list archive at Nabble.com.

--
You received this message because ...

iapazmino

unread,
Aug 8, 2011, 12:05:17 PM8/8/11
to trac-...@googlegroups.com

Thank you very much, it finally works!

Trac[perm] INFO: Granted permission for XML_RPC to iapazmino

> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To post to this group, send email to trac-...@googlegroups.com.
> To unsubscribe from this group, send email to
> trac-users+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>
>

--
View this message in context: http://old.nabble.com/Install-XML-RPC-Plugin-tp32152225p32219687.html

Reply all
Reply to author
Forward
0 new messages