You are here

Simile 4.4p1 and Vista

Hi everybody,

I am trying to run models in Simile 4.4p1 under MS Vista. I must specify that my computer is in Japanese language.

The installation went fine, creating the model too, but when I try to run it, I get the following error:

An exception occurred while building this model. It generated this message: existence_error(open(C:/Users/kashim/My Documents/My Simile files/sim/Desktop1/model.cpp,write,_224898),1,file,c:/users/kashim/my documents/my simile files/sim/desktop1/model.cpp,).

It doesn't come from the model (it is just a single stock initialized to 0) because I tried with others and always get this problem. Has somebody got an idea where it could come from?

Thanks a lot in advance for your help.

Best regards,

Chris.

------------ Here is the full message if it can help.

couldn't open "C:/Users/kashim/My Documents/My Simile files/Desktop1.smx": no such file or directory
couldn't open "C:/Users/kashim/My Documents/My Simile files/Desktop1.smx": no such file or directory
    while executing
"open $state(file) { RDONLY }"
    ("file" arm line 2)
    invoked from within
"switch -- $state(value) {
        file {
            set fd [open $state(file) { RDONLY }]
            fconfigure $fd -translation binary

           ..."
    (procedure "encoding" line 25)
    invoked from within
"encoding $token"
    (procedure "mime::buildmessageaux" line 38)
    invoked from within
"mime::buildmessageaux $token "
    invoked from within
"buildmessage $part"
    ("foreach" body line 3)
    invoked from within
"foreach part $state(parts) {
                        append result "\r\n--$boundary\r\n"
                        append result [buildmessage $part]
  ..."
    ("default" arm line 2)
    invoked from within
"switch -glob -- $state(content) {
                message/* {
                    append result "\r\n"
                    foreach part $state(parts) ..."
    ("parts" arm line 7)
    invoked from within
"switch -- $state(value) {
        file {
            set closeP 1
            if {[info exists state(root)]} {
        # FRINK: nocheck
                vari..."
    (procedure "mime::buildmessageaux" line 76)
    invoked from within
"mime::buildmessageaux $token "
    invoked from within
"mime::buildmessage $multiT"
    (procedure "ReportProblem" line 23)
    invoked from within
"ReportProblem unsaved {C:/Users/kashim/My Documents/My Simile files/Desktop1.smx} {An exception occurred while building this model. It generated this ..."
    invoked from within
".bprob-1731489503.buttons.report invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 24)
    invoked from within
"tk::ButtonUp .bprob-1731489503.buttons.report"
    (command bound to event)

Forums: 

First thing is to check that you have full read and write access to "C:/Users/kashim/My Documents/My Simile files".

Jonathan

 

Hi Jonathan,

Thanks for the quick answer.

Yes, I have full rw access on the folder. In fact, I even tried running Simile in Administrator mode, and with Win2k compatibility, but it doesn't seem to solve the problem (the results of this procedure are maybe irrelevant because even if Simile itself is run using those attributes, I don't know if those are passed to the external programs called by Simile). I also checked by adding/editing/deleting files manually using the "kashim" user account, and it works, so there is definitely no read/write restriction.

From the error message that I posted, are you able to know which component of Simile outputs this error? I guess it must come from an external executable, doesn't it? If so, I could try setting the "Run as Admin" and "Win2k compatibility" attributes on it too.

Best regards,

Chris.

EDIT: A potential source of the problem might be the fact that Vista doesn't really have physically a "C:\Users" directory. In the Japanese version, this directory is in fact "C:\ユーサー" (dunno if it will be displayed correctly), but there must be some translation mechanism, because typing "C:\Users" in Explorer displays correctly the content of "C:\ユーサー" . Moreover, I tried adding a link from "C:\Users" to "C:\ユーサー" and the problem still happened.

Hi Chris,

Simile has only been fully compatible with Vista from version 4.8 (released january 2007) onwards. If you have version 4.4, you can upgrade to version 4.9 for free via the download area. This will solve your problem. You can run models in 'debug' mode with your current version.

    --Jasper