Code center > Bugs and fixes

Duh, IM graph error under Wine/Linux OPEN

(1/3) > >>

MacadamiaNuts:
I know, I know, it would be too much to wish the VB branch worked flawlessly under Linux.

Actually, it does, but for the Internet Mode. The 43e - 43j versions throw an 'ActiveX error: could not create object'  when they update the internet population graphs. Normal graphs don't throw any error, nor does 43d -tho it drops the connection all the time-,

I still remember a bit from my VB days. Does the new graph use a control that wasn't being used before? I could look for a missing or better dll if I know what it needs.

Otherwise, I guess I'll need a hardcoded workaround, like a text mode population statistic or an option to disable the graph.

Or a Gambas port.  

EricL:
The data in the internet mode population graph comes from "population" files passed up and downloaded from the FTP server.  Each sim uploads their file, representing the organisms they have and then downloads others from the other sims.  The issue you are seeing is likely a consequence of the file system handling code I use in the graph to create and read these files, probably when the code declares a varaible of type FileSystemObject.   I'm not using anything special, no add-in object or special ActiveX control.  Just the stuff that comes with the VB runtime, but I suspect this is the issue.

MacadamiaNuts:
Thanks! That was the good clue!  

This is how it's fixed:

- get a copy of scrrun.dll and place it at the system32 folder under wine.
- go to the folder in the terminal and write wine regsrv32 scrrun.dll

scrrun is the library that provides the FileSystemObject.

May I add the instructions to install and run DB under linux to the bottom of the Wiki page?
http://www.darwinbots.com/WikiManual/index...on_Instructions

Numsgil:
By all means, please do.  I'm actually surprised that it works at all under Linux, I figured long ago that it was a lost cause.  Kudos to the linux code monkeys who managed to get VB programs working

MacadamiaNuts:
Mmh, it seems able to run offline without crashing,but it won't upload bots in the out folder and fails to download the population files.

So... err...

Could the bot sharing go in a portable stand-alone C mini-application? So the mini-app manages the files and the main executable, on internet mode, just checks the folders. I guess that C module could be latter turned into a DLL for the C fork, so it wouldn't be wasted work after all.

Navigation

[0] Message Index

[#] Next page

Go to full version