Python Node giving throwing up an error I don't understand
When I try to run my python script, it throws this error:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/home/domo/domomagic/io.py", line 17, in read_dataframe
return pd.DataFrame(read_array_dict(input_name))
File "/home/domo/domomagic/io.py", line 26, in read_array_dict
d[array_definition['name']] = __read_array__(path, array_definition['dtype'], n)
File "/home/domo/domomagic/io.py", line 83, in __read_array__
return np.memmap(path, dtype=dtype, shape=(n,))
File "/opt/conda/envs/legacy/lib/python3.7/site-packages/numpy/core/memmap.py", line 264, in __new__
mm = mmap.mmap(fid.fileno(), bytes, access=acc, offset=start)
ValueError: cannot mmap an empty file
I tried googling the error but still can't seem to understand it as those stackoverflow occurrences seem specific to their situation and not relating to domo. Thanks!
Comments
-
Any ideas?
0 -
Hm, it is very hard to know what you're doing from just the error logs. Can you show us any of the script you wrote? Including packages, but perhaps delete the sensitive stuff like credentials?
**Say "Thanks" by clicking the "heart" in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
The thing here is that nodes are not like arrays which are stored sequentially in memory. Instead, it is likely to find them at different memory segments, which you can find by following the pointers from one node to the next.
This can be a little bit tricky since this type of topic is considered a Data Structure. In other words, can be described as trees. To understand more about this, you will need to take a look at the following link: https://pypi.org/project/node/. Also, I will recommend you to share your code with us to see if anyone from here can help you to figure it out how you will need to write your code.
Cheers!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 618 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 741 Beast Mode
- 58 App Studio
- 40 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive