[rum-discuss] Getting NoApplicableMethods on object creation (New)

1 view
Skip to first unread message

dakila

unread,
May 24, 2010, 7:34:17 PM5/24/10
to rum-discuss
Hi All,

Anyone encountered this error? this happens when you try to create a
new object. Im using the latest rum.
http://localhost:8080/admin/users/new


NoApplicableMethods: ((<rumalchemy.repository.SARepositoryFactory
object at 0x4092ed0>, <type 'dict'>, None, None, None, {'action':
None, 'remote_name': None, 'resource': <type 'dict'>, 'factory':
<weakproxy at 0x42aa050 to SARepositoryFactory at 0x4092ed0>,
'parent': None}), {})

Regards,
Dakila

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

Michael Brickenstein

unread,
Jun 7, 2010, 3:11:17 AM6/7/10
to rum-discuss
Hi!
I am just back from vacations.
It seems to happen in my TgRumDemo, but not in my
custom Pylons app mounting RUM.

'action':
None
looks suspicious, it should be 'new'.

I'll have a look at it later again.

Cheers,
Michael

On 25 Mai, 01:34, dakila <dak...@gmail.com> wrote:
> Hi All,
>
> Anyone encountered this error? this happens when you try to create a
> new object. Im using the latest rum.http://localhost:8080/admin/users/new

Michael Brickenstein

unread,
Jun 7, 2010, 5:01:26 AM6/7/10
to rum-discuss
Hi!
Indeed it worked in my Pylons app, as it had overloaded templates.
Sorry,
I think, I did not fix the bug you reported properly (cut and paste
error).
But now everything should work using rums tip.
Cheers,
Michael

dakila

unread,
Jun 8, 2010, 1:31:21 AM6/8/10
to rum-discuss
Hi Michael,

Thanks for the fix! Will try them out and give you feedback.

Regards,
Dakila

Gabriel Piassetta

unread,
Jun 16, 2010, 4:59:09 PM6/16/10
to rum-discuss
Hi Michael and dakila,

can any of you explain how to fix that?

im having the same error.

File "/usr/local/lib/python2.6/dist-packages/
PEAK_Rules-0.5a1.dev_r2600-py2.6.egg/peak/rules/core.py", line 214, in
__call__
raise self.__class__(*self.args+(args,kw)) # XXX
NoApplicableMethods: ((<rumalchemy.repository.SARepositoryFactory
object at 0x92fb60c>, <type 'dict'>, None, None, None, {'action':
None, 'remote_name': None, 'resource': <type 'dict'>, 'factory':
<weakproxy at 0x93d66bc to SARepositoryFactory at 0x92fb60c>,
'parent': None}), {})
----------------------------------------


Thanks in advance

Gabriel Piassetta

Michael Brickenstein

unread,
Jun 17, 2010, 2:56:34 AM6/17/10
to rum-discuss
Hi!

Since, I have in recent time fixed a lot of bugs,
I just have uploaded the recent versions from our repository to PYPI.

Can you try
easy_install -U rum tw.rum

The message indicates, that no rules were registered for some argument
set.
However without a larger part or the complete stack trace and the
called url, I have no
chance to find out, which rules or which function did not work.
Since the message is similar to Dakilas I assume, that it is the same
bug and therefore I pushed the latest version to PYPI.

I hope, that solves your problem. If not, please do not hesitate to
ask.

Cheers,
Michael

On Jun 16, 10:59 pm, Gabriel Piassetta <gabrielpiasse...@gmail.com>
wrote:

Gabriel Piassetta

unread,
Jun 17, 2010, 8:28:46 AM6/17/10
to rum-d...@googlegroups.com
The update fixed the problem!

thank you very much

2010/6/17 Michael Brickenstein <bricke...@mfo.de>
Reply all
Reply to author
Forward
0 new messages