Jump to content

Mark Derbecker

Seeq Team
  • Posts

    72
  • Joined

  • Last visited

  • Days Won

    16

Mark Derbecker last won the day on December 15 2023

Mark Derbecker had the most liked content!

1 Follower

Personal Information

  • Company
    Seeq Corporation
  • Title
    Chief Product Officer
  • Level of Seeq User
    Seeq Super-User

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mark Derbecker's Achievements

Contributor

Contributor (5/14)

  • Dedicated
  • Reacting Well
  • Collaborator Rare
  • First Post
  • Week One Done

Recent Badges

21

Reputation

4

Community Answers

  1. Hi Ryan, In the latest versions of SPy (use v190.2 or later) you can supply a "Condition" column in your "data" DataFrame that corresponds to an index entry in your "metadata" DataFrame, and this combination will allow you to push multiple conditions in spy.push() call. It should be faster because SPy will push the conditions in parallel. Take a look at the docs here for more info: https://python-docs.seeq.com/user_guide/spy.push.html#pushing-condition-and-capsule-data
  2. @Jess that would indicate that the workbook you're trying to push to hasn't been shared with Write privileges with whatever user is executing the `spy.push()` command. If you're still having trouble after checking the access control, please include the call stack of the error so we can troubleshoot further.
  3. Yes-- this bug is addressed in SPy v190.5, which will be released to PyPI by the end 2023.
  4. @Johannes Sikstrom I think this is a bug in the SPy framework. It's not yet obvious what the problem is by looking at your code, I think I will need to see it in action. I will log a support ticket on your behalf and follow up with you there.
  5. Hi Chris, (I am assuming you are not using Seeq Data Lab, please correct me if I'm wrong.) Seeq's SPy library is recommended for Python scripts, as it contains higher-level functions for common use cases, and it employs Pandas DataFrames as the primary data structure for input and output. seeq-spy is a "wrapper" around the seeq REST API Python SDK. To use SPy in Seeq Server R62.0.9, first install the seeq module like so: pip install seeq~=62.0 Then install the latest version of SPy: pip install seeq-spy Then use the documentation for SPy found here: https://python-docs.seeq.com/user_guide/Tutorial.html
  6. I'm not sure-- you'll have to step through the script and try to discern where that value is being written.
  7. > It looks like something gets stuck anytime you write to UIConfig for any item that carries over to all items? I wouldn't expect so-- otherwise we'd have a lot of problems created by writing UIConfigs.
  8. Correct: The problem is not related to the formula, the problem is that an invalid UIConfig property was somehow posted. You can fix it by posting the valid UIConfig with the capitalization fixed.
  9. The problem is that `FALSE` is capitalized, which is invalid JSON. It needs to be `false`. I plugged it into JSON Pretty Print:
  10. OK as I suspected, I think there's a JSON syntax error in the UIConfig property for the problematic item. Go into the API Reference, then go to `GET /items/{id}` and copy/paste the item's ID there. You should get back a bunch of JSON that includes the UIConfig property. Can you copy/paste that into this thread?
  11. > When I try to open the item properties, the worksheet seems to crash and reverts to the home folder. This is the clue we'll need to drill down on. Pat if you're using Chrome, open up the Developer Tools with Ctrl+Shift+I. Then click on the Console tab, which will allow us to see any JavaScript errors. Now recreate this problem (where it crashes & reverts to the home folder), and I'm guessing there will be some errors that show in red in the Console. Please copy & paste them into a reply to this thread (be generous with how much you copy/paste, the more info we have the better).
  12. That's the number of unique items, and it includes lots of things: - Worksheets - Worksteps (these are the individual worksheet "states" that define the displayed items and all other worksheet configuration at a particular point in time) - Calculated items (signals/conditions/scalars/metrics/histograms) -- this referred to as the "item inventory" - Journal text - Journal images The things that generally take a long time are the Calculated items. You can try specifying `include_inventory=False` during your push to see if that's a lot faster.
  13. Hi Willem, what that code ends up doing is creating a "blank" Topic object (on the first line) rather than pulling the existing Topic from Seeq. As a result, you'll always be overwriting what the other code pushes. So do this at the beginning instead: workbooks = spy.workbooks.pull({'ID': '<id_of_workbook>'}) topic = workbooks['RPB-4 performance'] One thing to note however is that add_image() is going to add on to the existing Topic Document, and so you may get an endless addition of images, which is also probably not what you want. Is there any way for you to get these two separate pieces of code to execute at the same time?
  14. Pat, I believe I've found the problem, and it looks like SPy is incorrectly throwing an error. Actually, the operation is completely successful, and the journal links should work. Can you confirm that? I'll fix the error-throwing problem.
×
×
  • Create New...