# Error loading GenICam.vin file on Ubuntu 16.04 running in VirtualBox

**URL:** <https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076>\
**Category:** General Questions\
**Tags:** linux\
**Created:** [March 10, 2020, 10:08am UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076 "2020-03-10T10:08:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTraynor](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JTraynor](https://forum.commonvisionblox.com/u/JTraynor)\
**Post date:** [March 10, 2020, 10:08am UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/1 "2020-03-10T10:08:48Z")

</div>

Hi guys,

I am running Ubuntu 16.04 in Virtual Box 6.1 on windows 10 and I am getting the following error when I try to run the GrapConsoleExample inside the tutorials folder. (Same code works fine on windows)

“Error loading /opt/cvb/drivers/GenICam.ini driver”

I can successfully connect to he camera and snap + save an image (using GigE Dalsa Genie nano M2420) over the network using GenICam Browser so I believe the network is setup correctly using the Bridged Adaptor mode in Virtual Box settings -

I am running cvb 13.002.002

I can only attached one image so I have attached a screenshot of the .ini file  
Any help would be greatly appreciated

Thanks

JT

![cvb_ini](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/1X/84e2931ff97b0cffe4e28003177f4eed43e765e8.png)

---

<div class="post-metadata">

**Author:** ![parsd](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/parsd/32/7_2.png) [@parsd](https://forum.commonvisionblox.com/u/parsd)\
**Post date:** [March 10, 2020, 1:16pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/2 "2020-03-10T13:16:47Z")

</div>

Hi and welchome @JTraynor,

do you have the camera still open in the _GenICam Browser_ when you start the _GrabConsoleExample_? Also did you save the configuration. Not that an old configuration is still stored in the _ini_.

If that does not help: I cannot read your _GenICam.ini_ in the screen shot. Could you copy and past the settings in text form to this thread? Thank you 😄

---

<div class="post-metadata">

**Author:** ![JTraynor](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JTraynor](https://forum.commonvisionblox.com/u/JTraynor)\
**Post date:** [March 10, 2020, 2:17pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/3 "2020-03-10T14:17:00Z")

</div>

Hi,

Thanks for the reply

I did shutdown GenICam Browser etc before I started the c++ application. Is there a way to find out more inforamtion about the error as opposed to it failing to load?

Below is the .ini file. Let me know if you need anything else to help debug the problem

Thanks

JT

;utf8  
[SYSTEM]  
NumCameras=1  
CreateAutoIni=0  
AutoSwitchEnable=0  
DeviceUpdateTimeout=-1  
AutoConfigExecuted=1  
[Channel\_0]  
TLType=GEV  
TL=/opt/cvb/drivers/genicam/libGevTL.cti.1.2000.10  
Interface=SD::MAC-\>08-00-27-1B-6F-4B  
Device=::ID-\>00-01-0D-C3-96-2E::192.168.0.3  
NumBuffer=3  
PacketSize=4  
InterPacketDelay=-1  
PixelFormat=5  
RotateImage=0  
AccessMode=4  
Vendor=Teledyne DALSA  
Model=Nano-M2420  
UserName=S1171401  
SerialNumber=S1171401  
AttachChunk=0  
PacketResend=1  
HeartbeatTimeout=-1  
HeartbeatTimeoutMargin=-1  
MCMasterMode=0  
MCSession=224.64.16.1  
MCNoJoin=0  
UseTurboDrive=0  
NumConvertThreads=1

---

<div class="post-metadata">

**Author:** ![parsd](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/parsd/32/7_2.png) [@parsd](https://forum.commonvisionblox.com/u/parsd)\
**Post date:** [March 11, 2020, 12:48pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/4 "2020-03-11T12:48:11Z")

</div>

Hi,

the _ini_-file looks ok to me.

You could create a log via the _LogGUI_. See the documentation on how to configure it:

[https://help.commonvisionblox.com/NextGen/14.0/md\_theory\_of\_operation\_apps\_\_log\_g\_u\_i.html](https://help.commonvisionblox.com/NextGen/14.0/md_theory_of_operation_apps__log_g_u_i.html)

It is important that you save and start logging before you start the application as the log state is evaluated at load-time only.

You can then send the log to our support:

[https://www.stemmer-imaging.com/en-de/request-support/](https://www.stemmer-imaging.com/en-de/request-support/)

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [March 12, 2020, 2:33pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/5 "2020-03-12T14:33:15Z")

</div>

Once again, when it comes to errors when loading the driver whilst the GenICam browser works fine im always triggered to ask if there might be a 32/64 bit missmatch somewhere 😉

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [March 12, 2020, 2:55pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/6 "2020-03-12T14:55:22Z")

</div>

Maybe this applies to your problem as well:

[https://forum.commonvisionblox.com/t/cvbpy-with-pyinstaller/1079/3](https://forum.commonvisionblox.com/t/cvbpy-with-pyinstaller/1079/3)

---

<div class="post-metadata">

**Author:** ![JTraynor](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JTraynor](https://forum.commonvisionblox.com/u/JTraynor)\
**Post date:** [March 12, 2020, 3:59pm UTC](https://forum.commonvisionblox.com/t/error-loading-genicam-vin-file-on-ubuntu-16-04-running-in-virtualbox/1076/7 "2020-03-12T15:59:31Z")

</div>

I’ll run the LogGUI and see if it sheds any light on the problem - Thanks
