discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

chr() is documented for 2014.03 but is in fact "unknown"

F
funnypolynomial
Thu, Jan 8, 2015 8:07 PM

The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the
chr() function.
I have 2014.03 installed on my machine but using the first example

echo(chr(65), chr(97));      // ECHO: "A", "a"

produces a warning that 'chr' is an unknown function and the output is
undef, undef.
What am I missing?

Note also that the chr() help talks about requiring version 2014.QX.  That
goes to a link in GitHub, which isn't very helpful.  Is 2014.QX now
2014.03?

--
View this message in context: http://forum.openscad.org/chr-is-documented-for-2014-03-but-is-in-fact-unknown-tp10957.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the chr() function. I have 2014.03 installed on my machine but using the first example echo(chr(65), chr(97)); // ECHO: "A", "a" produces a warning that 'chr' is an unknown function and the output is undef, undef. What am I missing? Note also that the chr() help talks about requiring version *2014.QX*. That goes to a link in *GitHub*, which isn't very helpful. Is 2014.QX now 2014.03? -- View this message in context: http://forum.openscad.org/chr-is-documented-for-2014-03-but-is-in-fact-unknown-tp10957.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Jan 8, 2015 8:19 PM

On Jan 8, 2015, at 15:07 PM, funnypolynomial funnypolynomial@gmail.com wrote:

The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the
chr() function.

The labeling of the cheat sheet is wrong. We should really have two cheat sheets, one for the latest release and one for the development snapshots.
Version 2014.QX is the upcoming release (X == 5 ;))

-Marius

On Jan 8, 2015, at 15:07 PM, funnypolynomial <funnypolynomial@gmail.com> wrote: > The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the > chr() function. The labeling of the cheat sheet is wrong. We should really have two cheat sheets, one for the latest release and one for the development snapshots. Version 2014.QX is the upcoming release (X == 5 ;)) -Marius
WW
William W Martin
Thu, Jan 8, 2015 11:12 PM

speaking of development snapshots, is anyone else getting "not found"
errors from their
package updater (Linux)? For a few days now the nightly build is not
being found, even though
the package updater thinks there is something new in the repo. See below:

W: Failed to fetch
http://download.opensuse.org/repositories/home:/t-paul/xUbuntu_14.04/./i386/openscad-nightly_20150108T193437.git10bee49_i386.deb
404  Not Found [IP: 195.135.221.134 80]

-bill

On 01/08/2015 12:19 PM, Marius Kintel wrote:

On Jan 8, 2015, at 15:07 PM, funnypolynomial funnypolynomial@gmail.com wrote:

The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the
chr() function.

The labeling of the cheat sheet is wrong. We should really have two cheat sheets, one for the latest release and one for the development snapshots.
Version 2014.QX is the upcoming release (X == 5 ;))

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

speaking of development snapshots, is anyone else getting "not found" errors from their package updater (Linux)? For a few days now the nightly build is not being found, even though the package updater thinks there is something new in the repo. See below: W: Failed to fetch http://download.opensuse.org/repositories/home:/t-paul/xUbuntu_14.04/./i386/openscad-nightly_20150108T193437.git10bee49_i386.deb 404 Not Found [IP: 195.135.221.134 80] -bill On 01/08/2015 12:19 PM, Marius Kintel wrote: > On Jan 8, 2015, at 15:07 PM, funnypolynomial <funnypolynomial@gmail.com> wrote: > >> The OpenSCAD cheat sheet is labelled "2014.03" and includes a link to the >> chr() function. > The labeling of the cheat sheet is wrong. We should really have two cheat sheets, one for the latest release and one for the development snapshots. > Version 2014.QX is the upcoming release (X == 5 ;)) > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >
TP
Torsten Paul
Fri, Jan 9, 2015 12:16 AM

On 01/09/2015 12:12 AM, William W Martin wrote:

speaking of development snapshots, is anyone else getting "not found" errors from their
package updater (Linux)? For a few days now the nightly build is not being found, even though
the package updater thinks there is something new in the repo. See below:

I'm regularly installing the Ubuntu-14.10 version on my Debian system which
did not show any problems.
Maybe the 14.04 build got confused somehow. I just tried installing on my
Ubuntu 14.04 VM and that worked.

The timestamp from your error message looks strange. It's 2015.01.08 19:34:37
but the current version is openscad-nightly_20150108T170026.git76dc380_i386.deb
That could mean some strange timezone problems going on...

I'm not sure how to convince the installer to reconsider, maybe

sudo apt-get update
sudo apt-get install --reinstall openscad-nightly

ciao,
Torsten.

On 01/09/2015 12:12 AM, William W Martin wrote: > speaking of development snapshots, is anyone else getting "not found" errors from their > package updater (Linux)? For a few days now the nightly build is not being found, even though > the package updater thinks there is something new in the repo. See below: > I'm regularly installing the Ubuntu-14.10 version on my Debian system which did not show any problems. Maybe the 14.04 build got confused somehow. I just tried installing on my Ubuntu 14.04 VM and that worked. The timestamp from your error message looks strange. It's 2015.01.08 19:34:37 but the current version is openscad-nightly_20150108T170026.git76dc380_i386.deb That could mean some strange timezone problems going on... I'm not sure how to convince the installer to reconsider, maybe sudo apt-get update sudo apt-get install --reinstall openscad-nightly ciao, Torsten.
WW
William W Martin
Fri, Jan 9, 2015 4:31 PM

here's what happens with "update":
Err http://ppa.launchpad.net trusty/main Sources
404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
404  Not Found
......
W: Failed to fetch
http://ppa.launchpad.net/cae-team/ppa/ubuntu/dists/trusty/main/source/Sources
404  Not Found

W: Failed to fetch
http://ppa.launchpad.net/cae-team/ppa/ubuntu/dists/trusty/main/binary-i386/Packages
404  Not Found

E: Some index files failed to download. They have been ignored, or old
ones used instead.
.......

I think it's the same issue, whatever it may be. I have been able to get
the nightly build before...
Next:
sudo apt-get install --reinstall openscad-nightly
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
avr-libc avrdude binutils-avr gcc-avr libftdi1 libjna-java
liboce-ocaf-lite8
liboce-ocaf8 liboce-visualization8 librxtx-java python-ply
Use 'apt-get autoremove' to remove them.
Suggested packages:
geomview librecad
The following packages will be upgraded:
openscad-nightly
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 3,335 kB of archives.
After this operation, 262 kB of additional disk space will be used.
Get:1
http://download.opensuse.org/repositories/home:/t-paul/xUbuntu_14.04/ ./
openscad-nightly 20150108T170026.git76dc380 [3,335 kB]
Fetched 3,335 kB in 7s (418 kB/s)
(Reading database ... 222510 files and directories currently installed.)
Preparing to unpack
.../openscad-nightly_20150108T170026.git76dc380_i386.deb ...
Unpacking openscad-nightly (20150108T170026.git76dc380) over
(20150104T133806.git2fd06f4) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up cpio (2.11+dfsg-1ubuntu1.1) ...
Setting up openscad-nightly (20150108T170026.git76dc380) ...
wmartin@tortoise ~ $

I'm wondering if this has something to do with updating from an Ubuntu
repo, when the Linux version is "Mint"?
Looks as if it did update doing it this way, here is "about" text:

OpenSCAD http://www.openscad.orgversion 2015.01.08.nightly (git 76dc380)

thanks,
bill

On 01/08/2015 04:16 PM, Torsten Paul wrote:

On 01/09/2015 12:12 AM, William W Martin wrote:

speaking of development snapshots, is anyone else getting "not found"
errors from their
package updater (Linux)? For a few days now the nightly build is not
being found, even though
the package updater thinks there is something new in the repo. See
below:

I'm regularly installing the Ubuntu-14.10 version on my Debian system
which
did not show any problems.
Maybe the 14.04 build got confused somehow. I just tried installing on my
Ubuntu 14.04 VM and that worked.

The timestamp from your error message looks strange. It's 2015.01.08
19:34:37
but the current version is
openscad-nightly_20150108T170026.git76dc380_i386.deb
That could mean some strange timezone problems going on...

I'm not sure how to convince the installer to reconsider, maybe

sudo apt-get update
sudo apt-get install --reinstall openscad-nightly

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

here's what happens with "update": Err http://ppa.launchpad.net trusty/main Sources 404 Not Found Err http://ppa.launchpad.net trusty/main i386 Packages 404 Not Found ...... W: Failed to fetch http://ppa.launchpad.net/cae-team/ppa/ubuntu/dists/trusty/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/cae-team/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. ....... I think it's the same issue, whatever it may be. I have been able to get the nightly build before... Next: sudo apt-get install --reinstall openscad-nightly Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: avr-libc avrdude binutils-avr gcc-avr libftdi1 libjna-java liboce-ocaf-lite8 liboce-ocaf8 liboce-visualization8 librxtx-java python-ply Use 'apt-get autoremove' to remove them. Suggested packages: geomview librecad The following packages will be upgraded: openscad-nightly 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. Need to get 3,335 kB of archives. After this operation, 262 kB of additional disk space will be used. Get:1 http://download.opensuse.org/repositories/home:/t-paul/xUbuntu_14.04/ ./ openscad-nightly 20150108T170026.git76dc380 [3,335 kB] Fetched 3,335 kB in 7s (418 kB/s) (Reading database ... 222510 files and directories currently installed.) Preparing to unpack .../openscad-nightly_20150108T170026.git76dc380_i386.deb ... Unpacking openscad-nightly (20150108T170026.git76dc380) over (20150104T133806.git2fd06f4) ... Processing triggers for shared-mime-info (1.2-0ubuntu3) ... Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media type in type 'uri/rtspu' Processing triggers for mime-support (3.54ubuntu1.1) ... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up cpio (2.11+dfsg-1ubuntu1.1) ... Setting up openscad-nightly (20150108T170026.git76dc380) ... wmartin@tortoise ~ $ I'm wondering if this has something to do with updating from an Ubuntu repo, when the Linux version is "Mint"? Looks as if it did update doing it this way, here is "about" text: OpenSCAD <http://www.openscad.org>version 2015.01.08.nightly (git 76dc380) thanks, bill On 01/08/2015 04:16 PM, Torsten Paul wrote: > On 01/09/2015 12:12 AM, William W Martin wrote: >> speaking of development snapshots, is anyone else getting "not found" >> errors from their >> package updater (Linux)? For a few days now the nightly build is not >> being found, even though >> the package updater thinks there is something new in the repo. See >> below: >> > I'm regularly installing the Ubuntu-14.10 version on my Debian system > which > did not show any problems. > Maybe the 14.04 build got confused somehow. I just tried installing on my > Ubuntu 14.04 VM and that worked. > > The timestamp from your error message looks strange. It's 2015.01.08 > 19:34:37 > but the current version is > openscad-nightly_20150108T170026.git76dc380_i386.deb > That could mean some strange timezone problems going on... > > I'm not sure how to convince the installer to reconsider, maybe > > sudo apt-get update > sudo apt-get install --reinstall openscad-nightly > > ciao, > Torsten. > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >