Stream: new members

Topic: Interest in Doc roles outside of GSoD


view this post on Zulip Sean (May 21 2019 at 22:20):

How many of you are interested in taking on a documentation project regardless of GSoD? We have a number of leadership roles and projects that can be assigned if people are interested in helping improve BRL-CAD and they don't get selected. We can only accept one person into the GSoD program for the paid position, but I'm more than willing to mentor anyone that is interested regardless.

view this post on Zulip Chetan Shinde (May 22 2019 at 13:59):

How many of you are interested in taking on a documentation project regardless of GSoD? We have a number of leadership roles and projects that can be assigned if people are interested in helping improve BRL-CAD and they don't get selected. We can only accept one person into the GSoD program for the paid position, but I'm more than willing to mentor anyone that is interested regardless.

Please count me in Sean! :grinning:

view this post on Zulip Chetan Shinde (May 31 2019 at 16:08):

How many of you are interested in taking on a documentation project regardless of GSoD? We have a number of leadership roles and projects that can be assigned if people are interested in helping improve BRL-CAD and they don't get selected. We can only accept one person into the GSoD program for the paid position, but I'm more than willing to mentor anyone that is interested regardless.

Please count me in, Sean! :grinning:

Sean, when can we get started?

view this post on Zulip Sean (May 31 2019 at 17:44):

Glad to hear the enthusiasm @Chetan Shinde. Let's start now. We can continue this discussion on a new thread.

view this post on Zulip Sean (Jun 03 2019 at 18:03):

@Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

view this post on Zulip Chetan Shinde (Jun 04 2019 at 21:06):

Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

Sure i am highly interested in it as well sean!

view this post on Zulip Chetan Shinde (Jun 04 2019 at 21:09):

Glad to hear the enthusiasm Chetan Shinde. Let's start now. We can continue this discussion on a new thread.

Really sorry for a late reply.. was visiting a remote place in india, was facing network issues :see_no_evil: Will work on it with complete enthusiasm! .

view this post on Zulip Chetan Shinde (Jun 04 2019 at 21:12):

Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

Thank you so much sean! i am really excited to work under your guidance.

view this post on Zulip Chetan Shinde (Jun 04 2019 at 21:16):

Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

Thank you so much sean! i am really excited to work under your guidance.

I was going through the page saw many project, should i choose one or you will assign one to me?. Second option would be better, as it will some were help me to grow.

view this post on Zulip Chetan Shinde (Jun 04 2019 at 21:53):

Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

would Appleseed renderer integration, be a good project?

view this post on Zulip Chetan Shinde (Jun 04 2019 at 22:02):

Chetan Shinde I also got word that it's possible for someone to participate in the ESA's Summer of Code in Space, albeit without funding, but to get officially listed as a SOCIS project on their site, undergo typical evaluations, etc. So all the notoriety, just without the pay. They just announced this possibility today -- it could be used towards any of these projects: http://brlcad.org/wiki/ESA_Summer_of_Code_in_Space/Project_Ideas

Benchmark Performance Database: this web based project also.. appealed to me.. i have work with django framework previously.

https://github.com/css911/Hackerthon_Django.git link to the project.
sorry about the commit messages :see_no_evil: need to clean them.

view this post on Zulip Chetan Shinde (Jun 04 2019 at 22:07):

@Sean can you please help me to select which project, i should work on.. the appleseed renderer integration will be a very good project to learn new things, but i have never done it before, secondly web development in django i have done before, but will not help me to learn new. but increases the odds of the project getting completed in time.

view this post on Zulip Chetan Shinde (Jun 04 2019 at 22:07):

Please let me know any needful that needs to be done to apply for the project.

view this post on Zulip Sean (Jun 10 2019 at 14:12):

Really sorry for a late reply.. was visiting a remote place in india, was facing network issues :see_no_evil: Will work on it with complete enthusiasm! .

It may be too late for purposes of being included in the SoCiS list of students, but it's never too late to simply work on a project. I can ask the ESA after you have a project selected and minimal plan written.

view this post on Zulip Sean (Jun 10 2019 at 14:15):

I was going through the page saw many project, should i choose one or you will assign one to me?. Second option would be better, as it will some were help me to grow.

You pick. You should propose something you will be excited to learn and/or work on, and I'll try to help you get there. It should be mostly you understanding the problems and working on them, not me telling you what to do. My role will be to make sure your interests align with needs and to point you at the right code.

view this post on Zulip Chetan Shinde (Jun 10 2019 at 18:51):

I was going through the page saw many project, should i choose one or you will assign one to me?. Second option would be better, as it will some were help me to grow.

You pick. You should propose something you will be excited to learn and/or work on, and I'll try to help you get there. It should be mostly you understanding the problems and working on them, not me telling you what to do. My role will be to make sure your interests align with needs and to point you at the right code.

Sure, will finalise the project on which i want to work. :grinning: Thanks sean it means a lot.!

view this post on Zulip Chetan Shinde (Jun 11 2019 at 16:08):

I was going through the page saw many project, should i choose one or you will assign one to me?. Second option would be better, as it will some were help me to grow.

You pick. You should propose something you will be excited to learn and/or work on, and I'll try to help you get there. It should be mostly you understanding the problems and working on them, not me telling you what to do. My role will be to make sure your interests align with needs and to point you at the right code.

@Sean I would like to take Benchmark Performance Database as my project. Preliminary knowledge in Django will help me with the project and help further learn Django as well. Should i prepare a proposal similar to my gsoc proposal?

view this post on Zulip Sean (Jun 12 2019 at 02:05):

Sean I would like to take Benchmark Performance Database as my project. Preliminary knowledge in Django will help me with the project and help further learn Django as well. Should i prepare a proposal similar to my gsoc proposal?

That sounds great, yes. Just be sure you check out Ankesh's 2014 project. He made phenomenal progress, but never completely "finished". I believe the latest state of the code is in our github repo, but you'll want to check and maybe check his bitbucket repo too.

view this post on Zulip Chetan Shinde (Jun 12 2019 at 03:14):

Sean I would like to take Benchmark Performance Database as my project. Preliminary knowledge in Django will help me with the project and help further learn Django as well. Should i prepare a proposal similar to my gsoc proposal?

That sounds great, yes. Just be sure you check out Ankesh's 2014 project. He made phenomenal progress, but never completely "finished". I believe the latest state of the code is in our github repo, but you'll want to check and maybe check his bitbucket repo too.

I had seen Ankesh's project log. will go through the project code from the github and bitbucket repo. :+1:

view this post on Zulip Sean (Jun 12 2019 at 05:24):

I was able to get the github repo minimally working despite several of the deps being now out of date.

view this post on Zulip Chetan Shinde (Jun 13 2019 at 01:48):

I was able to get the github repo minimally working despite several of the deps being now out of date.

Same here Sean.

view this post on Zulip Chetan Shinde (Jun 13 2019 at 02:34):

When i was Installing the project i came across two errors.

1. django was not able to load atomic module, the reason been that atomic module is supported from django 1.6 and in the requirement files django 1.5 was specified. to solve this I changed the requirement to 1.6.
2. After carrying out the first change, i came across second error "cannot import name execute_manager" after doing some stack poping(stackoverflow). I came across on answer, which says that execute manager is deprecated from django version 1.4 and is been completely removed from 1.6
The answer also suggested that as the manage.py file itself is not compatible with 1.6 so is your project.

@Sean what do you suggest?

As we are further developing the project should i make the project compatible to the most stable django version available or make the change back in the requirement file(i.e required django version is downgraded to 1.5 ) and then try to replace the atomic module with some similar module which would offer the same functionality.

Screenshot with the second bug and the stack answer.
pasted image

view this post on Zulip Sean (Jun 19 2019 at 12:54):

@Chetan Shinde I ran across the same issues with django and did the same fixes. I believe the code was originally written during py2.7 so several of the dependencies have moved on as you noticed.

I agree that updating is the ideal state as using the latest. I'd have to look over my notes, but I was able to upgrade off the execution_manager pretty easily. New django was a bit simpler:

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "benchmark.settings")
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)

view this post on Zulip Chetan Shinde (Jun 19 2019 at 13:07):

Chetan Shinde I ran across the same issues with django and did the same fixes. I believe the code was originally written during py2.7 so several of the dependencies have moved on as you noticed.

I agree that updating is the ideal state as using the latest. I'd have to look over my notes, but I was able to upgrade off the execution_manager pretty easily. New django was a bit simpler:

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "benchmark.settings")
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)

Will make the changes accordingly. thanks!

view this post on Zulip Sean (Jun 19 2019 at 13:16):

I don't know if it'll help more than it'll hurt, but I was partly successful with these changes to requirements.txt:

django==1.7.0
pillow
mysql-python
django-bootstrap-form
django-tastypie==0.12.0

view this post on Zulip Sean (Jun 19 2019 at 13:16):

That didn't upgrade to the latest, obviously, but I was just trying to get it working first and that got the site mostly running.

view this post on Zulip Sean (Jun 19 2019 at 13:17):

also had to update a handful of imports, e.g.:

diff --git a/libs/bp_logger.py b/libs/bp_logger.py
index bd6ee04..fd107b3 100644
--- a/libs/bp_logger.py
+++ b/libs/bp_logger.py
@@ -40,7 +40,7 @@ import os
 import logging

 from ConfigParser import ConfigParser
-import settings
+import benchmark.settings

view this post on Zulip Sean (Jun 19 2019 at 13:21):

maybe a help, maybe not, but here's a list of files I ended up modifying at least once. not suggesting they all needed modifying, but it might help limit what things you need to look at:

agua:benchmark morrison$ find . -name \*~
./benchmark/settings.py~
./benchmark/manage.py~
./benchmark/requirements.txt~
./benchmark/setup.sh~
./fileupload/response.py~
./fileupload/urls.py~
./fileupload/templates/fileupload/picture_basicplus_form.html~
./fileupload/templates/fileupload/picture_basic_form.html~
./libs/bp_logger.py~
./manage.py~
./lib/python2.7/site-packages/tastypie/resources.py~
./plots/views.py~

view this post on Zulip Chetan Shinde (Jun 21 2019 at 16:56):

@Sean did you came across this error while fixing the project.

django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: tastypie
Makefile:9: recipe for target 'serve' failed

please let me know whether i am on the correct path or not :see_no_evil:

view this post on Zulip Sean (Jun 21 2019 at 19:03):

I do not recall coming across that error @Chetan Shinde, but it sounds like you might have a mismatch in tastypie listed twice or something

view this post on Zulip Chetan Shinde (Jun 22 2019 at 20:57):

I do not recall coming across that error Chetan Shinde, but it sounds like you might have a mismatch in tastypie listed twice or something

yes the issue was occurring because by default the app label was the package name.

I was able to solve this issue and now my server is running.

facing a small issue.. requesting hint in the right direction :grinning: :see_no_evil:

pasted image

view this post on Zulip Sean (Jun 27 2019 at 03:43):

@Chetan Shinde I'm not at all adept at django, but a quick read up at https://stackoverflow.com/questions/31598218/importerror-no-module-named-urls-but-root-urlconf-is-correct tells me that something is probably wrong with the basic django setup, or with the benchmark/urls.py file that it's going to be importing

view this post on Zulip Sean (Jun 27 2019 at 03:44):

maybe a variable or file structure needs to be different for 1.7

view this post on Zulip Chetan Shinde (Jun 27 2019 at 08:14):

Chetan Shinde I'm not at all adept at django, but a quick read up at https://stackoverflow.com/questions/31598218/importerror-no-module-named-urls-but-root-urlconf-is-correct tells me that something is probably wrong with the basic django setup, or with the benchmark/urls.py file that it's going to be importing

Thanks @Sean . It seems that the urls.py solution is already been implemented by Ankush(author of the project). will check the django setup once again and if needed will reconfigure the environment for the same. :innocent:

view this post on Zulip Chetan Shinde (Jun 30 2019 at 09:52):

I have reconfigured my previous django setup and again trying the suggested solution. :slight_smile:

view this post on Zulip Chetan Shinde (Jul 06 2019 at 20:43):

Hello @Sean , I was facing quite problems with Django 1.7, so i thought of upgrading the project further from 1.5 to directly 1.11 and was able to get the site up. Currently we are able to load the pages(i.e html part) there is some issue with css(working on it.)

pasted image

The project is now compatible with django 1.11 :slight_smile: ,

working on the issues which i am able to find, because of change in version of django.


Last updated: Jan 10 2025 at 00:48 UTC