SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok I have a working Openerp system including server and web-client .
The Gtk client works , all but the calenders -- ( You must install library python-hippocanvas ) is the error .
I have it installed hippo-canvas-03.1
Everything else works except this
Any ideas ?
My system slackware 13.1 64 ( NO multilib )
Openerp 6.0.1 Trunk but the error is the same from ver 5.0
Regards
Lawrence
Last edited by zasavage; 02-03-2011 at 10:13 AM.
Reason: Forgot this :
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
I can remember messing around with this some time ago. I'm afraid I can't remember what i had to do to get it fixed but there is source code available at the bottom of this page that will build the modules for you. I do remember I had quite a bit of messing around with this particular bit. (I've looked for my old source and build notes but I ended up deleting it all some time ago). Does the source you've already built and installed include the /usr/lib/python/site-packages/hippo stuff - i.e. the python modules? You can easily check if it's there by just running
Code:
python -c "import hippo"
and checking the results. Sorry I can't be more specific - I just remember having problems something to do with hippocanvas and your post reminded me of it.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
maybe this help you to help me
OK - I've built and installed a package from the source for hippo-canvas-0.2.6 and it installs into python fine. I notice you're on a Slackware64 system as I am - this makes building libraries a little more involved as the /usr/lib64 location needs specifying (as oppopsed to the default /usr/local/lib or whatever). I don't know how familiar you are with all this but, if you get stuck, I could make a Slackbuild script for you to build a package from the source. Let me know. As it is I can import the package fine into python so hopefully Openerp should too. Funnily enough I remember it was Openerp I was experimenting with at the time I started all this, back in the day.
Last edited by bgeddy; 02-03-2011 at 12:38 PM.
Reason: Spelling
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Apologies if I'm being a bit presumptuous here pre empting your response but I have now built a SlackBuild and attached it for you. Besides - hopefully this may help anyone else with the same problems.
As usual with SlackBuilds it is a gzipped tar file that you extract then put the source code into the resulting directory, (hippo-canvas in this case). The Slackbuid requires hippo-canvas source version 0.2.6 available here.
Forgive me if it seems I am trying to teach you to "suck eggs" as I know nothing of your experience with SlackBuilds - no offence intended. Good luck with this - I hope it fixes Openerp for you. I trust you are familiar with SlackBuilds and how they give a built package but if not have a look at their website. If anything your original enquiry has prompted my interest in Openerp once more. Please let us know if this fixes your problem.
Edit: I am failing to see the attached file in my post but as I have not attempted to attach a file before in a Forum reply I may be mistaken in my expectations. If there is a snag I can post the SlackBuild to a share or perhaps mail it to you directly. I was under the impression that files could be attached to a post.
Last edited by bgeddy; 02-03-2011 at 04:15 PM.
Reason: Possible attachment problems.
I am in more trouble it seems ..
Got hippo to compile installed ,, And then the other shoe dropped
Nothing seems to respond in the client now only allows the login and then sits there ..
This is the lastbit of the log
from CanvasTable import CanvasTable
File "/home/savage/Downloads/openerp-client-6.0.1/bin/SpiffGtkWidgets/Calendar/CanvasTable.py", line 22, in <module>
from TableLayout import TableLayout
File "/home/savage/Downloads/openerp-client-6.0.1/bin/SpiffGtkWidgets/Calendar/TableLayout.py", line 81, in <module>
class TableLayout(gobject.GObject,hippo.CanvasLayout):
AttributeError: 'module' object has no attribute 'CanvasLayout
Any Ideas
Lawrence
BTW Openerp 6 is great easy to install except his stupid GTK Client web client is very nice .
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
The version of hippo-canvas I have built is 0.2.6. This does not have the CanvasLayout class in it - in fact no reference to CanvasLayout at all. I have just pulled another version from git and built that but it seems the authors have dropped the python extension so this is no good either. I think I remember having never ending problems like these last time I tried Openerp - you seem to have got much further than I did before I lost patience.
Apart from going through all the changelogs of hippo-canvas in all versions and looking for any mention of the CanvasLayout in the python hippo module I cannot think of another fix as on-line information is very scarce. There is, however, an Ubuntu package for hippo-canvas where it is obviously easier to get all this gnome stuff anyway. I will have a look at this a bit later in an Ubuntu VM and let you know if I get anywhere (or not). If I find support for these additional aspects of hippo it may be easier porting the Ubuntu package to Slackware - something I have ended up doing before but a last resort.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
OK - more news. I have had a look at the Ubuntu package python-hippocanvas-0.3.0-3 and this contains hippo.CanvasLayout (the class missing in your last post) so it looks like this one's the one. Anyway I downloaded the source into an Ubuntu VM with "apt get source python-hippocanvas", transferred this to my Slackware host and built a Slackware package out of this. This seems good and is perhaps the version Openerp is expecting.
I can send you the source for you to build a Slackware package if you can't find an Ubuntu source repository or perhaps send you copies of my Slackware packages - I had to build the dependency libcroco,(which I have built as a Slackware package), as hippo-canvas seems to now depend on it. So I have two packages built on a Slackware64-13.1 system which I could send you, alternatively I could send you the sources for you to build. Yet another option is for you to trawl through the Ubuntu archive as the sources are there somewhere. The libcroco source is here. The two built libraries together are only 1 MB so this should be Ok with mailing size limitation.
I have an Openerp server and client on the Ubuntu VM and the calendars work fine so hopefully using the same code for a Slackware python module should solve your problems.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
OK - I hope you're still interested in this! I have built the two packages you need and uploaded the packages, the source and the SlackBuilds used to build them so you may download the packages with the new functionality needed by Openerp or download the build components and build them yourself. The files all live here in the "Documents an Folders" directory (the only one). In that you'll see Hippo-canvas-SBuild being hippo-canvas SlackBuild components, Libcroco-SBuild being libcroco SlackBuild components and Packages being the built packages themselves. The site is very easy to navigate and download from so you should find it all very easy. I'm interested to see if this fixes the Slackware installation of Openerp, (as I only have the Ubuntu one), so please let me know.
Thanks for all your hard work The damn think still has a error .
BUT I have a working one were everything including the client works except the calender which is not such a mission .
The calender works on the web client anyway
I will keep trying But the ERP is working and I am starting a production server this weekend .
Wondering can I install gnome without actually using it thus getting all the libs ect .
Wont that maybe solve my problem ?
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Code:
Thanks for all your hard work The damn think still has a error .
So even with the hippo-canvas libraries built from the Ubuntu source, (which include the hippo.CanvasLayout class), running the local client gives errors? Odd.
Two things I will try - 1) Install Openerp once again on my Slackware host and see if I get any further than last time - you have my interest now and, as you may have noticed, I sometimes get a bit obsessive with these problems and 2) Install the software on a GSB Slackware gnome VM I have.
Quote:
I will keep trying But the ERP is working and I am starting a production server this weekend .
Glad at least the majority of functionality works - looks like you may be busy over the weekend!
Quote:
Wondering can I install gnome without actually using it thus getting all the libs ect .
Wont that maybe solve my problem ?
Well in theory yes, that's a bit like me testing on my GSB (Gnome Slackware build) but obviously you wouldn't be using the Gnome DM for anything. I haven't really thought of all the implications of this approach however in theory that should be pretty much what you have now with all the supporting libraries installed - an interesting approach though.
The more I knock away at this the more memories come back from my original experiments on Slackware with Openerp. In the end I installed it in an Ubuntu VM and everything "just worked" but that's obviously not the desired solution. I have been looking into Openerp more through this and what I've seen so far I like. Funnily enough I must have registered with them as they still send me mails now and then inviting me to various shows, classes and expos. Just blanket revenue gathering obviously can't blame them for that!
I wish I had the gnome of slackware to test but the download would cost me a months wages
I dont like to talk bad about other distro's but I would rather die than use ubuntu even on VM ..
I have successfully tested all the opensource ERP's and the one with the most help and support is OpenERP but Openbravo one is also great ,
but the have to many non opensource modules that are very nice !
Thanks again
You are welcome to ask me about openerp installation on slackware 32 or 64 it just works great apart from that one small module ..
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
OK - I have built Openerp server and client 6.0.1 on my Slackware host and after much messing around with the initialisation of Postgresql and other stuff stuff finally got them to work. So hopefully we can now talk with some sense about the problem you are having. For example - in "Shortcuts" I have "Meetings" which brings up a meetings calendar (i.e. the top menu bar "Calendar" item). Is it these items that are giving you the problems? Perhaps the little calendar widgets themselves? Perhaps I'm completely in the wrong area? I have to apologize for my ignorance with Openerp as I have really done very little before aside from playing with it in Ubuntu. Maybe the simplest way for you to describe it is just to tell me a menu item that doesn't work for you.
It's certainly interesting though and I think I'll be investigating it's abilities a lot more. It looks like an ideal solution to some stuff my Brother does with a company he has set up doing project management. So far it seems much more sophisticated and capable than I had assumed.
Do you have the GTK client up and running . demo database installed ?
See if you have warehousing if not goto modules and install warehousing after that go warehousing , warehouse management , internal moves
You will then see the calender being available to click when yo click on that it gives the error ..
BTW are you using slack 64 ? I have not tried it in 32 something to think about ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.