Git Product home page Git Product logo

ironclad's People

Contributors

bcsharp avatar moto-timo avatar paweljasinski avatar slozier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ironclad's Issues

data\api\_stubmain.generated.xml

Hi all, i'm trying to build Ironclad 2.7 but the scons.bat fails to build with a missing "data\api_stubmain.generated.xml".

Any idea?

Marshal.PtrToStructure() broken in IronPython 2.7.x?

The 5 tests which are throwing errors in tests.cpymarshaltest :

  • testWriteDouble,
  • testWriteDoubleField,
  • testWriteIntField,
  • testWritePtrField,
  • testWriteUIntField

have in common that they call Marshal.PtrToStructure().

For example:

>>> data = Marshal.AllocHGlobal(CPyMarshal.DoubleSize)
>>> doubleStruct = Marshal.PtrToStructure(data, DoubleStruct)
Traceback (most recent call last):
ValueError: The specified structure must be blittable or have layout information.
Parameter name: structure

However, CPyMarshal.cs does provide layout information:

    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct DoubleStruct
    {
        public double value;

        public DoubleStruct(double inValue)
        {
            this.value = inValue;
        }
    }

This is related to Exceptions in Windows PowerShell, other dynamic languages, and dynamically executed C# code when code that targets the .NET Framework calls some methods

C# unit tests pass (see CPyMarshalTest.cs)

Creation of the Docker container fails due to reboot requirement

When creating a Docker image using command

docker build -t ironclad-build:v3.4wip -m 2GB .

the following error occurs:

Step 6/8 : RUN Set-ExecutionPolicy Bypass -Scope Process -Force;     [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;     iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));         choco install -y python3
 ---> Running in 2265418ff3d2
Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.2.2.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.2.2 to C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Extracting C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip to C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocoInstall
Installing Chocolatey on the local machine
The registry key for .Net 4.8 was not found or this is forced
Downloading 'https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe' to 'C:\Users\ContainerAdministrator\AppData\Local\Temp\ndp48-x86-x64-allos-enu.exe' - the installer is 100+ MBs, so this could take a while on a slow connection.
Installing 'C:\Users\ContainerAdministrator\AppData\Local\Temp\ndp48-x86-x64-allos-enu.exe' - this may take awhile with no output.
.NET Framework 4.8 was installed, but a reboot is required. 
 Please reboot the system and try to install/upgrade Chocolatey again.
At C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocoInstall\t
ools\chocolateysetup.psm1:815 char:11
+           throw ".NET Framework 4.8 was installed, but a reboot is re ...
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (.NET Framework ...ocolatey ag
   ain.:String) [], RuntimeException
    + FullyQualifiedErrorId : .NET Framework 4.8 was installed, but a reboot i
   s required.
 Please reboot the system and try to install/upgrade Chocolatey again.

The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Set-ExecutionPolicy Bypass -Scope Process -Force;     [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;     iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));         choco install -y python3' returned a non-zero code: 1

I am using branch ipy3-wip, but a similar error happens on branch Docker (for ipy 2.7).

Handle unicode related structs

Placeholder issue for all things related to the str/unicode changes.

With Python 3 most of the str related stuff goes to bytes so we probably need to add support for unicode related structs (e.g. PyUnicode_Type, PyUnicodeObject).

Handle long related structs

Placeholder issue for all the things related to the int/long changes.

With Python 3 most of the int related stuff goes away and is replaced by the long structs (e.g. PyLong_Type, PyLongObject).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.