LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2011, 10:10 AM   #1
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
Unhappy OpenErp GTK client


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 :
 
Old 02-03-2011, 11:42 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-03-2011, 12:00 PM   #3
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Thankz bgeddy

This is what i get !

/tmp/hippo-canvas-0.3.1-src-1$ python -c "import hippo"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib64/python2.6/site-packages/hippo.so: undefined symbol: hippo_canvas_window_get_context

maybe this help you to help me

Lawrence
 
Old 02-03-2011, 12:31 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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
 
Old 02-03-2011, 04:07 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-04-2011, 10:48 AM   #6
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Hi there bgeddy

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 .
 
Old 02-04-2011, 12:02 PM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-04-2011, 01:27 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.

Last edited by bgeddy; 02-04-2011 at 01:29 PM.
 
Old 02-04-2011, 10:11 PM   #9
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-05-2011, 07:28 AM   #10
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Talking

Hi there bgeddy

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 ?

Regards
Lawrence
 
Old 02-05-2011, 08:24 AM   #11
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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!

Last edited by bgeddy; 02-05-2011 at 08:56 AM.
 
Old 02-05-2011, 08:35 AM   #12
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Thanks for the reply again bgeddy

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 ..

Cheers
 
Old 02-05-2011, 12:09 PM   #13
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-05-2011, 01:04 PM   #14
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Ok bgeddy

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 ..

regards
lawrence
 
Old 02-05-2011, 01:08 PM   #15
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Ok bgeddy

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 ..

regards
lawrence
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenERP Launches SaaS Version for Partners LXer Syndicated Linux News 0 01-20-2011 02:10 PM
Wicd client Gtk: How to get rid of it? gargamel Slackware 10 11-13-2010 02:00 PM
php-gtk network client nc3b Programming 2 07-03-2007 01:41 AM
kubuntu 6.06: how can I start fireflier-client-gtk Sjonnie48 Linux - Security 3 06-19-2006 05:56 PM
GTK ICQ client (not GAIM)! e_val Linux - Software 2 07-26-2004 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration