Re: Hobo 1.4pre6 giving me error: undefined method `O' for #<#<Class:0x74c8128>:0x74c0c70>

32 views
Skip to first unread message

tonym

unread,
Jun 28, 2012, 5:53:02 AM6/28/12
to hobo...@googlegroups.com
I've now reproduced this with the 'Agile' example, seeing the same error when viewing a user via the user tab (i.e. http://localhost:3000/users/1-admin ).
Running on a straight install of Windows 'Ruby Installer' (Ruby 1.9.2, Rails 3.1.1) with Hobo 1.4.0pre6 installed from the command line.
Fails on line 530 of auto-generated taglib: pages.dryml ...

<a:tasks param="parent-link">&laquo; <ht key="user.actions.back_to_parent" parent="Task" name="&this">Back to <name/></ht></a:tasks>

This is a link 'back to parent', but the line is trying to link back to 'tasks' which is not the parent page in this case - I suspect that is the problem.
If I take this line out it works fine.  But this is auto-generated every time, so I cannot stop the fault.
I can code my way out of the problem with a custom page, but if this is a bug in the current version I hope you can fix it.

Cheers, Anthony

On Friday, June 22, 2012 1:23:50 PM UTC+1, tonym wrote:
I'm Anthony, and fairly new to Hobo.  Dabbled in RoR prior to this.
I've followed the tutorials and now building my own apps.  Since upgrading to Hobo 1.4pre6 I've had this problem, with very simple models and no changes to views etc...

NoMethodError in Subgroups#show

Showing controller: subgroups; dryml-tag: show-page where line # raised:

undefined method `O' for #<#<Class:0x74c8128>:0x74c0c70>

One example project is attached, it fails whenever trying to view 'Subgroups'.  I cannot find any posts here with the same problem, yet I'm sure this could be a common problem.

Hope you can help, it's driving me crazy!

Problem aside, Hobo is brilliant, I love it :)

Cheers, Anthony.

Bryan Larsen

unread,
Jun 28, 2012, 8:22:34 AM6/28/12
to hobo...@googlegroups.com
Sorry I missed your first email.

If I remember correctly, there was a stupid typo in the Hobo source.
Can you try using the HEAD version of Hobo?

Short version of how: replace :version => "1.4.0.pre6" with :git =>
"git://github.com/tablatom/hobo.git" in your Gemfile, and bundle
update.

Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/12Kt3AqVJ80J.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

tonym

unread,
Jun 28, 2012, 11:29:25 AM6/28/12
to hobo...@googlegroups.com
Thanks Bryan,
it no longer crashes, so that's good news :).  But the crumb trails don't work (they literally show, for example '« Back to Subgroup [#, #, #]'  with no links ).  Also, they don't show at all in places where you'd think it was quite simple and logical.  Is this an area that is still being worked on? 

Not much of a problem for me, as I'll be custom coding the dryml eventually, and don't need the crumbs whilst developing.

Thanks for the help.

Regards, Anthony.
Reply all
Reply to author
Forward
0 new messages