question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing 'proxy' module

See original GitHub issue

While attempting to run HDFCompass with the last PyPI release (3.2.0) of pydap, I noticed that the proxy module is gone together with ProxyArray class. Can you confirm it? If yes, is BaseType class the ‘natural’ substitute of ProxyArray?

The ProxyArray was imported here: https://github.com/HDFGroup/hdf-compass/blob/develop/hdf_compass/opendap_model/model.py#L19

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lalibertecommented, Apr 19, 2017

@giumas I’ve looked at your code and my opinion is that pydap proxy objects should not be assumed to be part of the public API. The obvious solution would be to rely only on the DatasetType object output from the open_url() function. If the function exits successfully, this object should contain all of the OPeNDAP dataset attributes and properly instantiated data proxy objects.

Moreover, it would seem to me that the easiest fix would be change https://github.com/HDFGroup/hdf-compass/blob/develop/hdf_compass/opendap_model/model.py#L235 to

self._data = new_dset[new_key].data

and line https://github.com/HDFGroup/hdf-compass/blob/develop/hdf_compass/opendap_model/model.py#L214-L215 should probably be removed.

0reactions
ax3lcommented, Feb 16, 2018

This is the last backend that is missing to ship the py3 branch in hdf-compass for a new release, afaik: https://github.com/HDFGroup/hdf-compass/issues/186

We are talking about

which can be tested as follows when you clone the py3 branch of hdf-compass:

python3 -m unittest hdf_compass.opendap_model.test

Issues are a missing member .setdefault('') which only existed in ArrayProxy and resulting key errors in access to “root” [''].

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing proxy class 'Drupal\features\ProxyClass ...
Using the lastest Drupal 8 (-dev), when I install Drupal using a custom profile that contains some features, I have this error :...
Read more >
Missing proxy option with RMK modules - Recruiting Marketing
When using Career Site Builder, the "Proxy Now" option is missing from the header menu: Image/data in this KBA is from SAP internal...
Read more >
Question - Apache module proxy_html missing? - Plesk Forum
Apache in plesk have so many installed proxy-modules proxy ... Does it have a specific reason that module "proxy_html" is missing here?
Read more >
Missing module to create HTTP Proxy · Issue #867 - GitHub
SUMMARY While it's possible to set a default proxy for the foreman instance, it's not possible to create a HTTP Proxy for that...
Read more >
The kernel-module-rpmsg-proxy is missing - Xilinx Support
It seems the module kernel-module-rpmsg-proxy is missing from the petalinux 2018.3 rootfs configuration menu. Any workaround?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found