Comments (3)
Yes, I've tried removing all the cython generated code and the shared object and recompiling it all (since I have been going back and forth between 2.7 and 3.4).
from arctic.
the objdump of the shared lib does show the symbol in the procedure linkage table so I'm not sure what the issue is. Perhaps its problem linking in the correct libraries?
The commands that build and link the SO are:
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/bryant/anaconda2/envs/arctic/include/python3.4m -c src/_compress.c -o build/temp.linux-x86_64-3.4/src/_compress.o -fopenmp
and
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/bryant/anaconda2/envs/arctic/include/python3.4m -c src/lz4.c -o build/temp.linux-x86_64-3.4/src/lz4.o -fopenmp
and
gcc -pthread -shared -L/home/bryant/anaconda2/envs/arctic/lib -Wl,-rpath=/home/bryant/anaconda2/envs/arctic/lib,--no-as-needed build/temp.linux-x86_64-3.4/src/_compress.o build/temp.linux-x86_64-3.4/src/lz4.o build/temp.linux-x86_64-3.4/src/lz4hc.o -L/home/bryant/anaconda2/envs/arctic/lib -lpython3.4m -o /home/bryant/arctic/arctic/_compress.cpython-34m.so -fopenmp
Its also worth nothing that the compilation of the compress C file did generate this:
src/_compress.c: In function ‘__pyx_f_6arctic_9_compress_to_cstring_array’:
src/_compress.c:1838:17: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration]
__pyx_t_4 = PyString_AsString(__pyx_t_3); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = LINE
from arctic.
I actually figured it out. Another case of the string type in Python3 being replaced with the unicode string in Python3. This resulted in a lot of changes in the C-API. I'll leave this open until I have the pull request for Python3 support ready just in case someone else hits this.
from arctic.
Related Issues (20)
- Impossible to asignate datetime index
- Migrating existing tickstore to ArcticDB HOT 3
- Update tests to use MongoDB 4.4
- delete_library does not delete the data file in the folder
- AttributeError: 'Timestamp' object has no attribute 'astype'
- MongoDB 4.2 EOL April 2023 - What's Next? HOT 8
- Dask integration for tickstore
- arctic.exceptions.QuotaExceededException: Mongo Quota Exceeded: xxx 10.366 / 10 GB used HOT 1
- Index Monotonic Sort Bug in class DateChunker
- best practice usage HOT 1
- Missing last chunk in CHUNK_STORE HOT 1
- argument of type 'NoneType' is not iterable (when updating) HOT 1
- When to upgrade to python3.10? HOT 1
- circleci build container new Unix version breaks mongo install HOT 1
- Test arctic with mongodb 4.4 HOT 1
- VersionStore delete old snapshots very slow with large numbers of snapshots HOT 1
- Versionstore: Arctic automatically assigns index a name - Perhaps needs some warning HOT 1
- Java interface (JDBC) support HOT 1
- using the numpy no more than 1.18.5. This will cause issue when work with other libraries, for example matplotlib. HOT 1
- "AttributeError: 'NoneType' object has no attribute 'append'" using 4 or more threads. Fewer threads works fine. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arctic.