inveniosoftware-attic / invenio-demosite Goto Github PK
View Code? Open in Web Editor NEWInvenio demo site overlay
Home Page: https://invenio-demosite.readthedocs.io
License: GNU General Public License v2.0
Invenio demo site overlay
Home Page: https://invenio-demosite.readthedocs.io
License: GNU General Public License v2.0
Ran 1095 tests in 499.200s
FAILED (failures=32, errors=684, skipped=115)
(from travis)
Demosite loading is currently failing with:
$ inveniomanage records create -t marcxml < invenio/testsuite/data/demo_record_marc_data.xml
[...]
ImportError: import_string() failed for 'invenio_demosite.base.recordext.functions.sync_authors'. Possible reasons are:
- missing __init__.py in a package;
- package or module path not included in sys.path;
- duplicated package or module name taking precedence in sys.path;
- missing module, class, function or variable;
Debugged import:
- 'invenio_demosite' found in '/home/skaplun/.virtualenvs/invenio/src/invenio-demosite/invenio_demosite/__init__.pyc'.
- 'invenio_demosite.base' found in '/home/skaplun/.virtualenvs/invenio/src/invenio-demosite/invenio_demosite/base/__init__.pyc'.
- 'invenio_demosite.base.recordext' found in '/home/skaplun/.virtualenvs/invenio/src/invenio-demosite/invenio_demosite/base/recordext/__init__.py'.
- 'invenio_demosite.base.recordext.functions' found in '/home/skaplun/.virtualenvs/invenio/src/invenio-demosite/invenio_demosite/base/recordext/functions/__init__.py'.
- 'invenio_demosite.base.recordext.functions.sync_authors' not found.
Original exception:
ImportError: 'module' object has no attribute 'sync_authors'
Authors are not saved during the deposit article workflow.
It would be good to provide some documentation describing the structure of the service repository overlay.
In order to test new data visualisation tools, it would be good to create a new demo record with attached zip files containing public data sets. This record could then be used in various test cases related to data previewing and visualising.
For example, one could take world population figures from http://en.wikipedia.org/wiki/World_population
P.S. The new record could be part of an existing collection, like Reports, or we can create a new collection called "Data".
The latest commit b53c743 introduced an error on my local installation:
$ pip install -r requirements.txt
Obtaining file:///home/jlavik/envs/pu/src/invenio-demosite (from -r requirements.txt (line 12))
Running setup.py (path:/home/jlavik/envs/pu/src/invenio-demosite/setup.py) egg_info for package from file:///home/jlavik/envs/pu/src/invenio-demosite
error in Invenio-Demosite setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Complete output from command python setup.py egg_info:
error in Invenio-Demosite setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/jlavik/envs/pu/src/invenio-demosite
Storing debug log for failure in /home/jlavik/.pip/pip.log
Is the ~
valid?
article workflow doesn't have collections
Did a clean install:
$ inveniomanage demosite populate --packages=invenio_demosite.base
********************************************************
** WARNING: You are going to override data in tables! **
********************************************************
Please confirm by typing 'Yes, I know!': Yes, I know!
>>> Going to load demo records...
>>> Demo records loaded successfully.
>>> You can define your own post handler for `demosite populate`
>>> Loading demosite data for BibCirculation ...
>>> FAIL: data has not been loaded No module named circulation
SCENARIO:
choose files
and choose a filesubmit
RESULT:
The new created submission does not have any document even though the user chose a document.
PROPOSED SOLUTIONS:
start upload
button.start upload
button could also be more visible.Another problem is the save
button which saves everything except the files which have not been uploaded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.