Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 29 2020 23:01

    dependabot[bot] on npm_and_yarn

    (compare)

  • Apr 29 2020 23:01
    dependabot[bot] closed #338
  • Apr 29 2020 23:01
    dependabot[bot] commented #338
  • Apr 29 2020 23:01
    dependabot[bot] labeled #340
  • Apr 29 2020 23:01
    dependabot[bot] opened #340
  • Apr 29 2020 23:01

    dependabot[bot] on npm_and_yarn

    Bump jquery from 1.7.3 to 3.5.0… (compare)

  • Nov 11 2019 15:22
    stripathy opened #339
  • Nov 11 2019 15:22
    stripathy labeled #339
  • Oct 23 2019 00:38
    dependabot[bot] labeled #338
  • Oct 23 2019 00:38
    dependabot[bot] opened #338
  • Oct 23 2019 00:38

    dependabot[bot] on npm_and_yarn

    Bump jquery from 1.7.3 to 3.4.1… (compare)

  • Sep 24 2018 23:04
    rgerkin opened #337
  • Sep 24 2018 23:04
    rgerkin labeled #337
  • Jan 15 2018 21:48
    rgerkin closed #335
  • Jan 15 2018 21:48
    rgerkin commented #335
  • Jan 14 2018 22:43
    rgerkin commented #335
  • Jan 14 2018 22:43
    rgerkin labeled #335
  • Jan 09 2018 23:38
    rgerkin opened #336
  • Jan 09 2018 23:37
    rgerkin opened #335
  • Apr 24 2017 22:23
    stripathy reopened #334
ystartsev
@ioctaptceb
progress
Shreejoy Tripathy
@stripathy
great
feel free to keep posting errors and i'll help you debug them
ystartsev
@ioctaptceb
ImportError: cannot import name 'actions'
i will need to step out for a moment
Shreejoy Tripathy
@stripathy
gah, i have that same error on my local machine and was stuck with it
ystartsev
@ioctaptceb
excellent
ill be back in 5 minutes
Shreejoy Tripathy
@stripathy
ok
Shreejoy Tripathy
@stripathy
you need to do this: # If error: Cannot import module actions: go to django/contrib/admin/sites.py and delete "from django.contrib.admin import actions" and add "from django.contrib.admin.actions import delete_selected"

Also same file: line 50 remove "actions" from the line

ystartsev
@ioctaptceb
hi back
ok i will take a look
ystartsev
@ioctaptceb
making more progress
looks good
now i just need to import the mysql database you mentioned
Shreejoy Tripathy
@stripathy
make sure you do this first pip install mysql-python
have you used mysql before?
ystartsev
@ioctaptceb
i have but not for python
i noticed that it installs with the shell scrip
Shreejoy Tripathy
@stripathy
right
you need to go into mysql and create a new database called "neuroelectro"
and keep track of your user and password privileges
and then load the database i sent you into the mysql database you just created
ystartsev
@ioctaptceb
hm, ok. i think this will need to be continued tomorrow or another day
as mysql is buggy on arch, and has been replaced by maria, a similar mysql database
and i need a bit of time to wrap my head around the config
But you already got me farther than I was, so thanks for that
I will ask again once I get beyond the quirks (or if i switch to ubuntu)
Shreejoy Tripathy
@stripathy
sounds good
let me know if you have any more quesitons or pesky bugs
ystartsev
@ioctaptceb
super
ill sign off for now, getting a bit late on my end
i will be in touch
thanks for the help gagin
again*
Shreejoy Tripathy
@stripathy
bye! and nice meeting you
Shreejoy Tripathy
@stripathy
@dtebaykin how to get ipython notebook with django models: http://andrewbrookins.com/python/using-ipython-notebook-with-django/
ystartsev
@ioctaptceb
hey guys, ive had a bit more success in running the app - it now starts
ystartsev
@ioctaptceb
but it has issues importing models
line 4 of admin.py
it also has this error
ttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
ystartsev
@ioctaptceb
Exception Type: ImportError
Exception Value:
No module named 'models'
Exception Location: /home/io/sites/neuroelectro_org/neuroelectro/admin.py in <module>, line 4
Shreejoy Tripathy
@stripathy
@ioctaptceb it's strange the app starts but you can't import the models
in the terminal, try: "python manage.py shell" instead of "python manage.py runserver"
Shreejoy Tripathy
@stripathy
then try importing the models using : "import neuroelectro.models as m"
Shreejoy Tripathy
@stripathy
Shreejoy Tripathy
@stripathy
@dtebaykin info on converting talbes from myisam to innodb: http://kvz.io/blog/2010/04/27/convert-all-tables-to-innodb-in-one-go/
Dmitry Tebaykin
@dtebaykin
@stripathy Try the command in mysql: SELECT table_name, engine FROM information_schema.tables where table_schema = 'neuroelectro_test';
use table name neuroelectro instead of neuroelectro_test though