Receiving "could not find JS function 'gz' all the sudden (latest version 8/24.1)

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x ] At least skimmed through README and most notably FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.
Just began receiving this error when downloading from Youtube:
[youtube] aaFNcJT4aQQ: Downloading webpage
[youtube] aaFNcJT4aQQ: Downloading video info webpage
[youtube] aaFNcJT4aQQ: Extracting video information
[youtube] aaFNcJT4aQQ: Downloading js player en_US-vflrza-6I
ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\jsinterp.py", line 241, in extract_function
youtube_dl.utils.ExtractorError: Could not find JS function 'gz'; please report
this issue on https://yt-dl.org/bug . Make sure you are using the latest version
; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
(caused by ExtractorError("Could not find JS function 'gz'; please report this
issue on https://yt-dl.org/bug . Make sure you are using the latest version; typ
e youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag
and include its complete output.",)); please report this issue on https://yt-dl.
org/bug . Make sure you are using the latest version; type youtube-dl -U to up
date. Be sure to call youtube-dl with the --verbose flag and include its complet
e output.

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.
The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

Sorry here is an example of a youtube video generating this error using verbose switch:
D:\Downloads>youtube-dl -v "https://www.youtube.com/watch?v=aaFNcJT4aQQ"
[debug] System config: []
[debug] User config: ['--continue', '--ignore-errors', '--no-overwrites', '-f',
'best', '--output', '%(playlist_index)s_%(upload_date)s_%(height)sP_%(title)s.%(
ext)s']
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=aaFNcJT4aQQ']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.06.14
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-80256-g0a9e781, ffprobe N-80256-g0a9e781
[debug] Proxy map: {}
[youtube] aaFNcJT4aQQ: Downloading webpage
[youtube] aaFNcJT4aQQ: Downloading video info webpage
[youtube] aaFNcJT4aQQ: Extracting video information
[youtube] {22} signature length 40.43, html5 player en_US-vflrza-6I
[youtube] aaFNcJT4aQQ: Downloading player https://s.ytimg.com/yts/jsbin/player-e
n_US-vflrza-6I/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\jsinterp.py", line 241, in extract_function
youtube_dl.utils.ExtractorError: Could not find JS function 'gz'; please report
this issue on https://yt-dl.org/bug . Make sure you are using the latest version
; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
(caused by ExtractorError("Could not find JS function 'gz'; please report this
issue on https://yt-dl.org/bug . Make sure you are using the latest version; typ
e  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag
and include its complete output.",)); please report this issue on https://yt-dl.
org/bug . Make sure you are using the latest version; type  youtube-dl -U  to up
date. Be sure to call youtube-dl with the --verbose flag and include its complet
e output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\jsinterp.py", line 241, in extract_function
youtube_dl.utils.ExtractorError: Could not find JS function 'gz'; please report
this issue on https://yt-dl.org/bug . Make sure you are using the latest version
; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\jsinterp.py", line 241, in extract_function
youtube_dl.utils.ExtractorError: Could not find JS function 'gz'; please report
this issue on https://yt-dl.org/bug . Make sure you are using the latest version
; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\YoutubeDL.py", line 676, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\common.py", line 342, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 1570, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 1007, in _decrypt_signature
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most re
cent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa3ey2lj9\bu
ild\youtube_dl\jsinterp.py", line 241, in extract_function
youtube_dl.utils.ExtractorError: Could not find JS function 'gz'; please report
this issue on https://yt-dl.org/bug . Make sure you are using the latest version
; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
(caused by ExtractorError("Could not find JS function 'gz'; please report this
issue on https://yt-dl.org/bug . Make sure you are using the latest version; typ
e  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag
and include its complete output.",)); please report this issue on https://yt-dl.
org/bug . Make sure you are using the latest version; type  youtube-dl -U  to up
date. Be sure to call youtube-dl with the --verbose flag and include its complet
e output.

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

Just ran this:
C:\Data\Scripts\Sync\Scripts>youtube-dl -U
youtube-dl is up-to-date (2<IP_ADDRESS>)
Is there a newer version?  Why is the update command not finding something newer than 8.24.1?

[debug] youtube-dl version 2016.06.14

Yep, so sorry in this folder had prior issue and forgot I had manually downloaded another older version to test some time ago and not deleted it.   :)
Sorry go ahead and close this issue!


Migrate preprod to aks

 AFQTS - Migrate Preproduction environment

This has been done now, preproduction is deployed to AKS.


Regression on 4.0 pre-a, CSG nodes are broken in GLTF export

Godot version
v4.0.dev.20211117.official [175690957]
System information
Windows 10
Issue description
Similar as https://github.com/godotengine/godot/issues/51677 , GLTF scenes that include CSG elements, do not export them correctly (it used to work on previous versions.
This is the good export with v4.0.dev.20210916.official [104a6191f] (which can also be loaded with Windows' viewer)

and this is the broken one with v4.0.dev.20211117.official [175690957] (can't be loaded with Windows' viewer)

Steps to reproduce
Make a 3D scene with CSG elements and export it as GLTF
Minimal reproduction project
Includes both exported gltf files
csgexportbugv4.zip

This seems to be solved now, tested in Godot 4 alpha 9 (including the materials which may be part of another issue).


⚠ Bofrost.at has degraded performance

In 4fccaca, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2171 ms

Resolved: Bofrost.at performance has improved in 6d9dfd0 after 35 minutes.


The deadzone on the joystick input should be circular, not on each axis

Right now axis input uses Godot's built-in deadzones, that are separate on X and Y axes. We should have a circular deadzone instead.

I see the commit in the master branch's history, but this doesn't appear fixed.  When holding straight up, moving the stick slightly left and right should reflect the subtle movement, since the stick is out of the middle deadzone.

Checking Input.get_action_strength("aim_right") etc, it looks like those use the axis deadzone, do I need to turn those off from the project settings?

Your local copy isn't up to date, I've already removed Godot's builtin deadzones

As you can see here, the values are set to 0 in the project's latest version: https://github.com/GDquest/godot-metroidvania-2d/commit/9042f2540da3e8090e9f4bd3164d8ac10ad0d999

Weird, thought I reset everything.  Looks like it stuck after re-cloning.  Bah I'll get the hang of this yet.


Problem compiling paratext on OS X

My setup
OS X version: El Capitan version 10.11.2 (on Macbook Pro)
Swig version: 3.0.8
Python version: 3.5.1
Output when doing: sudo python setup.py install
sudo python setup.py build
/usr/local/bin/swig
0.1.1rc1
running swig:  ['swig', '-c++', '-python', '-I../src/', '-outdir', './', '../src/paratext_internal.i']
../src/diagnostic/parse_and_sum.hpp:158: Warning 302: Identifier 'parse_token' redefined (ignored),
../src/diagnostic/parse_and_sum.hpp:129: Warning 302: previous definition of 'parse_token'.
/Users/amund/anaconda/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "_paratext_internal" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.5-x86_64-3.5
copying paratext_internal.py -> build/lib.macosx-10.5-x86_64-3.5
creating build/lib.macosx-10.5-x86_64-3.5/paratext
copying paratext/init.py -> build/lib.macosx-10.5-x86_64-3.5/paratext
copying paratext/core.py -> build/lib.macosx-10.5-x86_64-3.5/paratext
copying paratext/helpers.py -> build/lib.macosx-10.5-x86_64-3.5/paratext
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_paratext_internal' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/amund/anaconda/include -arch x86_64
creating build/temp.macosx-10.5-x86_64-3.5
creating build/temp.macosx-10.5-x86_64-3.5/paratext
creating build/temp.macosx-10.5-x86_64-3.5/paratext/src
compile options: '-I../src/ -I/Users/amund/anaconda/lib/python3.5/site-packages/numpy/core/include -I/Users/amund/anaconda/include/python3.5m -c'
extra options: '--stdlib=libc++ -std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT'
g++: ../src/paratext_internal_wrap.cxx
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:218:19: error: use of undeclared identifier 'PyString_FromStringAndSize'; did you mean 'PyBytes_FromStringAndSize'?
PyObject *s = PyString_FromStringAndSize(output.c_str(), output.size());
^~~~~~~~~~~~~~~~~~~~~~~~~~
PyBytes_FromStringAndSize
/Users/amund/anaconda/include/python3.5m/bytesobject.h:51:24: note: 'PyBytes_FromStringAndSize' declared here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:159:28: error: use of undeclared identifier 'PyString_FromStringAndSize'
PyObject *newobj = PyString_FromStringAndSize((it).c_str(), (it).size());
^
../src/python/numpy_helper.hpp:304:60: note: in instantiation of member function 'build_array_from_range_impl<std::__1::__wrap_iter<std::__1::basic_string >, void>::build_array' requested here
return (PyObject)build_array_from_range_impl::build_array(range);
^
../src/paratext_internal_wrap.cxx:10031:32: note: in instantiation of function template specialization 'build_array_from_range<std::__1::__wrap_iter<std::__1::basic_string > >' requested here
resultobj = (PyObject)::build_array_from_range(range);
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~^
/Users/amund/anaconda/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::__1::vector<unsigned long, std::__1::allocator >, void>::build_array' requested here
return (PyObject)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10366:30: note: in instantiation of function template specialization 'build_array<std::__1::vector<unsigned long, std::__1::allocator > >' requested here
resultobj = (PyObject)::build_array<std::vector<size_t>>(result);
^
1 warning and 7 errors generated.
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:218:19: error: use of undeclared identifier 'PyString_FromStringAndSize'; did you mean 'PyBytes_FromStringAndSize'?
PyObject *s = PyString_FromStringAndSize(output.c_str(), output.size());
^~
PyBytes_FromStringAndSize
/Users/amund/anaconda/include/python3.5m/bytesobject.h:51:24: note: 'PyBytes_FromStringAndSize' declared here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~~~~~~~^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:159:28: error: use of undeclared identifier 'PyString_FromStringAndSize'
PyObject *newobj = PyString_FromStringAndSize((it).c_str(), (it).size());
^
../src/python/numpy_helper.hpp:304:60: note: in instantiation of member function 'build_array_from_range_impl<std::__1::__wrap_iter<std::__1::basic_string >, void>::build_array' requested here
return (PyObject)build_array_from_range_impl::build_array(range);
^
../src/paratext_internal_wrap.cxx:10031:32: note: in instantiation of function template specialization 'build_array_from_range<std::__1::__wrap_iter<std::__1::basic_string > >' requested here
resultobj = (PyObject)::build_array_from_range(range);
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~^
/Users/amund/anaconda/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::__1::vector<unsigned long, std::__1::allocator >, void>::build_array' requested here
return (PyObject)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10366:30: note: in instantiation of function template specialization 'build_array<std::__1::vector<unsigned long, std::__1::allocator > >' requested here
resultobj = (PyObject)::build_array<std::vector<size_t>>(result);
^
1 warning and 7 errors generated.
error: Command "g++ -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/amund/anaconda/include -arch x86_64 -I../src/ -I/Users/amund/anaconda/lib/python3.5/site-packages/numpy/core/include -I/Users/amund/anaconda/include/python3.5m -c ../src/paratext_internal_wrap.cxx -o build/temp.macosx-10.5-x86_64-3.5/paratext/src/paratext_internal_wrap.o --stdlib=libc++ -std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT" failed with exit status 1

Python version: 3.5.1
I guess #10, #13 are related - Python 3.5 isn't quite working yet.

in numpy_helper.hpp PyString_FromStringAndSize needs to be PyUnicode_FromStringAndSize to work in 3.5 (But this definitely won't fix the issue on its own, it's just one of the things that needs to change to support python3)

Doesn't compile for me either: Python 2.7; OS X 10.9.5; swig 3.0.2:
/usr/local/bin/swig
0.1.1rc1
('running swig: ', ['swig', '-c++', '-python', '-I../src/', '-outdir', './', '../src/paratext_internal.i'])
../src/diagnostic/parse_and_sum.hpp:158: Warning 302: Identifier 'parse_token' redefined (ignored),
../src/diagnostic/parse_and_sum.hpp:129: Warning 302: previous definition of 'parse_token'.
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "_paratext_internal" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.9-intel-2.7
copying paratext_internal.py -> build/lib.macosx-10.9-intel-2.7
creating build/lib.macosx-10.9-intel-2.7/paratext
copying paratext/init.py -> build/lib.macosx-10.9-intel-2.7/paratext
copying paratext/core.py -> build/lib.macosx-10.9-intel-2.7/paratext
copying paratext/helpers.py -> build/lib.macosx-10.9-intel-2.7/paratext
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_paratext_internal' extension
compiling C++ sources
C compiler: c++ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe
creating build/temp.macosx-10.9-intel-2.7
creating build/temp.macosx-10.9-intel-2.7/paratext-master
creating build/temp.macosx-10.9-intel-2.7/paratext-master/src
compile options: '-I../src/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c'
extra options: '-std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT'
c++: ../src/paratext_internal_wrap.cxx
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++1y extension [-Wc++1y-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:212:25: warning: implicit conversion loses integer precision: 'long' to 'value_type' (aka 'int') [-Wshorten-64-to-32]
values_.push_back(value);
~~~~~~~           ^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<3, int, long long, float>::v_push_back' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<4, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<5, signed char, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:460:3: note: in instantiation of member function 'widening_vector_impl<6, unsigned char, signed char, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_dynamic() : first_(NULL), current_(NULL) {
^
../src/csv/colbased_chunk.hpp:49:5: note: in instantiation of member function 'widening_vector_dynamic<unsigned char, signed char, short, int, long long, float>::widening_vector_dynamic' requested here
ColBasedChunk() : max_level_name_length_(std::numeric_limits<size_t>::max()), max_levels_(std::numeric_limits<size_t>::max()), forced_semantics_(Semantics::UNKNOWN) {}
^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:212:25: warning: implicit conversion loses integer precision: 'long' to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32]
values_.push_back(value);
~~~~~~~           ^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<2, unsigned int, unsigned long long>::v_push_back' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<3, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<4, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:460:3: note: in instantiation of member function 'widening_vector_impl<5, unsigned char, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_dynamic() : first_(NULL), current_(NULL) {
^
../src/csv/colbased_chunk.hpp:49:5: note: in instantiation of member function 'widening_vector_dynamic<unsigned char, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_dynamic' requested here
ColBasedChunk() : max_level_name_length_(std::numeric_limits<size_t>::max()), max_levels_(std::numeric_limits<size_t>::max()), forced_semantics_(Semantics::UNKNOWN) {}
^
In file included from ../src/paratext_internal_wrap.cxx:3063:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~~~~~~~^
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/numpy/ndarrayobject.h:125:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::1::vector<unsigned long, std::1::allocator >, void>::build_array' requested here
return (PyObject*)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10134:30: note: in instantiation of function template specialization 'build_array<std::1::vector<unsigned long, std::1::allocator > >' requested here
resultobj = (PyObject*)::build_array<std::vector<size_t>>(result);
^
3 warnings and 5 errors generated.
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~~~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~~~^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++1y extension [-Wc++1y-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:212:25: warning: implicit conversion loses integer precision: 'long' to 'value_type' (aka 'int') [-Wshorten-64-to-32]
values_.push_back(value);
~~~~~~~           ^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<3, int, long long, float>::v_push_back' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<4, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<5, signed char, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:460:3: note: in instantiation of member function 'widening_vector_impl<6, unsigned char, signed char, short, int, long long, float>::widening_vector_impl' requested here
widening_vector_dynamic() : first_(NULL), current_(NULL) {
^
../src/csv/colbased_chunk.hpp:49:5: note: in instantiation of member function 'widening_vector_dynamic<unsigned char, signed char, short, int, long long, float>::widening_vector_dynamic' requested here
ColBasedChunk() : max_level_name_length_(std::numeric_limits<size_t>::max()), max_levels_(std::numeric_limits<size_t>::max()), forced_semantics_(Semantics::UNKNOWN) {}
^
In file included from ../src/paratext_internal_wrap.cxx:4887:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:212:25: warning: implicit conversion loses integer precision: 'long' to 'value_type' (aka 'unsigned int') [-Wshorten-64-to-32]
values_.push_back(value);
~~~~~~~           ^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<2, unsigned int, unsigned long long>::v_push_back' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<3, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:198:3: note: in instantiation of member function 'widening_vector_impl<4, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_impl() {}
^
../src/util/widening_vector.hpp:460:3: note: in instantiation of member function 'widening_vector_impl<5, unsigned char, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_impl' requested here
widening_vector_dynamic() : first_(NULL), current_(NULL) {
^
../src/csv/colbased_chunk.hpp:49:5: note: in instantiation of member function 'widening_vector_dynamic<unsigned char, unsigned char, unsigned short, unsigned int, unsigned long long>::widening_vector_dynamic' requested here
ColBasedChunk() : max_level_name_length_(std::numeric_limits<size_t>::max()), max_levels_(std::numeric_limits<size_t>::max()), forced_semantics_(Semantics::UNKNOWN) {}
^
In file included from ../src/paratext_internal_wrap.cxx:3063:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~~~~~~~^
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/numpy/ndarrayobject.h:125:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::__1::vector<unsigned long, std::__1::allocator >, void>::build_array' requested here
return (PyObject*)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10134:30: note: in instantiation of function template specialization 'build_array<std::__1::vector<unsigned long, std::__1::allocator > >' requested here
resultobj = (PyObject*)::build_array<std::vector<size_t>>(result);
^
3 warnings and 5 errors generated.
error: Command "c++ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I../src/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c ../src/paratext_internal_wrap.cxx -o build/temp.macosx-10.9-intel-2.7/paratext-master/src/paratext_internal_wrap.o -std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT" failed with exit status 1

same problem here :
SWIG Version 3.0.8
python 2.7
gcc (GCC) 4.8.5
python setup.py build install
/Users/Christopher_old/anaconda2/bin/swig
0.1.1rc1
('running swig: ', ['swig', '-c++', '-python', '-I../src/', '-outdir', './', '../src/paratext_internal.i'])
../src/diagnostic/parse_and_sum.hpp:158: Warning 302: Identifier 'parse_token' redefined (ignored),
../src/diagnostic/parse_and_sum.hpp:129: Warning 302: previous definition of 'parse_token'.
/Users/Christopher_old/anaconda2/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "_paratext_internal" sources
build_src: building npy-pkg config files
running build_py
copying paratext_internal.py -> build/lib.macosx-10.5-x86_64-2.7
copying paratext/init.py -> build/lib.macosx-10.5-x86_64-2.7/paratext
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_paratext_internal' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -I/Users/Christopher_old/anaconda2/include -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -g -fwrapv -O3 -Wall
compile options: '-I../src/ -I/Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/Users/Christopher_old/anaconda2/include/python2.7 -c'
extra options: '-std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT'
g++: ../src/paratext_internal.cpp
g++: ../src/paratext_internal_wrap.cxx
In file included from /Users/Christopher_old/anaconda2/gcc/include/c++/random:38:0,
from /Users/Christopher_old/anaconda2/gcc/include/c++/bits/stl_algo.h:65,
from /Users/Christopher_old/anaconda2/gcc/include/c++/algorithm:62,
from ../src/paratext_internal_wrap.cxx:3507:
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1105:11: error: ‘::llrint’ has not been declared
using ::llrint;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1106:11: error: ‘::llrintf’ has not been declared
using ::llrintf;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1107:11: error: ‘::llrintl’ has not been declared
using ::llrintl;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1109:11: error: ‘::llround’ has not been declared
using ::llround;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1110:11: error: ‘::llroundf’ has not been declared
using ::llroundf;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1111:11: error: ‘::llroundl’ has not been declared
using ::llroundl;
^
In file included from /Users/Christopher_old/anaconda2/gcc/include/c++/system_error:39:0,
from /Users/Christopher_old/anaconda2/gcc/include/c++/mutex:43,
from ../src/csv/colbased_loader.hpp:40,
from ../src/paratext_internal_wrap.cxx:4993:
/Users/Christopher_old/anaconda2/gcc/include/c++/x86_64-apple-darwin11.4.2/bits/error_constants.h:135:24: error: ‘EOWNERDEAD’ was not declared in this scope
owner_dead =     EOWNERDEAD,
^
/Users/Christopher_old/anaconda2/gcc/include/c++/x86_64-apple-darwin11.4.2/bits/error_constants.h:151:34: error: ‘ENOTRECOVERABLE’ was not declared in this scope
state_not_recoverable =    ENOTRECOVERABLE,
^
In file included from /Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:0,
from ../src/python/numpy_helper.hpp:40,
from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp: In instantiation of ‘static PyObject* build_array_impl<Container, typename std::enable_if<std::is_arithmetic::value>::type>::build_array(const Container&) [with Container = std::vector; PyObject = _object]’:
../src/python/numpy_helper.hpp:299:71:   required from ‘PyObject* build_array(const Container&) [with Container = std::vector; PyObject = _object]’
../src/paratext_internal_wrap.cxx:10366:69:   required from here
/Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:77: error: ‘id’ is not a member of ‘numpy_type’
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:68:34: note: in expansion of macro ‘PyArray_SimpleNew’
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
^
In file included from /Users/Christopher_old/anaconda2/gcc/include/c++/random:38:0,
from /Users/Christopher_old/anaconda2/gcc/include/c++/bits/stl_algo.h:65,
from /Users/Christopher_old/anaconda2/gcc/include/c++/algorithm:62,
from ../src/paratext_internal_wrap.cxx:3507:
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1105:11: error: ‘::llrint’ has not been declared
using ::llrint;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1106:11: error: ‘::llrintf’ has not been declared
using ::llrintf;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1107:11: error: ‘::llrintl’ has not been declared
using ::llrintl;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1109:11: error: ‘::llround’ has not been declared
using ::llround;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1110:11: error: ‘::llroundf’ has not been declared
using ::llroundf;
^
/Users/Christopher_old/anaconda2/gcc/include/c++/cmath:1111:11: error: ‘::llroundl’ has not been declared
using ::llroundl;
^
In file included from /Users/Christopher_old/anaconda2/gcc/include/c++/system_error:39:0,
from /Users/Christopher_old/anaconda2/gcc/include/c++/mutex:43,
from ../src/csv/colbased_loader.hpp:40,
from ../src/paratext_internal_wrap.cxx:4993:
/Users/Christopher_old/anaconda2/gcc/include/c++/x86_64-apple-darwin11.4.2/bits/error_constants.h:135:24: error: ‘EOWNERDEAD’ was not declared in this scope
owner_dead =     EOWNERDEAD,
^
/Users/Christopher_old/anaconda2/gcc/include/c++/x86_64-apple-darwin11.4.2/bits/error_constants.h:151:34: error: ‘ENOTRECOVERABLE’ was not declared in this scope
state_not_recoverable =    ENOTRECOVERABLE,
^
In file included from /Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:0,
from ../src/python/numpy_helper.hpp:40,
from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp: In instantiation of ‘static PyObject* build_array_impl<Container, typename std::enable_if<std::is_arithmetic::value>::type>::build_array(const Container&) [with Container = std::vector; PyObject = _object]’:
../src/python/numpy_helper.hpp:299:71:   required from ‘PyObject* build_array(const Container&) [with Container = std::vector; PyObject = _object]’
../src/paratext_internal_wrap.cxx:10366:69:   required from here
/Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:77: error: ‘id’ is not a member of ‘numpy_type’
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:68:34: note: in expansion of macro ‘PyArray_SimpleNew’
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
^
error: Command "g++ -fno-strict-aliasing -I/Users/Christopher_old/anaconda2/include -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -g -fwrapv -O3 -Wall -I../src/ -I/Users/Christopher_old/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/Users/Christopher_old/anaconda2/include/python2.7 -c ../src/paratext_internal_wrap.cxx -o build/temp.macosx-10.5-x86_64-2.7/paratext/src/paratext_internal_wrap.o -std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT" failed with exit status 1

same for me.
python 2.7.11
swig 3.0.8
$ g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
$  python setup.py build install
/usr/local/bin/swig
0.1.1rc1
('running swig: ', ['swig', '-c++', '-python', '-I../src/', '-outdir', './', '../src/paratext_internal.i'])
../src/diagnostic/parse_and_sum.hpp:158: Warning 302: Identifier 'parse_token' redefined (ignored),
../src/diagnostic/parse_and_sum.hpp:129: Warning 302: previous definition of 'parse_token'.
/Users/atwigg/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
warnings.warn(msg)
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "_paratext_internal" sources
build_src: building npy-pkg config files
running build_py
copying paratext_internal.py -> build/lib.macosx-10.5-x86_64-2.7
copying paratext/init.py -> build/lib.macosx-10.5-x86_64-2.7/paratext
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_paratext_internal' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -I/Users/atwigg/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall
compile options: '-I../src/ -I/Users/atwigg/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/atwigg/anaconda/include/python2.7 -c'
extra options: '-std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT'
g++: ../src/paratext_internal.cpp
g++: ../src/paratext_internal_wrap.cxx
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values_.begin(), values_.end(), (T)0);
~~~~~~~~~~~~~~~^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~^
/Users/atwigg/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::1::vector<unsigned long, std::1::allocator >, void>::build_array' requested here
return (PyObject*)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10366:30: note: in instantiation of function template specialization 'build_array<std::1::vector<unsigned long, std::1::allocator > >' requested here
resultobj = (PyObject*)::build_array<std::vector<size_t>>(result);
^
1 warning and 5 errors generated.
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:34:
In file included from ../src/csv/colbased_chunk.hpp:31:
../src/util/widening_vector.hpp:308:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:308:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~~~~~~~~~~~^
../src/util/widening_vector.hpp:365:17: error: no member named 'accumulate' in namespace 'std'
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~^
../src/util/widening_vector.hpp:365:43: error: expected '(' for function-style cast or type construction
return std::accumulate<decltype(begin)>(values.begin(), values.end(), (T)0);
~~~~~~~~~~~~~~~^
In file included from ../src/paratext_internal_wrap.cxx:4993:
In file included from ../src/csv/colbased_loader.hpp:36:
../src/csv/parallel.hpp:67:46: warning: initialized lambda captures are a C++14 extension [-Wc++14-extensions]
.emplace_back( it, step, thread_id, f = std::forward(f)  {
^
In file included from ../src/paratext_internal_wrap.cxx:3142:
../src/python/numpy_helper.hpp:68:86: error: no member named 'id' in 'numpy_type'
PyObject array = (PyObject)PyArray_SimpleNew(1, fdims, numpy_type<value_type>::id);
~~~~~~~~~~~~~~~~~~^
/Users/atwigg/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:135:46: note: expanded from macro 'PyArray_SimpleNew'
PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL)
^
../src/python/numpy_helper.hpp:299:50: note: in instantiation of member function 'build_array_impl<std::__1::vector<unsigned long, std::__1::allocator >, void>::build_array' requested here
return (PyObject*)build_array_impl::build_array(container);
^
../src/paratext_internal_wrap.cxx:10366:30: note: in instantiation of function template specialization 'build_array<std::__1::vector<unsigned long, std::__1::allocator > >' requested here
resultobj = (PyObject*)::build_array<std::vector<size_t>>(result);
^
1 warning and 5 errors generated.
error: Command "g++ -fno-strict-aliasing -I/Users/atwigg/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -I../src/ -I/Users/atwigg/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/atwigg/anaconda/include/python2.7 -c ../src/paratext_internal_wrap.cxx -o build/temp.macosx-10.5-x86_64-2.7/paratext/src/paratext_internal_wrap.o -std=c++11 -Wall -Wextra -pthread -m64 -D_REENTRANT" failed with exit status 1

The problem
error: no member named 'accumulate' in namespace 'std'

is easily fixed. Just add the missing #include <numeric> to src/util/widening_vector.hpp.

The next error
error: ‘id’ is not a member of ‘numpy_type’

is fixed for me by adding the specialisation
template <> struct numpy_type<unsigned long>  { static const long id = NPY_ULONG; };

to src/python/numpy_helper.hpp.
With these two changes in place, python setup.py build finishes with exit status 0 for me.

The integer stuff across platforms is pretty annoying, see:
https://github.com/wesm/feather/blob/master/python/feather/interop.h#L71
and related #defines

Thanks @pipping

Confirmed, @pipping. Thank you


Try to update boost-cpp

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@grondo Are there any restrictions from the flux-sched side on a specific boost version? The tests build successful so I would like to update to a more recent boost version.

While this pull request checks the latest boost version, I guess it is better to link to the one suggested by conda-forge. So I am going to close this pull request in favor of https://github.com/conda-forge/flux-sched-feedstock/pull/8


Look at all values in request.POST

request.POST returns a QueryDict, which looks like a regular dict, but
has support for multivalue fields. A simple key access will always
return only the last value for the key, which means you can miss earlier
ones. Using getlist() instead means we can inspect each value.

Coverage remained the same at 63.102% when pulling c88d9c6b509405ef58f8dc186ef21f1307a6190b on MVBE-9126/multivalue-checkbox into e043f359887ce253c24f85df30d600baa35f5c88 on master.


crash on pushing popping view controller when casting

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value

-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.proximity' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.tp.heartbeat' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.tp.deviceauth' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.receiver.discovery' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.tp.connection' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.receiver' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.receiver.key_exchange' did connect
-[GCKCastChannel connectWithMessageSink:]  channel 'urn:x-cast:com.google.cast.media' did connect
-[GCKCastSession deviceController:didResumeConnectionWithRejoin:]  unexpected callback in state
setMediaInfo
viewWillAppear; mediaInfo is Optional(<GCKMediaInformation: 0x1c04a34e0>), mode is remote
viewWillDisappear
setNavigationBarStyle: Default
SHOW NavBar.
viewWillAppear - Table view
prepareForSegue
selected row is [0, 1]
setMediaInfo
in MediaViewController viewDidLoad
viewWillAppear; mediaInfo is Optional(<GCKMediaInformation: 0x1c00ae460>), mode is none
fullscreen=false


Adding images doesn't work in the browser

Using Browserify width PDFKit works great, but there's an issue with brfs when trying to add an image (see https://github.com/substack/brfs/issues/36).
Trying to add an image gives you this in the console:
TypeError: fs.readFileSync is not a function
Basically, the transform for fs.readFileSync() only works when a string is the first parameter. Line 30 of image.js seems to be the problem:
data = fs.readFileSync(src);
Try adding any image to the demo and you get the same thing. The issue referenced above in the brfs repo has been open since October and doesn't sound trivial. Any suggestions for a way round this problem?

I also experienced this problem and managed to fix it by adding a little tweak to the library. I'd probably be nice if someone added this tweak to the next version of the library so this won't be a problem to so many people anymore.
You can read about the tweak at my post in this issue: #371.
It adds an extra line, marked by //START NEW and //END NEW

There is a simple workaround when using browserify.
require('buffer');
var arraybuffer = 'image from server';
doc.image(new Buffer(arraybuffer));

It worked fine for me.

Thanks a lot, simonbernard!
You saved me.

@simonbernard @itditp  Can you please let know how to use browserify to use given solution by simonbernard ?

Here's an example: https://jsfiddle.net/rkolasie/6xxmLa38/


[WIP] Make multiple repositories selectable @ issues/PR page

Will partially fix #6355

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f7f2f12). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #6369   +/-   ##
=========================================
  Coverage          ?   38.87%
=========================================
  Files             ?      365
  Lines             ?    51341
  Branches          ?        0
=========================================
  Hits              ?    19957
  Misses            ?    28511
  Partials          ?     2873

Impacted Files
Coverage Δ

routers/user/home.go
36.16% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7f2f12...16222fe. Read the comment docs.

I'm not completely in the loop for this but why do we still have repoID and repoIDs here?

I'm not completely in the loop for this but why do we still have repoID and repoIDs here?

Assuming you mean "why both", I think it is for fear of accidentally influencing something outside the scope of my intentions. I believe we can replace repoID with repoIDs[0] in the cases where there is only one, but I haven't been wanting to accidentally overreach.

@oscarlofwenhamn from code readable consideration, I think @zeripath 's idea is better to keep only RepoIDs []int64.

Passes the tests, but doesn't work locally when I test (404, ironically, since this was the first thing the tests complained about).

A big problem is the newly added pagination, which is largely incompatible with my previous solution. I'll get to work in this in a few days, I think that the bulk of the problem is to

[ ]  Successfully pass the RepoIDs instead of RepoID as pagination parameters (a simple switch doesn't work as the paginator interprets and outputs a list like repos[]=[4,5,6] rather than repos[]=4&repos[]=5...),
[ ]  Implement a new kind of "Total" count to keep the number of issues displayed on the All tab constant,

That is, that's what I've been able to figure out so far.

I'm at a loss, if I don't have a eureka moment when working on this next I think I will comment out the test in question:
Messages: Request: GET /issues?type=created_by&repos=[0]&sort=&state=closed
--
247 | testlogger.go:57: 2019/05/15 06:47:22 ...ers/routes/routes.go:108:func1() [I] Completed GET /issues?type=created_by&repos=[0]&sort=&state=closed 404 Not Found in 2.919792ms

Since there are a number of tests in the same document that are commented out, with reason listed as basically "these 404 when they should be fine", it doesn't seem like something that is unheard of. If the rest of the build runs fine, we can take a stance on the test in question, unless someone can think of what might  be wrong - functionality is now as expected and desired.

Clicking "All" shows issues from all repos
Clicking repos in the sidebar list makes them highlighted in the list and makes only issues from selected repos visible
Clicking a selected repo makes it unselected
Repo selection persists through selection of different created_by and through pagination changes

It seems like the issue is the combination of issues and created_by (since the pull request tests work), i.e.
// "/issues?type=created_by&repos=[0]&sort=&state=closed",
// "/issues?type=created_by&repos=[0]&sort=&state=open",

If anyone has any suggestions I would really appreciate a hand, currently I'm out of ideas.

Hmm commenting out tests with the message "these should be fine but they're not" means that things are not fine at all...
Ok you've got my attention.
Look at a single URL that doesn't work and trace it back through.

Your 404 is probably coming from here:
https://github.com/oscarlofwenhamn/gitea/blob/3fc7bb176040001a8788034c111cefb6d684db02/routers/user/home.go#L329
Which implies that the testing user does not have permission to read the issues of that's repository.
Does that make sense at all?

Now probably I'd say that if you can't read a repository you should drop those issues from the list and from the totals found but I would have to look properly at this.
It might be better to only search in repositories that the user has access to but you'd have to look at which is more efficient.

Thanks, that gives me some new points to mix my thought loop up. I feel like I've been staring myself blind at it a bit, so it's good to get a second look.
I am suspecting the same source of the 404 (tampering with that chunk was what made the one previous test succeed despite not working in practice), so I'll make some new attempts at what you're suggesting.

I'm currently not able to keep working on this for a while, so I'm thinking it can be moved to 1.x.x for now. If someone feels like picking it up, they'd be welcome to do so.

#8741 continue this


v0.108.7

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_3fue8x1own/clone/recipe/meta.yaml:26: patch_must_be_in_build: patch must be in build when source/patches is set.
ERROR: /tmp/abs_3fue8x1own/clone/recipe/meta.yaml:26: patch_must_be_in_build: patch must be in build when source/patches is set.
ERROR: /tmp/abs_3fue8x1own/clone/recipe/meta.yaml:28: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_3fue8x1own/clone/recipe/meta.yaml:65: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_3fue8x1own/clone/recipe/meta.yaml:67: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_fcomo6da9m/clone/recipe/meta.yaml:28: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_fcomo6da9m/clone/recipe/meta.yaml:65: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_fcomo6da9m/clone/recipe/meta.yaml:67: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_ccjnkr7iu0/clone/recipe/meta.yaml:28: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_ccjnkr7iu0/clone/recipe/meta.yaml:65: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_ccjnkr7iu0/clone/recipe/meta.yaml:67: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Allowed memory size of x bytes exhausted (tried to allocate x bytes)

Facing memory limit issue on production while transferring zip file of size 730MB:
ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554464 bytes) at nao-pon/flysystem-google-drive/src/GoogleDriveAdapter.php:1191
Current production memory limit is 128MB.
I tried to debug inside GoogleDriveAdapter.php and found that it creates chunks of 33554432 bytes(32MB) and uploads them one by one. In my case, First 4 chunks were successfully uploaded, but on 5th chunk it failed with above error.

A recent PR I made may fix this issue.


Framework support Driver for Svelte

Hello,
I have just discovered localForage and it looks like an amazing library that I would like to use. My project is using Svelte (and SvelteKit). Would it be possible to add support for this framework? Or potentially is there no additional driver required for this?
Please let me know, thanks!

Update: I tested some basic functionality like getting and setting a record and it seems to be working, so maybe no further action is required?

localForage is a storage library that doesn't need explicit framework support; it should work with Svelte the same as any other browser JS code 🙂

Yep you are correct, it does work and I meant to close this issue. Thanks!


64 bit version?

I'm using BitPacker4x, and it appears to compress only 32 bit integers. Is there a way to compress an array of 64 bit integers?

Currently not implemented in this crate.


fix: Kustomization migration assumes git creds is needed when repo is public

#6

Can you merge this? I need this functionality. Thanks!

@mitchross we need wait for a review .
@christianh814  can you help us?


fix: spark.executor.cores' default value based on master when counting workers

This pr is fixing spark.executor.cores' default value based on master when counting workers.
The default value of spark.executor.cores is different as what master is.
It is 1 in YARN mode. In other case, It is all the available cores on the worker in standalone and Mesos coarse-grained modes.
(https://spark.apache.org/docs/latest/configuration.html)
Currently, I've tried to use mmlspark based on spark on k8s. When I did not set spark.executor.cores, error was occured. It is because not matched expected num of mmlspark workers with actual value.

/azp run

will need to test this out a bit since there have been a lot of issues in the past around this specific code section

/azp run

/azp run

the build was all green but it's not updating in github, weird, looks like some github bug

@imatiach-msft I wrote new unittest and pushed. However, It is hard to tested mmlspark's unittest in my local environment . Please check it :)

/azp run

@imatiach-msft Can I see why the build failed?

/azp run

/azp run

@ocworld the style checker is failing on:
[error] /home/vsts/work/1/s/src/test/scala/com/microsoft/ml/spark/core/utils/VerifyClusterUtil.scala: Header does not match expected text
It looks like you need to add this copyright message at the top of the file to pass the style checker:
// Copyright (C) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in project root for information.

@ocworld I tried this PR out on a cluster (azure databricks) with Higgs dataset and it didn't change the training time for me (compared to previous runs), so it seems safe to me at least in that scenario.  I think they use spark standalone mode for databricks clusters.

@ocworld the style checker is failing on:
[error] /home/vsts/work/1/s/src/test/scala/com/microsoft/ml/spark/core/utils/VerifyClusterUtil.scala: Header does not match expected text
It looks like you need to add this copyright message at the top of the file VerifyClusterUtil.scala to pass the style checker:
// Copyright (C) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in project root for information.

Copyright is added in the file

@ocworld I tried this PR out on a cluster (azure databricks) with Higgs dataset and it didn't change the training time for me (compared to previous runs), so it seems safe to me at least in that scenario. I think they use spark standalone mode for databricks clusters.

Thanks for your test

/azp run

it looks like @mhamilton723 is required to review as a code owner (can't seem to merge), can you please review this PR @mhamilton723 ?

@ahnlab-oss


Bug when using ${filename}

Hi,
Nice lib, good job!
"The key name of the uploaded object.
To use the file name provided by the user, use the ${filename} variable. For example, if a user User1 uploads a file photo1.jpg and you specify /user/user1/${filename}, the file is stored as /user/user1/photo1.jpg."
When using ${filename} in the filename input I get an error with the "success_action_redirect", not a big deal. Works when comment out "filename" in "success_action_redirect".

Hi,
this is not really a bug ;-)
I tried to reproduce your case.
The point is that you have to change the redirect url. This can be done by setting the redirectUrlTemplate option.
Because i see this is a typical use case i added a section "Use Cases" to the readme and extended the example server to handle ${filename}.
Please let me know if this fixes your issue?


[RFE] persist feeds added with slash command

Hi,
First of all, thanks for this great piece of software.
You can add a feed with the slash command, but this is not persisted in the configuration file or elsewhere so each time the rss bot is restarted, you loose the feeds you added.
Could it be possible to persist them in some way ?

Actually, it is correctly persisted in feeds.env if this file exists but it seems that this file is not even read at startup

I finally managed to read feeds.env on startup by putting this in my settings.py file instead of the standard feed definition:
content = []
with open("feeds.env") as f:
    for line in f:
        name, val = line.partition("=")[::2]
        content.append((name, val.strip("\n'")))

feeds = [RssFeed(
                k.replace('RSS_FEED_', ''),
                v.split(';')[0],
                v.split(';')[1] if v.count(';') >= 1 else integration_bot_img,
                v.split(';')[2] if v.count(';') >= 2 else integration_bot_name,
                v.split(';')[3] if v.count(';') >= 3 else default_channel,
                v.split(';')[4] == 'True' if v.count(';') >= 4 else default_show_name,
                v.split(';')[5] == 'True' if v.count(';') >= 5 else default_show_title,
                v.split(';')[6] == 'True' if v.count(';') >= 6 else default_show_description,
                v.split(';')[7] == 'True' if v.count(';') >= 7 else default_show_url)
        for k,v in content if k.startswith('RSS_FEED_')]

maybe you can update the settings.py.sample to explain that to new users?

In fact, the part reading the feeds.env file is in settings.py.docker file, as the feeds.env method is coming from the docker running mode.
But you're right, we can either update the settings.py.sample or create a new sample settings.py using the feeds.env


Remove app side balance checks

Adding 2 checks to channel bid (equal to balance, and equal to 0) based on https://github.com/lbryio/lbry-app/pull/794 because the error messages don't make it from the daemon, so will these in place.
Removed publish side check, error message from the daemon are now more accurate.
Tested this out locally.

Looks good. I would just switch to === instead of ==

@seanyesmunt / @liamcardenas this can actually be merged now, doesn't need the latest daemon RC.


Cannot get link to clone using SSH

Describe the bug
When trying to clone a repository, a link starting with 'https://'... is shown although the button on the right shows "Use HTTPS". Pressing the "Use HTTPS" / "Use SSH"-Button does not change the link.
To Reproduce

Use the "Clone Repository" Button on any exercise of any course.
Activate the "Use HTTPS" / "Use SSH"-Button.
The link doesn't change.

Expected behavior
Getting the link to clone using SSH upon pressing "Use SSH".
Screenshots
With SSH enabled:

With HTTPS enabled:

Environment

 - OS: Windows 10
 - Browser: Both Firefox 84.0.2 and Chromium 86.0.4204.0
 - Version: Artemis 4.9.3

Output in Web Console

  No output on the Web Console.

Having the same issue. Workaround to get the SSH Link:

Copy the https Link from Artemis
Open it in the browser to get to BitBucket
Copy the SSH Link from the Clone button on the left

Having the same issue. Workaround to get the SSH Link:

Copy the https Link from Artemis
Open it in the browser to get to BitBucket
Copy the SSH Link from the Clone button on the left

Duplicate of #2776


Design Doc [Final Doc]

Feedback from Avenue
Please update the concerned documents based on the feedback from the Professor and TA on Avenue.
Important: Also, update the document with the latest information based on our Final Demo/Product.
Design Doc

[ ] Design Document revised and improved - @
[ ] missing variables - @
[ ] only one review - @
[ ] An excellent job has been doing addressing the feedback from the Tas, instructor, supervisor (when present), teammates,  other teams, and test users.  The feedback has been conscientiously, completely and consistently addressed.  The changes are clearly and completely documented.
[ ] Update major revisions table.
[ ] Check the Important note above - @
[ ] Refer to the rubric - @
[ ] Reviewed by @{other team member}

Originally posted by @tusharagg1 in #130

MG: Updated modules regarding ML model according to the implementation, and subsequent changes in traceability
MIS: updated MIS for backend ML modules according to changes during implementation
SystDes:


Deeply nested selector cache not clearing in write phase immediately

  test("write and read selector in write phase", () => {
    const spy = jest.fn();
    const a = mut(0);
    const b = mut(1);
    const s_1 = comp(() => b.val + 1);
    const s_2 = comp(() => s_1.val + 1);
    const s_3 = comp(() => s_2.val + 1);

    const e = expr(() => {
      if (a.val > 0) {
        b.val = a.val + 1;
        spy(s_3.val);
      }
    });
    e[0]();

    expect(s_3.val).toBe(4);

    a.val = 1;
    expect(spy).toBeCalledTimes(2);

    expect(spy).toHaveBeenNthCalledWith(1, 4); // TODO: in that case possible to exclude
    expect(spy).toHaveBeenNthCalledWith(2, 5);
  });

See that test on reactive-box github repo

In progress

In progress


On-screen keyboard issues

Apon clicking the "Enter" or the "Tab" key it just writes out the word "Enter" or "Tab". I plan on fixing this either later tonight or sometime soon.

when i was making the keyboard i added those keys and expected to give them functionality at some point but they literally just type out the character. it could be more useful to have those be actual keys (e.g. tab could be ` or ~ key and the enter could close the modal or make a newline so we can save on the confirm/cancel buttons at the bottom)

One way you could address this keyboard issue is to make the buttons actually do something (looks kind of cursed without the confirm/cancel buttons on screen though)


about the env

Hi! I am interested in your amazing work but i met some problems when installing needed packages. Could you please release a list of needed packages or requirements.txt? Thank you!

Hi @LighteningDarkness, were you able to resolve the dependencies? I'm having problems running the code to

Hi @LighteningDarkness, were you able to resolve the dependencies? I'm having problems running the code too

not yet...i met new problems


Updated readme terraform

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

I think the original terminology is more accurate tbh.

@Rugvip modified a bit , look if its ok or else will close the request TIA .


⚠ Fetchers has degraded performance

In 93140b6, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 435 ms

Resolved: Fetchers performance has improved in 9793e9e.


Extended 'spo sitedesign apply' with large site designs solving #714

Extended 'spo sitedesign apply' with large site designs solving #714

Coverage remained the same at 100.0% when pulling 561a7bf4895207d9ea6c567dcfe413305d41afc0 on waldekmastykarz:enh-sitedesign-apply into 8354ad6d7fb2cfe21f428f988f98886e9ac0e626 on pnp:dev.

Merged manually


[test-only]

/hold

/test 415-test-e2e-tls-aws-415

could not run steps: step test-e2e-tls-aws-415 failed: failed to wait for the created cluster claim to become ready: timed out waiting for the condition

/test 415-test-e2e-tls-aws-415

/test 415-test-e2e-tls-aws-415

/test 415-test-e2e-tls-aws-415

Not sure if we really have test failures, IMHO we just time out:

=== Failed
=== FAIL: test/e2e/clusterlocaldomaintls  (0.00s)
panic: test timed out after 2m0s

=== Failed
=== FAIL: test/e2e  (0.00s)
panic: test timed out after 30m0s

@skonto @mgencur PTAL.

/unhold

/hold we need https://github.com/openshift-knative/serving/pull/732 first (as it changes the patch).

LGTM

/lgtm

/unhold


Feature request-TLS Inspection feature on Azure Firewall

Is there an existing issue for this?

[X] I have searched the existing issues

Community Note

Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
We are looking to enable TLS inspection on the Azure firewall premium and the issue raised to track this
New or Affected Resource(s
azurerm_firewall
Potential Configuration file
No response
References
No response

Need more details on what is needed + proposition of the potential configuration file

Something like this was needed:
Sourced from application_gateway.tf for tls_certificate:
  dynamic "tls_certificate" {
    for_each = try(var.settings.tls_certificate, null) == null ? [] : [1]

    content {
      name                = var.settings.tls_certificate.name
      key_vault_secret_id = var.keyvault_certificates[var.settings.tls_certificate.name].secret_id
    }
  }

and for identity:
  dynamic "identity" {
    for_each = try(var.settings.identity, null) == null ? [] : [1]

    content {
      type         = "UserAssigned"
      identity_ids = local.managed_identities
    }
  }


Base checkout and make did not work can't find crate for std

I tried to check this out and build; however it didn't appear to work
> $ make                                                                                [±main ✓]
docker run --rm -v "/Users/pasta/workspace/i-probably-didnt-backdoor-this:/app" -w /app -u "501:20" \
		rust@sha256:8463cc29a3187a10fc8bf5200619aadf78091b997b0c3941345332a931c40a64 \
		cargo build --release --locked --target=x86_64-unknown-linux-musl
   Compiling asdf v0.1.1 (/app)
error[E0463]: can't find crate for `std`
  |
  = note: the `x86_64-unknown-linux-musl` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-unknown-linux-musl`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `asdf`

To learn more, run the command again with --verbose.
make: *** [build] Error 101

I suspect this is run on an aarch64 computer, the hash that is pinned in this command is for a manifest list, so there are two different containers that may be used (x86_64-unknown-linux-musl and aarch64-unknown-linux-musl):
docker manifest inspect rust@sha256:8463cc29a3187a10fc8bf5200619aadf78091b997b0c3941345332a931c40a64
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 953,
         "digest": "sha256:9a6e2a77192a24806453ad5f94106a9216aa3c91516ddb0f897e13df8f8ce6ea",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 953,
         "digest": "sha256:b6448e792e8bc77a72765f1e47039777a5104ddbaad133bbc3853f4bb616d272",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      }
   ]
}

You can check the available toolchains like this:
docker run --rm rust@sha256:8463cc29a3187a10fc8bf5200619aadf78091b997b0c3941345332a931c40a64 ls -la /usr/local/rustup/toolchains/


websocket lunch on remote host

hi, I'm sorry to open ticket for my question , but actually I'm not pro in php and with your instruction not figure out how to install it in my remote directory host , and really appreciate for couple of hints , in fact I've tried to hook url on my host to the Telegram webhoock call back bot, so at first step new update data inserted to MySQL database then websoket server give the update data to designated live client .
can you tell me which files should be copy in designated host URL and what files should be modified?
Thanks

You don't.  These files should not be accessible directly through a URL.  They open up a non-web port on your server after being executed like other server software.
You need shell access to your server.  You need to understand what all of that means first.


Move test scaffold to new libvast_test library

This allows the usage of the test fixtures from other projects.
Warning: This commit requires a clean build directory to compile/work!
Todo:

[ ] install artefacts, generate install interface data.hpp

I don't know what you're talking about. :whistle:

Something doesn't seem right with the Jenkins build:
[ 55%] Linking CXX static library ../lib/liblibvast_test.a
/usr/bin/ar: invalid option -- 'g'
Usage: /usr/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
       /usr/bin/ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  s            - act as ranlib
  t            - display contents of archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [D]          - use zero for timestamps and uids/gids
  [U]          - use actual timestamps and uids/gids (default)
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [T]          - make a thin archive
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
  --target=BFDNAME - specify the target object format as BFDNAME
 optional:
  --plugin <p> - load the specified plugin
 emulation options:
  No emulation specific options
/usr/bin/ar: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386 plugin srec symbolsrec verilog tekhex binary ihex
gmake[2]: *** [libvast_test/CMakeFiles/libvast_test.dir/build.make:115: lib/liblibvast_test.a] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1386: libvast_test/CMakeFiles/libvast_test.dir/all] Error 2
gmake: *** [Makefile:141: all] Error 2
null exited with failure code 2

Green light; I'm just waiting for an answer to @Neverlord's question.

@tobim green light from my end, but could you please fix the conflicts for merging?

@mavam please don't merge this yet, it lacks a proper way to use libvast_test from a vast installation.

@mavam @Neverlord the conflicts are resolved, but please have a look at the 3 latest commits before you merge.

In a nutshell, the generated data.hpp does not contain full paths to the log files any more. Instead, the first part of the path is supplied to the compiler by cmake. This is done to find the files from the source tree if used from the BUILD_INTERFACE or from the installation prefix if used from the INSTALL_INTERFACE. Generating 2 separate data.hpps with absolute paths would have been nicer, but would also require some additional complexity in the CMakeLists.txt. I opted for the implemented shortcut with the hope that we can get rid of those files in the not-to-distant future.


Handling of Unicode -- Broken

Tried to batch some torrents earlier. Japanese characters of all sorts came out broken on the other end.
デート・ア・ライブ
became
ãƒ‡ãƒ¼ãƒˆãƒ»ã‚¢ãƒ»ãƒ©ã‚¤ãƒ
くつろぎタイム
became
ãã¤ã‚ãŽã‚¿ã‚¤ãƒ
スフィア
became
ã‚¹ãƒ•ã‚£ã‚¢
Etc etc.

Are the filenames broken for you in the torrent itself (i.e. when you open the torrent with a client), the filename of the torrent, or both? I know there is an issue with the latter, which I will be fixing.

Honestly don't remember. This was only my 2nd time using it and I ended up
going a different route after it didn't work. Sorry I don't have more info
for you.


Re-render after Import

Hi, following other questions I was able to implement 2 changes that are working fine:
1- Adjust the connection to be used horizontally.
2- Add and remove a class to the input dot when a connection is successfully made.
So far so good, the problem is when I save the JSON code and then imported it, the following issues occur:
1- The curvature line is a little off the Dots:

Moving the Node it fixes it:

Is there any way to re-render all curvatures after editor.import(dataToImport)?
Maybe calling this function but not sure how to call it from the edit.drawflow:

2- When importing, the class I applied to the input dots is rolled back, any idea how can I reapply this class to each input dot that has a valid connection?:
Before the Import:

After the Import (rolled back to his default class):

Try this comment: https://github.com/jerosoler/Drawflow/issues/371#issuecomment-1061686102
You have to add the class again. You can parse the json file you import to add them back.

-1 Worked using that comment.

Will try to loop all available inputs and check who has a connection.

Thanks for your help. Amazing~!

-2 Working like a charm after Import:
setTimeout(function(){
editor.import(dataToImport);
for (var i = 1, b = Object.keys(dataToImport["drawflow"]["Home"]["data"]).length; i <= b; i++)
{
for (var x = 1, c = Object.keys(dataToImport["drawflow"]["Home"]["data"][i]["inputs"]).length; x <= c; x++)
{
if ( Object.keys(dataToImport["drawflow"]["Home"]["data"][i]["inputs"]["input_"+x]["connections"]).length > 0 )
{
document.querySelector('#node-'+i+' .input_'+x).classList.add("filled");
}
}
}
}, 1000);


#3376  fix bug(change all 'targetTouches' to 'touches')

#3376  fix bug
zoom-in/out image by pinch gesture(It doesn't work when one finger is on the picture and the other is on the black background)
I only changed one file, which may cause other bugs
change all 'targetTouches' to 'touches'

pointer-events:none; seems to solve this problem, but it will cause other problems, such as long press to save the picture


VerifyFunctionWithRequest has invalid typings definition

VerifyFunctionWithRequest expects req, clientCert, done but the typescript definition was clientCert, req, done.

+1!


Updated windows installation docs

Updates the Windows installation documentation following @manics installation scripts.
Deployed on https://www.openmicroscopy.org/site/support/omero5.2-staging/sysadmins/windows/server-installation.html
A few notes:

I listed all python dependencies which are installed by the script also on the docs page, but most of their description currently marked with an "?" as I don't know what they are actually for.
Also I don't know if/what kind of update the other windows pages need, e. g. https://www.openmicroscopy.org/site/support/omero5.2-staging/sysadmins/windows/service-tools.html
@aleksandra-tarkowska : Is the remark about unsetting omero.web.session_engine and omero.web.caches still valid for Django 1.8?

@dominikl thanks for the update, could we also add under screenshot IIS 7 Application Pool Advanced Settings note block if deploying on 64-bit Enable 32 bit applications setting set back to False?

I'm currently using windows server 2012 for testing (as windows 8 desktop doesn't work that well), which has a little bit different GUI, so the screenshot would look a bit different, if that's not a problem I can add a screenshot. But shouldn't the Enable 32 bit part be set to True!?

And I'm not sure what to do with this "additional Libraries" section. Are these all libraries for OMERO.web? Then I could move the whole section to iis-install doc. If it's just meant for the OMERO.server Django would actually be an optional library. This section is really more confusing than helpful.

But shouldn't the Enable 32 bit part be set to True!?
I think If you install 64-bit python, it is no longer 32-bit application that's why should be false. On WindowsServer2012 with Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] web is not working when processes in WOW64 are in 32bit mode.

Is the remark about unsetting omero.web.session_engine and omero.web.caches still valid for Django 1.8?

As we don't know which version people update from, I would leave it.

I thought we dropped support for 32 bit OMERO.server?

https://www.openmicroscopy.org/site/support/omero5.2-staging/sysadmins/windows/server-installation.html  I just ran through the doc again, now at the last step, starting omero.web in development mode. if you follow the instruction you get stuck there with error "django not installed"
so i'll just add the instruction pip install -r share/web/requirements-py27-nginx.txt there was well.

I renamed requirements fine to be more usable across the doc. Could you add pip install -r share/web/requirements-py27-win.txt

Just checked, one really doesn't need to enable the 32bit feature.

Ah sorry, no I understand what you meant @aleksandra-tarkowska , the screenshot is still showing the enabled 32bit option. I'll add a new screenshot.

need to indicate that pillow version is 2.9.0
see https://github.com/ome/figure/pull/136

A passing comment having not looked at this deeply: very nice.

Review last commit only, deployed on https://www.openmicroscopy.org/site/support/omero5.2-staging/sysadmins/windows/install-web/install-iis.html

Merge build running now, last commit will be built in about 10 mins

@dominikl thanks looks good

Looks pretty good to me.

Waiting on code PR being merged before I merge this.

@hflynn we also need to merge https://github.com/openmicroscopy/openmicroscopy/pull/4296. I wasn't able to fix Windows build as I have no rights on burbot and don't know anything about omego.

Both linked PRs merged so merging


Race condition when a buildpack is deleted

Issue
Race condition when a buildpack is being deleted.
Context
When you delete a buildpack, the blob is deleted first and then (to our understanding) the record in the database:
https://github.com/cloudfoundry/cloud_controller_ng/blob/main/app/actions/buildpack_delete.rb
If an app is pushed at the same time and uses buildpack auto-detection, the push can fail with:
Staging app and tracing logs...
Staging error: Missing blob for <buildpack being deleted>. Specify a different buildpack with the -b flag or contact your operator.

Note that the app uses a different buildpack. Workaround is to specify a fixed buildpack so that auto-detection does not try to use the buildpack being deleted.
Steps to Reproduce
Could be reproduced by inserting a wait/sleep after blobstore deletion and before database deletion:
https://github.com/cloudfoundry/cloud_controller_ng/blob/76cb268b88909a0e07e60c3c3b82f1ce52fbe1be/app/actions/buildpack_delete.rb#L12
Expected result
The push should not fail.
Current result
The push can fail with the error shown above.
Possible Fix
The database record should be deleted first so that the buildpack is not referenced in the auto-detect process. The buildpack blob should be deleted afterwards.

Fixed with #2133.