profile
viewpoint
Timothy Allen FlipperPA The Wharton School: @wharton Philadelphia, PA https://www.PyPhilly.org IT Technical Director, WRDS at The Wharton School. PSF and DSF member. Fan of loud guitar, analog pedals, hockey, and ice cream. He/him.

alexgleason/wagtailfontawesome 57

Moved to GitLab

FlipperPA/ansible-centos7-python3-django 6

Ansible playbook and roles for creating Digital Ocean CentOS 7 servers.

djangocon/papercall-api-import 5

This script calls the PaperCall.io API and pulls submissions into a spreadsheet for each state (submitted, accepted, rejected, waitlist).

FlipperPA/ansible-ubuntu20-python3-django 4

Ansible roles for setting up a Python 3.8 Digital Ocean server for Django or Flask hosting.

FlipperPA/django-dep-default-project 4

A Django Enhancement Proposal (DEP) to make the default project more friendly to newcomers.

FlipperPA/browser-settings 2

Settings for various Firefox add-ons.

FlipperPA/agnostic-recovery 1

These are some resources I've created for an agnostic / atheist 12-step recovery meeting I have helped start in Philadelphia, called "Progressive, Not Perfection."

DanielSwain/wagtail 0

A Django content management system focused on flexibility and user experience

FlipperPA/12-step-meeting-list 0

WordPress plugin for managing a list of meetings

FlipperPA/2016.djangocon.us 0

The DjangoCon US 2016 conference website

push eventCodeForPhilly/prevention-point

JackRyan1989

commit sha 5942dbbab831a76734e56d3b9630681b2c0a5476

Changed needles_exchaged to exchanged_for. Also created test and did some minor styling.

view details

push time in an hour

Pull request review commentCodeForPhilly/prevention-point

Needles exchanged - int fields, backend and frontend changes

+# Generated by Django 2.2.13 on 2021-01-21 19:41++from django.db import migrations, models+++class Migration(migrations.Migration):++    dependencies = [+        ('core', '0012_auto_20201216_0954'),+    ]++    operations = [+        migrations.AddField(+            model_name='sepdata',+            name='needles_exchanged',

front end too if you can, try and keep in I sync @JackRyan1989

JackRyan1989

comment created time in 3 hours

startedcommitizen-tools/commitizen

started time in 5 hours

fork fcurella/conventional

No frills command-line tool for processing structured commits.

fork in 6 hours

startedmultimac/conventional

started time in 6 hours

startedjayfk/launchr

started time in 8 hours

Pull request review commentCodeForPhilly/prevention-point

Needles exchanged - int fields, backend and frontend changes

+# Generated by Django 2.2.13 on 2021-01-21 19:41++from django.db import migrations, models+++class Migration(migrations.Migration):++    dependencies = [+        ('core', '0012_auto_20201216_0954'),+    ]++    operations = [+        migrations.AddField(+            model_name='sepdata',+            name='needles_exchanged',

@MikeyManoguerra Should this change happen on the frontend as well, or are you just concerned about how the data will appear in the database?

JackRyan1989

comment created time in 10 hours

create barnchCodeForPhilly/prevention-point

branch : slugs-for-services-447

created branch time in 18 hours

startedthblt/.emacs.d

started time in 19 hours

issue openedCodeForPhilly/prevention-point

delete all the migrations BEFORE the app goes live

we dont need to hold on to development migrations,so delete them before we launch the app

created time in 20 hours

issue commentCodeForPhilly/prevention-point

Check front end for hard coded values

@JackRyan1989 sorry i missed these questions. by tables and fields i was referring to db models

MikeyManoguerra

comment created time in 21 hours

Pull request review commentCodeForPhilly/prevention-point

Needles exchanged - int fields, backend and frontend changes

+# Generated by Django 2.2.13 on 2021-01-21 19:41++from django.db import migrations, models+++class Migration(migrations.Migration):++    dependencies = [+        ('core', '0012_auto_20201216_0954'),+    ]++    operations = [+        migrations.AddField(+            model_name='sepdata',+            name='needles_exchanged',

i think the name should be exchanged_for.

" the number of people that are involved with this exchange"

JackRyan1989

comment created time in 21 hours

startedprogfolio/doct

started time in 21 hours

PR opened CodeForPhilly/prevention-point

Reviewers
Needles exchanged - int fields, backend and frontend changes

I think this covers everything? But please let me know if I missed something crucial.

I added PrevPointInputs for the int fields on the frontend. Let me know if you would like them styled a bit more. Backend was pretty straightforward, changed the model, serializer, views, fixtures, and tests for SEP data. Made new migration. Adding in the NeedlesExchanged field to the sidebar was also pretty straightforward. Validation was pretty much already set up. No tests written in Jest yet.

Closes #485 Closes #486 Closes #487

+261 -20

0 comment

11 changed files

pr created time in a day

create barnchCodeForPhilly/prevention-point

branch : needles-exchanged

created branch time in a day

startedstefangabos/world_countries

started time in a day

startedBuuntu/fastapi-react

started time in a day

startedpytoolz/toolz

started time in a day

issue openedspringload/awesome-wagtail

wagtail_textract not compatible with current Wagtail

https://github.com/fourdigits/wagtail_textract/issues/31

It would be nice to update the list by removing wagtail_textract from it or adding some kind of warning symbol.

created time in a day

push eventPleiades-Spiri/px4_spiri_mu_1_firmware

Matthias Grob

commit sha a46add9a93b63c84d0ba713233074481c50676b9

PositionControl: isolate skip controller, leave away unnecessary include

view details

Daniel Agar

commit sha 7fd4db18817269f5460cab8a91d6efd03cecf145

commander: skip all mag checks if SYS_HAS_MAG is 0

view details

David Sidrane

commit sha 2a848c365c15e1b81ae401156ea2745480a880a3

holybro_durandal-v1:GPIO_VDD_5V_{HIPOWER|PERIPH}_OC remove Pull up - OC have series 47K

view details

Christian Clauss

commit sha 6dc55f97d430bc231692fe62b795ac4caf7d1e89

More fixes for Python 3 compatibility (#13008) * More fixes for Python 3 compatibility * Workaround if the six module is not pip installed * Lose the semicolons

view details

Julian Oes

commit sha a9ca16cafea0f435a82c0231cdd7745180730cb0

Fix a couple of flake8 Python warnings (#13763) * Tools: fix flake8 error * platforms: fix flake8 error This is just guessed.

view details

Julian Kent

commit sha e4a526e3b2cfbb4fd52b33c58f44f1c6605f89ec

Don't sleep in middle of mavlink message reception

view details

dino

commit sha 49cb21016abe4c70548c3beab1ff3f6ce78de1e0

Ddded cli check for ism330dlc startup to prevent hardfault if no options are given.

view details

Daniel Agar

commit sha 176d7ef62d8413f094cd090407c473fc3aff9b2b

Jenkins PX4 ROS2 bridge don't specify python binary

view details

Jin Chengde

commit sha 34121e655b93a590ca7b22a606ac7c96ae0d46d1

FW runway takeoff: add negative for min to support tricycle landing gear - if we used tricycle landing gear, we need the wheel to touch the ground to control the direction

view details

Matthias Grob

commit sha de95e3d274edb8a845c1bd04c89a821c8dfed8d4

commander: remove manual mode before geofence handling

view details

Julian Oes

commit sha f8c10b706ad88baf223016a260156cff334d01c5

navigator: check fixedwing mission for VTOL A VTOL mission can also contain a fixedwing landing. Therefore, I think, it makes sense to run the fixedwing checks as well, however, don't check for a landing start necessarily.

view details

Julian Oes

commit sha f9aa12eaa99509efa54f7cea316f52c0206eaab1

navigator: don't allow Land together with RTL item This is a check to protect a user from upload a mission which includes a land_start marker as well as a RTL mission item. This works around the problem that we experienced where the navigator would switch to mission mode on RTL and start with land_start, and then continue to the RTL item. At this point, navigator would send the vehicle_command for RTL to commander which would deny it because it is already in RTL mode. Thus navigator won't (re)set any items to actually do RTL and it means the vehicle will just head to whatever setpoint it received last.

view details

Julian Oes

commit sha 3a37d0b560a131e138ff5a11612891846a88033a

navigator: improve if structure for vtol/mc/fw

view details

Silvan Fuhrer

commit sha e6b18fe2da90a69d2be1e92ff5260ec0be2bfc09

mission feasibility checker: move checks for VTOL landing into separate function Signed-off-by: Silvan Fuhrer <silvan@auterion.com>

view details

Lorenz Meier

commit sha 9ac68abd5c0c523bf2489840fb7d31729d40b508

Fix float accuracy in ControlMathTest The test was testing the result of 3D float vector operations with binary equality of the floating point numbers, which is not a valid assumption to make for floating point math. This change switches to proper comparisons with float accuracy and compares vectors using the norm of their difference.

view details

Lorenz Meier

commit sha acd18adc18ecae9d3363b13be425d062d2a71186

Tests: Speed up boot The previous boot configuration took at minimum one second to boot. This is in particular significant in tests when the system is often started and stopped

view details

Daniel Agar

commit sha 57fc98812d0e0d2e8c6e23d193aa26d505d765f7

rc_update: cleanup parameter usage

view details

Daniel Agar

commit sha 607cb97758c897dae2b0f68b4247ede67398d238

Update src/modules/rc_update/rc_update.cpp Co-Authored-By: Beat Küng <beat-kueng@gmx.net>

view details

Daniel Agar

commit sha 93d392ff8042b6d37193d1d589d0eb1a54da95b8

Update src/modules/rc_update/rc_update.cpp Co-Authored-By: Beat Küng <beat-kueng@gmx.net>

view details

Daniel Agar

commit sha 386673e6c32be6ce25e8439611bded1612d45796

fix flt_cutoff_min -> flt_cutoff_max

view details

push time in a day

startednex3/perspective-el

started time in a day

startedpashinin/workgroups2

started time in a day

issue openedcoderedcorp/coderedcms

PostgreSQL database psycopg2.errors.NotNullViolation: null value in column "translation_key" violates not-null constraint

Describe the bug

I am just starting out with coderedcms, and have been using it fine. However, I wanted to change the database to using postgresql as my database. However, when I do this (when starting a project from scratch), I am unable to successfully run migrations. Switching back to sqlite works again though, so I am sure it is as a result of my using postgresql.

Steps to reproduce

Steps to reproduce the behavior:

  1. coderedcms start <project>
  2. cd project
  3. Change settings 'base.py' from:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

to:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'db_name',
        'USER': 'xxxxx',
        'PASSWORD': 'xxxxx',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}
  1. Run python manage.py migrate
  2. This is where the error comes in:
psycopg2.errors.NotNullViolation: null value in column "translation_key" violates not-null constraint
DETAIL:  Failing row contains (6, 00010001, 2, 0, Home, home, t, f, /home/, , f, , null, null, f, 9, null, f, null, null, null, null, , null, null, null, null, null).

Expected behavior

I expect it to successfully run migrations as when it is done on sqlite

Additional context

Entire error output:

Operations to perform:
  Apply all migrations: admin, auth, coderedcms, contenttypes, sessions, taggit, wagtailadmin, wagtailcore, wagtaildocs, wagtailembeds, wagtailforms, wagtailimages, wagtailredirects, wagtailsearch, wagtailusers, website
Running migrations:
  Applying website.0002_initial_data...Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.NotNullViolation: null value in column "translation_key" violates not-null constraint
DETAIL:  Failing row contains (6, 00010001, 2, 0, Home, home, t, f, /home/, , f, , null, null, f, 9, null, f, null, null, null, null, , null, null, null, null, null).


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\base.py", line 328, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\base.py", line 369, in execute
    output = self.handle(*args, **options)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\core\management\commands\migrate.py", line 233, in handle
    fake_initial=fake_initial,
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\migrations\executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\migrations\executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\migrations\executor.py", line 245, in apply_migration
    state = migration.apply(state, schema_editor)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\migrations\migration.py", line 124, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\migrations\operations\special.py", line 190, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "G:\OneDrive\Academia\Acies-Digital\CodedredCMS\aciesdigital\website\migrations\0002_initial_data.py", line 33, in initial_data
    url_path='/home/',
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\query.py", line 433, in create
    obj.save(force_insert=True, using=self.db)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 749, in save
    force_update=force_update, update_fields=update_fields)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 784, in save_base
    parent_inserted = self._save_parents(cls, using, update_fields)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 812, in _save_parents
    parent_inserted = self._save_parents(cls=parent, using=using, update_fields=update_fields)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 815, in _save_parents
    force_insert=parent_inserted,
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 890, in _save_table
    results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\base.py", line 929, in _do_insert
    using=using, raw=raw,
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\query.py", line 1204, in _insert
    return query.get_compiler(using=using).execute_sql(returning_fields)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\models\sql\compiler.py", line 1394, in execute_sql
    cursor.execute(sql, params)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 100, in execute
    return super().execute(sql, params)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 68, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 77, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "C:\ProgramData\Anaconda3\envs\codered\lib\site-packages\django\db\backends\utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: null value in column "translation_key" violates not-null constraint
DETAIL:  Failing row contains (6, 00010001, 2, 0, Home, home, t, f, /home/, , f, , null, null, f, 9, null, f, null, null, null, null, , null, null, null, null, null).

Wagtail version == 2.9.3 Coderedcms version == 0.19.1 Django version == 3.0.11 psycopg2 version == 2.8.6 (dt dec pq3 ext lo64)

created time in a day

startedbrowsertron/pytest-parallel

started time in 2 days

startedbtholt/deno-dev-container-example

started time in 2 days

fork thibaudcolas/licecap

LICEcap simple animated screen capture tool for Windows and OS X

http://www.cockos.com/licecap

fork in 2 days

PR opened CodeForPhilly/prevention-point

Test participant validation schema 482

Let me know if I missed anythang.

Closes #482

+199 -2

0 comment

3 changed files

pr created time in 2 days

issue openedcoderedcorp/coderedcms

Unstyled modal buttons

Modal action buttons are unstyled on iOS. The template outputs with type="button" instead of role="button". Changing to role="button" fixes style

created time in 2 days

startedsoul-lang/SOUL

started time in 2 days

more