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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive