1

Hi!
I'm trying to use Kinovea in Karmic Ubuntu Linux using Wine.
With winetricks I installed .net framework 3, fontfix and gdiplus.
This allow me to start Kinovea but I can't see the application menus and the status bar.
Has anyone try this and success?

2

I did not realize that Wine was supporting the .NET Framework…
I'll also try to experiment with that when time permits.
Thanks for the initiative ! Keep us posted if you make some progress smile

3 (edited by joan 2010-04-03 21:07:13)

Installed Wine and winetricks on a Fedora…

Installer runs fine, then troubles starts… Same as you I don't have the menu.
Multiple crashes when doing about any action.
I copied some videos in the (Wine) Desktop folder (my home folder /.wine/drive_c/users/my user name/Desktop). I can see the animated thumbnails (I was surprised it didn't crash…:)). But can't do anything else.
I don't think I installed gdi+ or fontfix. I'll have to try that to see if it crashes a little less.

Edit:
I installed gdi+ and fontfix: much better.
It stopped crashing everytime and I can even launch the videos ! smile
There seem to be an issue with the player timer though, video is very jerky. (might be my machine).
I haven't tested most areas, don't know if it'll prove anywhere usable, but that's a tiny start.

4

Hello Joan.
I'm glad you could make the time to test this big_smile

In my machine I have a native linux (no virtual machine) and the video runs smooth with no issues (I have a geforce 7600gt card with the proprietary linux drivers). The speed control works fine and I can draw with the tools over the video, I even try the trajectory track and works ok. I also could save the current image... so, in general the app is working pretty ok, the big issue is the menu bar, which is strange because I think you're using the standard one from .net and I could find anything in the web to fix it. I didn't had the time to make some test programming some little examples on visual studio to try to find the issue.
Other thing was that the window was acting a little strange (could resize and didn't refresh) but I got it working disabling "Allow the window manager to decorate the windows" and "Allow the window manager to control de windows" in the "Graphics" section of Wine configuration.

I know that Kinovea can't be ported "as is" to Mono because mainly for the using of the AForge library which use P/Invoke to do some memory stuff with the bitmaps and the current video library, but using it in Wine would be a cool alternative wink. If you get curious about Mono I recommend you try MoMa on Kinovea sources. (http://www.mono-project.com/MoMA).

5

Hello..

I tried installing Kinovea8.7 on  Ubuntu 10.10 following the recommendations:
1. installed .netframework
2. gdi+
3. fontfix

Result:
1. Video is working fine
2. I can't see the application menus and status bar : http://www.vimeo.com/16837474

6

Hello,

I tried installing Kinovea 0.9.5 on Ubuntu 22.04.3 LTS:
wine ~/Documents/Kinovea-0.9.5-x64.exe

But I got the following error:
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at ExpTreeLib.CShItem..ctor () [0x00148] in <bafcd2a079a1494ca8f69dd688014e1e>:0
  at ExpTreeLib.CShItem.GetDeskTop () [0x0000c] in <bafcd2a079a1494ca8f69dd688014e1e>:0
  at ExpTreeLib.CShItem.GetCShItem (ExpTreeLib.ShellDll+CSIDL ID) [0x00005] in <bafcd2a079a1494ca8f69dd688014e1e>:0
  at ExpTreeLib.ExpTree.OnStartUpDirectoryChanged (ExpTreeLib.ExpTree+StartDir newVal) [0x0011c] in <bafcd2a079a1494ca8f69dd688014e1e>:0
  at ExpTreeLib.ExpTree..ctor () [0x00063] in <bafcd2a079a1494ca8f69dd688014e1e>:0
  at (wrapper remoting-invoke-with-check) ExpTreeLib.ExpTree..ctor()
  at Kinovea.FileBrowser.FileBrowserUserInterface.InitializeComponent () [0x0003c] in <5cbc7d443b5c4922a1ba6a0cc067e547>:0
  at Kinovea.FileBrowser.FileBrowserUserInterface..ctor () [0x000bd] in <5cbc7d443b5c4922a1ba6a0cc067e547>:0
  at (wrapper remoting-invoke-with-check) Kinovea.FileBrowser.FileBrowserUserInterface..ctor()
  at Kinovea.FileBrowser.FileBrowserKernel..ctor () [0x00000] in <5cbc7d443b5c4922a1ba6a0cc067e547>:0
  at Kinovea.Root.RootKernel.BuildSubTree () [0x0001a] in <a6a09b6175a241cf9c6b101093cafceb>:0
  at Kinovea.Root.RootKernel..ctor () [0x0026a] in <a6a09b6175a241cf9c6b101093cafceb>:0

Could you take a look? Maybe it's not much...

Thanks,
Sylvain.

7

ExpTreeLib.CShItem..ctor

So ExpTreeLib is the component responsible for the file explorer on the left hand side panel and it's a VERY old piece of code and it has a bunch of references to Windows special directories via COM. I imagine one of these might not exist under Wine maybe? Not sure. I've been meaning to replace this component entirely for a while because it's not as flexible as I want it to be, but lacking time for this specific task and it can't be done progressively.