Giter Club home page Giter Club logo

eegnas's People

Contributors

adir-team avatar erap129 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eegnas's Issues

pymongo db erros

Hi, i have installed the requirements from requirements.txt and tried to run the code on experiment BCI_IV_2a, with the comand python EEGNAS_experiment.py, but i got some of the following errors:

2020-05-29 23:45:22,147 INFO : Running command 'main'
2020-05-29 23:45:52,606 DEBUG : Stopping Heartbeat
2020-05-29 23:45:52,606 ERROR : Failed after 0:00:30!
2020-05-29 23:46:22,633 ERROR : Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/sacred/run.py", line 235, in __call__
    self._emit_started()
  File "/usr/local/lib/python3.6/dist-packages/sacred/run.py", line 333, in _emit_started
    _id=self._id,
  File "/usr/local/lib/python3.6/dist-packages/sacred/observers/mongo.py", line 223, in started_event
    self.run_entry["experiment"]["sources"] = self.save_sources(ex_info)
  File "/usr/local/lib/python3.6/dist-packages/sacred/observers/mongo.py", line 406, in save_sources
    file = self.fs.find_one({"filename": abs_path, "md5": md5})
  File "/usr/local/lib/python3.6/dist-packages/gridfs/__init__.py", line 302, in find_one
    for f in self.find(filter, *args, session=session, **kwargs):
  File "/usr/local/lib/python3.6/dist-packages/gridfs/grid_file.py", line 827, in next
    next_file = super(GridOutCursor, self).next()
  File "/usr/local/lib/python3.6/dist-packages/pymongo/cursor.py", line 1156, in next
    if len(self.__data) or self._refresh():
  File "/usr/local/lib/python3.6/dist-packages/pymongo/cursor.py", line 1050, in _refresh
    self.__session = self.__collection.database.client._ensure_session()
  File "/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py", line 1810, in _ensure_session
    return self.__start_session(True, causal_consistency=False)
  File "/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py", line 1763, in __start_session
    server_session = self._get_server_session()
  File "/usr/local/lib/python3.6/dist-packages/pymongo/mongo_client.py", line 1796, in _get_server_session
    return self._topology.get_server_session()
  File "/usr/local/lib/python3.6/dist-packages/pymongo/topology.py", line 485, in get_server_session
    None)
  File "/usr/local/lib/python3.6/dist-packages/pymongo/topology.py", line 209, in _select_servers_loop
    self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: 132.72.81.248:27017: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/sacred/run.py", line 429, in _final_call
    getattr(observer, method)(**kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sacred/observers/mongo.py", line 249, in failed_event
    self.final_save(attempts=1)
  File "/usr/local/lib/python3.6/dist-packages/sacred/observers/mongo.py", line 387, in final_save
    os.makedirs(self.failure_dir, exist_ok=True)
  File "/usr/lib/python3.6/os.py", line 205, in makedirs
    head, tail = path.split(name)
  File "/usr/lib/python3.6/posixpath.py", line 107, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

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.