Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Any ideas on how to run the app without needing to install Linaja

  1. #11
    Junior Member
    Join Date
    May 2024
    Posts
    18
    When we changed double quotes, its now showing below one.

    C:\mtpl\vtinout\bin>vtinout -c "open database vtdatabase;use vt_employee; list first 10"

    C:\mtpl\vtinout\bin>*** Lianja runtime error(5058): Database 'vtdatabase' - The system cannot find the file specified.
    open database vtdatabase
    ^

    Our App is getting crashed when its actually going to look for the data from virtual table. We have also tried to keep the try catch to detect what causing issue to app, but that is also getting failed and we are not getting anything.

    Anyway of detecting this issue or any alternative which can help us to over come from this issue. because everything is working perfectly fine if the app installed on the maching where lianja is installed. we not at all even installing the developed code project. Maybe some connection configuration could have missing and after instaling lianja its satisfying needy thing and so let the app work smoothly?

  2. #12
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,371
    Blog Entries
    22
    What is the directory structure of C:\mtpl\vtinout\

    You can add a setup.prg file into your app and inside that you can check for the existence of your database and vt using

    databaseExists() and tableExists()

    also look in the log directory
    C:\mtpl\vtinout\log

    and let me see the contents of that.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #13
    Junior Member
    Join Date
    May 2024
    Posts
    18
    Here is the log file content

    set basedir to "C:\Users\conta\OneDrive\Desktop\lIANJA\vtinou t\"
    set libdir to "C:\Users\conta\OneDrive\Desktop\lIANJA\vtinout\bi n\library\"
    set datadir to "C:\Users\conta\OneDrive\Desktop\lIANJA\vtinout\da ta\"
    runtimedir=C:\Users\conta\OneDrive\Desktop\lIANJA\ vtinout\
    rootDirectory=C:\Users\conta\OneDrive\Desktop\lIAN JA\vtinout\
    appsDirectory=C:\Users\conta\OneDrive\Desktop\lIAN JA\vtinout\apps\
    dataDirectory=C:\Users\conta\OneDrive\Desktop\lIAN JA\vtinout\data\
    libDirectory=C:\Users\conta\OneDrive\Desktop\lIANJ A\vtinout\bin\library\
    cloudDirectory=C:\Users\conta\OneDrive\Desktop\lIA NJA\vtinout\cloudserver\
    PythonDirectory=C:\Users\conta\OneDrive\Desktop\lI ANJA\vtinout\python3
    There is 73 percent of memory in use.
    There are 8292264 total KB of physical memory.
    There are 2202612 free KB of physical memory.
    There are 10323880 total KB of paging file.
    There are 2481320 free KB of paging file.
    There are 2097024 total KB of virtual memory.
    There are 1463948 free KB of virtual memory.

  4. #14
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,371
    Blog Entries
    22
    That’s the problem right there, you changed all the directories in your app to use OneDrive.

    You will need to specify the --runtimedir command line switch to point to where you installed the app.

    Try it in a cmd window using the commands that you tested with before.
    Last edited by barrymavin; 2024-05-16 at 09:15.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #15
    Junior Member
    Join Date
    May 2024
    Posts
    18
    Let me show the exact break point

    - Database created successfully
    - Virtual tables created successfully
    - Fetching data from virtual table > when this step we are performing at that time application is getting closed/crashed.

    Same things are working if the system is having lianja installed. Not sure how to trace. We are keeping try catch but its still not capturing that.

  6. #16
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,371
    Blog Entries
    22
    What is your VT definition, and where is the VFP database located.

    Try it from a cmd window accessing your VT.
    Last edited by barrymavin; 2024-05-16 at 10:37.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Tags for this Thread

Bookmarks

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
  •  
Journey into the Cloud
Join us