APDL 8.3 Released, now only $99/year

Learn more
Results 1 to 15 of 15

Thread: Running Logbook Pro in Linux

  1. #1
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226

    Lightbulb Running Logbook Pro in Linux

    Hello everyone,

    This is a small step by step guide how to get LogbookPro (1.11.9) Running on Linux. It should work on every distro (probably even Apple) but it has been tested to work on Fedora 16 64bit.

    This tutorial assumes you have a basic knowledge of linux and you have sudo rights.

    -Install wine and cabextract
    Code:
    sudo yum install wine cabextract
    -start wine configurator from your start menu and set it for windows 7 (it started for me with downloading Gecko)

    -Back into the terminal:
    Code:
    cd /tmp
    sudo wget http://winetricks.org/winetricks
    sudo chmod 777 winetricks
    ./winetricks art2kmin
    Follow the on screen instructions.

    Code:
    ./winetricks riched20 riched30 mfc42 msmask msvcirt vcrun6sp6 vcrun6 wsh7
    ./winetricks allfonts
    The allfonts and riched20 gave me a few errors but these can be neglected.

    Get 2 DLL files of a windows computer (assuming the same version as you have set, but who knows... I didn't test this)
    -scrrun.dll
    -oleaut32.dll
    (both these files should be in your c:/windows/system32/ folder)

    Copy both these files into your wine windows:
    /home/username/.wine/drive_c/windows/system32/

    Now start Wine File program. This will open a "explorer" like window. Select top left menu "File --> Run"
    Code:
    regsvr32 scrrun.dll
    Now open Wine Configurator and go to tab Libraries. Here select a override for oleauth. (Riched20/30 are already in this list)

    Time to install Logbook Pro. Download it and install it using "Open with Wine Windows Program Loader".

    Now all you need to do is start the program. Wine has created symbolic links to documents. Select your .LBK file in the "Windows" system.

    Enjoy all the functions that LBP brings to windows without the Micro$oft!!!

    Last thing I did was strictly cosmetic:
    download a .png logo of logbookpro (https://www.nc-software.com/newslett...LogbookPro.png) and use it as a icon for the desktop program. (used to be needed, but now works without doing this)
    Last edited by seabird; 08-18-2012 at 9:04 AM. Reason: Updated instructions
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  2. #2
    Join Date
    Aug 2012
    Posts
    4
    Hi! If you're still around I'm having some trouble getting this to work:

    winetricks riched20 fails saying the file can't be found, assuming MS changed the location of it.
    same with winetricks riched30

    I'm assuming all that does is get the drivers riched20 and riched32, so I just grabbed those from my windows installation.

    Once I did that I edited the logbook pro icon to "env WINEDLLOVERRIDE="oleaut32=n" WINEPREFIX="/home/<my name>/.wine" wine C:\\Program\ Files\ \(x86\)\\Logbook\ Pro\\Logbook.exe" instead of what is listed above, which just responds with "WINEDLLOVERRIDE="oleaut32=n" not found.

    The rest of the instructions worked fine, but when I try to run it it never opens. I can run the actual logbook.exe program file on its own but it either crashes, or will never open my logbook file, it just says "Loading data: Please wait" forever.

    I'm assuming something about wine has changed in the last few months. What do you think?

    Thanks!

  3. #3
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    EDITED INSTRUCTIONS FOR LATEST VERSION WINE!!!

    I still have it running on fedora 17.

    LOVING LINUX
    Last edited by seabird; 08-18-2012 at 9:06 AM.
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  4. #4
    Join Date
    Aug 2012
    Posts
    4
    Quote Originally Posted by seabird View Post
    EDITED INSTRUCTIONS FOR LATEST VERSION WINE!!!

    I still have it running on fedora 17.

    LOVING LINUX

    Thanks, it's just not working for me under Ubuntu. It does bring the logbook up now but none of the fields are editable and if I do anything it freezes. I'll have to try and start it fresh tomorrow and see where I get with a clean install. I hope I get it to work because it's the last thing I still do under windows

  5. #5
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    Dear Traffic,

    the best way to troubleshoot any application in WINE is to run it from the CLI (commandline/terminal). This way you get feedback from the program and can start looking for a solution.

    Start the program from the CLI: (just copy your shortcut properties)
    Code:
    [jacco@vaio ~]$ env WINEPREFIX="/home/jacco/.wine" wine C:\\Program\ Files\\Logbook\ Pro\\Logbook.exe
    You will keep some errors even in a running version: (but these don't prevent the program from working.
    Code:
    err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\scrrun.dll"
    err:ole:create_server class {0d43fe01-f093-11cf-8940-00a0c9054228} not registered
    err:ole:CoGetClassObject no class object {0d43fe01-f093-11cf-8940-00a0c9054228} could be created for context 0x5
    fixme:storage:create_storagefile Storage share mode not implemented.
    fixme:share:NetShareEnum Stub ((null) 2 0x32e3ec -1 0x32e3f4 0x32e3e8 (nil))
    fixme:odbc:SQLConfigDataSource (nil) 1 "Microsoft Access Driver (*.mdb)" "DSN=NCSoftware"
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    fixme:share:NetShareEnum Stub ((null) 2 0x32dd44 -1 0x32dd4c 0x32dd40 (nil))
    If that still does not make it work for you we can set up a session (SSH/VNC) to see how to solve it
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  6. #6
    Join Date
    Aug 2012
    Posts
    4
    Quote Originally Posted by seabird View Post
    Dear Traffic,

    the best way to troubleshoot any application in WINE is to run it from the CLI (commandline/terminal). This way you get feedback from the program and can start looking for a solution.

    Start the program from the CLI: (just copy your shortcut properties)
    Code:
    [jacco@vaio ~]$ env WINEPREFIX="/home/jacco/.wine" wine C:\\Program\ Files\\Logbook\ Pro\\Logbook.exe
    You will keep some errors even in a running version: (but these don't prevent the program from working.
    Code:
    err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\scrrun.dll"
    err:ole:create_server class {0d43fe01-f093-11cf-8940-00a0c9054228} not registered
    err:ole:CoGetClassObject no class object {0d43fe01-f093-11cf-8940-00a0c9054228} could be created for context 0x5
    fixme:storage:create_storagefile Storage share mode not implemented.
    fixme:share:NetShareEnum Stub ((null) 2 0x32e3ec -1 0x32e3f4 0x32e3e8 (nil))
    fixme:odbc:SQLConfigDataSource (nil) 1 "Microsoft Access Driver (*.mdb)" "DSN=NCSoftware"
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    fixme:share:NetShareEnum Stub ((null) 2 0x32dd44 -1 0x32dd4c 0x32dd40 (nil))
    If that still does not make it work for you we can set up a session (SSH/VNC) to see how to solve it

    Hi, I appreciate the advice! I'm out of town for a few days so I wont be able to try this until I get back. I'll let you know what I find out.

  7. #7
    Join Date
    Aug 2012
    Posts
    4
    Okay, here's what I got:
    Code:
    err:module:import_dll Loading library oleaut32.dll (which is needed by L"C:\\windows\\system32\\windowscodecs.dll") failed (error c000007b).
    err:module:import_dll Library windowscodecs.dll (which is needed by L"C:\\windows\\system32\\winemenubuilder.exe") not found
    err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winemenubuilder.exe" failed, status c0000135
    fixme:ole:OleLoadPictureEx (0x15bc054,24950,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f870), partially implemented.
    fixme:ole:OLEPictureImpl_SaveAsFile (0x150930)->(0x1a560b0, 0, (nil)), hacked stub.
    fixme:ole:OleLoadPictureEx (0x15bd58c,27501,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f870), partially implemented.
    err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
    ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
    err:heap:validate_block_pointer Heap 0x110000: bad size 038fc0b8 for in-use arena 0x38fbd38
    fixme:share:NetShareEnum Stub ((null) 2 0x32e3ec -1 0x32e3f4 0x32e3e8 (nil))
    fixme:odbc:SQLConfigDataSource (nil) 1 "Microsoft Access Driver (*.mdb)" "DSN=NCSoftware"
    fixme:ole:OleLoadPictureEx (0x15bf47c,3270,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e0), partially implemented.
    fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
    fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {b196b283-bab4-101a-b69c-00aa00341d07}
    fixme:ole:OLEPictureImpl_SaveAsFile (0x3981f88)->(0x15c10bc, 1, (nil)), hacked stub.
    fixme:ole:OleLoadPictureEx (0x15c10bc,2358,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x32ea88), partially implemented.
    fixme:ole:OLEPictureImpl_SaveAsFile (0x3986078)->(0x15c10fc, 1, (nil)), hacked stub.
    fixme:ole:OleLoadPictureEx (0x15c10fc,2358,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x32e93c), partially implemented.
    fixme:ole:OLEPictureImpl_SaveAsFile (0x398fb98)->(0x15c10fc, 1, (nil)), hacked stub.
    fixme:ole:OleLoadPictureEx (0x15c10fc,0,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x32e93c), partially implemented.
    err:ole:OLEPictureImpl_Load Failure while reading picture header (hr is 0, nread is 0).
    err:ole:OleLoadPictureEx IPersistStream_Load failed
    fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.
    fixme:share:NetShareEnum Stub ((null) 2 0x32bf50 -1 0x32bf58 0x32bf4c (nil))
    err:heap:validate_block_pointer Heap 0x110000: bad size 038fc088 for in-use arena 0x38fb968
    The oleaut32.dll and windowscodecs.dll errors seem to be the issue. winetricks returns an error when I try to load windowscodecs.dll and oleaut32 should already be in there.

  8. #8
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    Yes, did you already get this fixed? Did you copy a oleaut32 out of a similar windows versions as per instructions? (wine configurator add override etc)
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  9. #9
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    I still think I may be having the wrong fonts supported. Which fonts does LBP actually use? Neil?

    Just re-installed my laptop with Linux Mint 14
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  10. #10
    Join Date
    Nov 2001
    Location
    Richmond, VA
    Posts
    12,418
    I believe most are MS Sans Serif or Tahoma

  11. #11
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226

    Another confirmed setup

    Hi everyone, just to confirm I have it running again. Wasn't the smoothest setups (as Neil can probably see by the amount of activitions on my license) But got it working in the end again.

    -Linux Mint (32 bit)
    -Linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
    -Wine 1.4.1
    -Winetricks 20120912
    -LBP 1.12.6

    In the folder ~/Downloads I have 3 files:
    -oleaut32.dll
    -scrrun.dll
    -lbpNOMSI.exe

    My exact!!!!!!! steps: (follow the on screen instructions if needed)
    Code:
    #sudo apt-get install wine cabextract winetricks
    #winetricks art2kmin
    #winetricks riched20 riched30 mfc42 msmask msvcirt vcrun6sp6 vcrun6 wsh57
    #winetricks allfonts
    #mv ~/Downloads/*.dll ~/.wine/drive_c/windows/system32/
    #wine regsvr32 scrrun.dll
    #winetricks mdac28
    Next we need to configure wine:
    Code:
    #winecfg
    In the tab Libraries add a entry for oleaut32 and click on Ok/Apply

    Time to install lbp: (i did it via command line, but feel free to double click the exe)
    Code:
    #wine ~/Downloads/lbproNoMSI.exe
    If it complaints about the system not being correct for LBP, please check your winecfg (I set it for winXP)

    This completes it. Now to run from terminal: (please replace username) or click the icon on the desktop.....
    Code:
    env WINEPREFIX="/home/username/.wine" wine C:\\Program\ Files\\Logbook\ Pro\\Logbook.exe
    It will still prompt you some errors, but LBP is functional (so far):
    Code:
    fixme:storage:create_storagefile Storage share mode not implemented.
    err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
    fixme:resource:DestroyAcceleratorTable other process handle 0x1?
    fixme:share:NetShareEnum Stub ((null) 2 0x32d884 -1 0x32d88c 0x32d880 (nil))
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  12. #12
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    Ok, now going for Linux Mint 15 (ubuntu based) I may need some feedback from Neil or the team here:

    -Linux Mint 15 (kernel 3.11.2 64 bit)
    -Wine 1.7.3
    -Winetricks 20130707
    -LBP 1.16.9

    My exact steps:
    Create a 32 bit wine env. I did not get it working in 64 bit wine.
    Code:
    WINEARCH=win32 WINEPREFIX=~/.wine
    The rest is as above.

    LBP starts fine and it also lets me edit my log. Unfortunatly Analyzer (my most beloved function) only shows me a white screen with 2 scrolling bars. I guess I am missing some dependencies.

    Neil any clue what I am missing for reports/analyzer to work? I have these things installed:
    Code:
    $ winetricks list-installed
    art2kmin
    baekmuk
    consolas
    corefonts
    dotnet40
    droid
    mdac27
    mdac28
    mfc42
    msls31
    msmask
    msvcirt
    riched20
    riched30
    tabctl32
    tahoma
    vcrun6sp6
    vcrun6
    wsh56vb
    wsh57
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  13. #13
    Join Date
    Nov 2001
    Location
    Richmond, VA
    Posts
    12,418
    Hi Jacco,

    Tough one, not really sure, but I suggest DAO 3.51 and/or DAO 3.6 and see if that helps.

  14. #14
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    226
    Quote Originally Posted by Neal Culiner View Post
    Hi Jacco,

    Tough one, not really sure, but I suggest DAO 3.51 and/or DAO 3.6 and see if that helps.
    Cool, knew I forgot that.

    Code:
    winetricks jet40
    Solved!!!!
    Attitude is Everything!
    But Remember, Attitudes are Contagious!
    Is Yours worth Catching????

  15. #15
    Join Date
    Nov 2018
    Posts
    1
    If anyone is still on here, I was able to install Logbook Pro. I was able to restore my data from a backup file, but I am unable to run any reports (it just says processing and never does anything) and my data from my android app is not syncing either.

    I am brand new to Linux and have very limited experience.

    I running Lubuntu 16.04.5

    I tried running LBP in LX Terminal and this is what I have:

    fixme:olepicture:OleLoadPictureEx (0x157d4c4,24950,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f844), partially implemented.
    fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
    err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    fixme:olepicture:OLEPictureImpl_SaveAsFile (0x14f1e8)->(0x20e1110, 0, (nil)), hacked stub.
    fixme:olepicture:OleLoadPictureEx (0x157ebcc,27501,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f844), partially implemented.
    err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
    fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
    fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
    fixme:share:NetShareEnum Stub ((null) 2 0x33e3b8 -1 0x33e3c0 0x33e3b4 (nil))
    fixme:share:NetShareEnum Stub ((null) 2 0x33e0b0 -1 0x33e0b8 0x33e0ac (nil))
    fixme:share:NetShareEnum Stub ((null) 2 0x33e18c -1 0x33e194 0x33e188 (nil))
    fixme:odbc:SQLConfigDataSource (nil) 1 "Microsoft Access Driver (*.mdb)" "DSN=NCSoftware"
    fixme:olepicture:OleLoadPictureEx (0x1580c4c,902,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f2e0), partially implemented.
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered
    err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x1
    fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x2be197c), stub!
    fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x2be4cac), stub!
    fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x2be89ec), stub!
    fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x2bfa654), stub!
    fixme:olepicture:OLEPictureImpl_SaveAsFile (0x2b69f40)->(0x2be7bb0, 0, (nil)), hacked stub.
    fixme:share:NetShareEnum Stub ((null) 2 0x33db9c -1 0x33dba4 0x33db98 (nil))
    Last edited by Flying Farmer; 11-27-2018 at 11:19 AM.

Similar Threads

  1. Logbook Pro under Linux
    By DarStec in forum Logbook Pro Desktop Edition Sales & Support
    Replies: 2
    Last Post: 04-02-2010, 11:36 PM
  2. Logbook Pro Already Running?
    By bill.murphy in forum Logbook Pro Desktop Edition Sales & Support
    Replies: 1
    Last Post: 05-25-2009, 10:10 AM
  3. Linux OS
    By captainbrian in forum APDL Sales & Support
    Replies: 3
    Last Post: 11-07-2007, 11:27 PM
  4. lbp already running
    By cdowhie in forum Logbook Pro Desktop Edition Sales & Support
    Replies: 7
    Last Post: 03-19-2003, 1:41 PM
  5. Logbook Pro Not Running
    By davipilot in forum Logbook Pro Desktop Edition Sales & Support
    Replies: 5
    Last Post: 01-08-2003, 6:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

sitemap Site Map