Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 741
» Latest member: alexanderlewis
» Forum threads: 1,176
» Forum posts: 2,010

Full Statistics

Online Users
There are currently 236 online users.
» 0 Member(s) | 233 Guest(s)
Baidu, Bing, Facebook

Latest Threads
Step Up to the Plate: How...
Forum: Getting Started
Last Post: Innocent Sozonov
11-27-2026, 05:33 PM
» Replies: 0
» Views: 90
Understanding the Physics...
Forum: General
Last Post: rodeoneerer
11-27-2026, 03:02 AM
» Replies: 0
» Views: 108
Escaping Granny's Grasp: ...
Forum: General
Last Post: Anfisa Seleznyova
11-23-2026, 02:02 AM
» Replies: 0
» Views: 144
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:32 PM
» Replies: 0
» Views: 155
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:31 PM
» Replies: 0
» Views: 133
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:29 PM
» Replies: 0
» Views: 136
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:28 PM
» Replies: 0
» Views: 149
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:26 PM
» Replies: 0
» Views: 134
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:25 PM
» Replies: 0
» Views: 129
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:24 PM
» Replies: 0
» Views: 125

 
  Panic! cdbUsers table empty!
Posted by: Bizbuzz - 10-29-2020, 12:47 PM - Forum: Bug Reports - Replies (3)

Hi,

Been developing a system for a while now with mobile apps and PC/Mac software.

All my users seems to be gone in the cdbUsers table! All other tables (each user have 2 tables) are still there. What is this? 

Do you have logs or something to see when it was emptied? Could be somewhere in the latest 7 days this happened. Do you keep backups ?

Besides of that the LiveCloud Manager is working very slowly. UK region.

Br /John

Added. Maybe cdbUsers is not empty just unresponsive ? attached a screenshot from LiveCloud Manager trying to create user.



Attached Files
.png   Screenshot 2020-10-29 at 14.29.42.png (Size: 159.03 KB / Downloads: 5)

  BatchMerge
Posted by: stamatis - 10-16-2020, 04:57 PM - Forum: General - Replies (3)

Hi all,

Just been looking through the API and came across batchMerge. 
While this may be potentially quite useful, I found the documentation fairly impenetrable and difficult to ‘grok’. 
Does anyone have a high level overview of this and when it’s used?


  Query Operators "filter"
Posted by: miyaa - 10-14-2020, 01:38 AM - Forum: General - Replies (3)

Hai

i didn't find the "filter" function in the query. is it really not available?



Attached Files
.png   Screen Shot 2020-10-14 at 08.35.26.png (Size: 32.43 KB / Downloads: 3)

  help with query
Posted by: stamatis - 10-07-2020, 11:09 PM - Forum: General - Replies (3)

Hi all,
I’m trying to convert an existing project from a relational database.

I’m hoping I can get some help constructing a query that’s fairly straightforward in SQL...

In this scenario there are 3 tables:
- table 1 has a list of dates
- table 2 has encounter data that includes a foreign key for person and links to table 1 by date (table1.date = table2.date)
- table 3 has person data and links to table 2 with personID (table2.personID = table3.personID)

So basically selecting a date in from table 1 should retrieve all encounters in table 2 with the same date and in each retrieved result, the personID foreign key should retrieve person data from table 3 when presenting the data.

in SQL i’d just use a SELECT with JOIN statements to retrieve this in one go.

Is this feasible with liveCloud? Or would i need to construct an array running 2 separate queries?
Alternatively, should the data structure change to include all person data in the encounter table for example?

grateful for any pointers/suggestions...


  RESTapi for livecloud
Posted by: miyaa - 10-03-2020, 01:47 PM - Forum: General - Replies (1)

My customer considerations using LiveCloud is the limited RestApi so it will be difficult to connect some of the services we have built.
I hope this can be a feature.

Thanks


  there is no package in the subscription section
Posted by: miyaa - 10-02-2020, 02:55 AM - Forum: Bug Reports - Replies (4)

like the screenshot I attached.



Attached Files
.png   Screen Shot 2020-10-02 at 09.49.02.png (Size: 33.04 KB / Downloads: 7)
.png   Screen Shot 2020-10-02 at 09.48.49.png (Size: 96.11 KB / Downloads: 7)

  Truncated table names - feature request
Posted by: stamatis - 09-22-2020, 12:43 AM - Forum: General - Replies (3)

Hi LiveCloud team,

I may be missing a way to deal with this, but so far I can't see a way around this: 
Long table names are truncated (which is fine), but there is no way to see long table names in full within the LCM interface after creation. In a previous version, hovering over the table would show a tooltip with the table name concatenated with the tableID, but currently this shows me the tableID only.

The width of the Tables column is fixed. So other than redesigning everything (in this particular case, the table names match array names, which in turn are taken from data exported from a medical system), it relies on me semi-guessing the table name after it's been created.

Solutions could be to make the Table column resizable or have the table name show up in the tooltip again - but actually i am hoping the table name ± tableID could be put into the 'Data' header that sits above the key names as it serves no real purpose (and perhaps make it selectable so that either the name or ID can be copied for scripting etc).

I'm hoping this can be considered as a feature request.

A screenshot to illustrate:

[Image: file]

Many thanks for considering this...
Stam


Photo Weird LCM crash/hang at startup
Posted by: stamatis - 09-15-2020, 11:52 PM - Forum: Bug Reports - Replies (8)

Ok this hasn't happened before: 

I launch LCM and am first greeted with a missing SDK message in LCM. 
Then it tries to log in without me entering any text and it just hangs indefinitely - but can be quit/exited normally...

easier to show a video of it:
[Image: file]

any suggestions?


  adding a Login Card to an existing Application
Posted by: clarencemartin - 09-11-2020, 07:28 PM - Forum: General - Replies (3)

I struggled with this task, so I created another way of doing this.
This is a two-step process.
The first thing that I did was to create a new project called "Generic Login.
I did not add any keys when I did this. The New Project that was created had only 2 keys - cdbUsers and cdbBlobs. and that was all.
I saved this project.
Now, to incorporate this card into the existing project, I opened LiveCode with the existing project that needed a Login Card.
Next, I opened the Generic Login stack. The next step jus requires that you open the Message Box in LiveCode. Make sure that the Login Card is opened. Type "copy this card to the stack "target stack" 
The Login Card is now loaded into your Project that needs the login Card.
Once the Generic Login Stack is created, you no longer need to do this step. You will always have this stack.
This does not need to be done on a New Project, becuase the LogIn is included in creating a New Project in the LCM.

I am not sure if this is the most efficient method and I am open to suggestions.


  Ongoing issues with server access
Posted by: stamatis - 09-07-2020, 03:26 PM - Forum: Bug Reports - Replies (1)

Hi LiveCloud team,

I'm based in London and have set LCM's region to UK-London.

Performance had been a bit laggy but acceptable. Recently i've been experimenting with different schemas to see how best to store data for a particular project in LiveCloud and have created 3 different iterations of a table with frequent changes up to now in the schema.

However increasingly i'm getting errors where LCM does not refresh, it fails to add tables and fails to add keys. If i keep persisting it eventually works. Or sometimes requires restarting LCM to work and then it it's starts failing again. I was unable to delete a table that couldn't be modified at all, eventually managed it in code using cdb_deleteTable.

I've checked that all communication is definitely getting through my software firewall (Little Snitch 4.5.2, on MacOS Catalina 10.15.6).

It's started generating error messages advising me i should contact Canela, so here i am...
These errors occur any time i choose one of the tables, try to refresh a table, try to add a key or try to add a table. The errors are not exactly reproducible but seem to be increasing in frequency.
[Image: file]


This error also shows up when trying to add/modify tables
[Image: file]
As a side note, my firewall is flagging up several warnings because the code signature for  LiveCloud Manager is not valid (not signed).

[Image: file]

(FWIW, the 'London' servers are in Maidenhead, a good 30 miles outside London -- I'm sure this isn't an issue, but calling it London is a stretch! Also not sure why it's connecting to servers in LA and Washington...)





In trying to track down the source of error, i checked the console in case LCM output any diagnostics there. It doesn't it seems, but it did generate number of diagnostic logs, generated by the wakeups, apparently averaging 2332 wakeups per second -- not sure what that means, but here is a sample of the log text:
Quote:Date/Time:        2020-09-07 15:29:45 +0100
End time:         2020-09-07 15:30:04 +0100
OS Version:       Mac OS X 10.15.6 (Build 19G2021)
Architecture:     x86_64h
Report Version:   29
Incident Identifier: B1C97FBB-8219-4F5E-A3BE-29672CE9BA66

Data Source:      Microstackshots
Shared Cache:     0x8824000 A58FA787-1403-34AF-813D-C380C25A1080

Command:          LiveCloudManager
Path:             /Applications/LiveCloudManager.app/Contents/MacOS/LiveCloudManager
Identifier:       com.canelasoftware.LiveCloudManager
Version:          LiveCloudManager (LiveCloudManager)
PID:              1559

Event:            wakeups
Action taken:     none
Wakeups:          45001 wakeups over the last 19 seconds (2332 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Wakeups limit:    45000
Limit duration:   300s
Wakeups caused:   45001
Wakeups duration: 19s
Duration:         19.29s
Duration Sampled: 14.74s
Steps:            3

Hardware model:   MacBookPro13,3
Active cpus:      8

Fan speed:        2158 rpm

Heaviest stack for the target process:
  1  thread_start + 15 (libsystem_pthread.dylib + 7051) [0x7fff6fbddb8b]
  1  _pthread_start + 148 (libsystem_pthread.dylib + 24841) [0x7fff6fbe2109]
  1  tsNetPollThreadRoutine(void*) + 775 (tsNet + 83113) [0x10bb8c4a9]
  1  event_base_loop + 1271 (tsNet + 1526743) [0x10bcecbd7]
  1  poll + 10 (libsystem_kernel.dylib + 29654) [0x7fff6fb253d6]


Powerstats for:   LiveCloudManager [1559]
UUID:             BD594B58-8203-4D07-98A5-6A9CB3921BF9
Path:             /Applications/LiveCloudManager.app/Contents/MacOS/LiveCloudManager
Architecture:     x86_64
Footprint:        153.12 MB
Start time:       2020-09-07 15:29:49 +0100
End time:         2020-09-07 15:30:04 +0100
Num samples:      3 (100%)
CPU Time:         0.823s
Primary state:    2 samples Frontmost App, Non-Suppressed, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, Override 

Is this something to be concerned about?