Giter Club home page Giter Club logo

invenio-demosite's People

Contributors

crepererum avatar drjova avatar egabancho avatar greut avatar jirikuncar avatar jma avatar kaplun avatar kneczaj avatar lnielsen avatar pxke avatar samihiltunen avatar tiborsimko avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

invenio-demosite's Issues

Cannot load demosite

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'

collections: portalbox text overflow

Hi guys,
I installed the demo site and in home page, in right bar, the text doesn't respect the width of the box.
This css seems to fix the issue:

.panel-body {
word-wrap: break-word;
}

I don't understand where the system save the css. So I publish the fix here. :)
Leo

Before:
before

After:
after

create new demo record for data set

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".

installation: issue with install_requires

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?

installation: no module named circulation upon demosite create

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

deposit: improve file upload workflow

SCENARIO:

  • user creates a new submission and fill mandatory fields
  • user clicks on choose files and choose a file
  • user click on submit

RESULT:
The new created submission does not have any document even though the user chose a document.

PROPOSED SOLUTIONS:

  1. Display a popup warning if the user chose a file without uploading it.
  2. Always upload documents when clicking on submit. We could then remove the start upload button.
  3. Slight design improvements: the progress bar is not explicit. A user does not understand that it is related to upload. It only seems to be a grey rectangle. We can add a 0% or "not uploaded" inside. The 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.