Skip to content

Instantly share code, notes, and snippets.

View christianlupus's full-sized avatar

Christian Wolf christianlupus

  • Saarland University
  • Saarbrücken, Germany
View GitHub Profile
@christianlupus
christianlupus / gist:c274478fb6a80df2d7bb5cfb0e79b63d
Created November 16, 2016 10:42
./virt/bin/pip freeze | grep -i tornado
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
sockjs-tornado==1.0.3
tornado==4.0.2
@christianlupus
christianlupus / ics
Created March 21, 2018 14:48
Crashing Test horde calencar export
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Test
PRODID:-//The Horde Project//Horde iCalendar Library//EN
BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20180214T130000
DTEND;TZID=Europe/Berlin:20180214T140000
DTSTAMP:20180321T144147Z
UID:20180321154054.V3QWgv4hx_tIaWAdlmNgSs8@www.example.net
CREATED:20180321T144142Z
2018-06-22 08:22:40,556 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-06-22 08:22:40,577 - octoprint.server - INFO - OctoPrint 1.3.6
2018-06-22 08:22:40,600 - octoprint.plugin.core - INFO - 28 plugin(s) registered with the system:
| Active Filters (0.0.1) = /home/printer/OctoPrint/virt/local/lib/python2.7/site-packages/octoprint_active_filters
| Announcement Plugin (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/announcements
| Autoscroll (0.0.2) = /home/printer/OctoPrint/virt/local/lib/python2.7/site-packages/octoprint_autoscroll
| Backlash autocalibration (0.1) = /home/printer/OctoPrint/virt/local/lib/python2.7/site-packages/octoprint_autocalibration
| Core Wizard (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/corewizard
| Cost Plugin (0.1.2) = /home/printer/OctoPrint/virt/local/lib/python2.7/site-packages/octoprint_cost
| !CuraEngine (<= 15.04) (bundled) = /
@christianlupus
christianlupus / installation log
Last active June 22, 2018 11:04
Upgrade octoprint
$ ./virt/bin/python setup.py clean 2>&1 | tee /tmp/install.log
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running clean
removing 'build/lib.linux-armv6l-2.7' (and everything under it)
removing 'build/bdist.linux-armv6l' (and everything under it)
'build/scripts-2.7' does not exist -- can't clean it
@christianlupus
christianlupus / gist:7b84b4fe0ac4dfd68c9235f617a4e010
Created June 28, 2018 11:09
Octoprint logs with parser errors
2018-06-23 15:22:38,252 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-06-23 15:22:38,272 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-06-23 15:22:38,274 - octoprint.server - INFO - OctoPrint 1.3.9rc1
2018-06-23 15:22:38,292 - octoprint.plugin.core - INFO - 32 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Active Filters (0.0.1) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_active_filters
| Announcement Plugin (bundled) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint/plugins/announcements
| Autoscroll (0.0.2) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_autoscroll
| Backlash autocalibration (0.1) = /home/printer/OctoPrint/virt/lib/python2.7/site-packages/octoprint_autocalibration
| Core Wizard (bundled) = /home/printer/Octo
@christianlupus
christianlupus / PKGBUILD.patch
Created November 7, 2018 01:36
Patch to make slic3r-git buildable again
diff --git a/PKGBUILD b/PKGBUILD
index c584f7c..66e7c9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -198,7 +198,8 @@ package () {
# Icons " current Build.PL is not really geared for installation "
install -d $pkgdir/usr/bin/vendor_perl/var
- install -m 644 $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
+ cp -R $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.11-arch1-1-ARCH] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Samsung SpinPoint M9T
Device Model: ST2000LM003 HN-M201RAD
Serial Number: S377J9CH202645
LU WWN Device Id: 5 0004cf 211e03573
Firmware Version: 2BE10001
User Capacity: 2.000.398.934.016 bytes [2,00 TB]
(gdb) bt full
#0 0x00005653402860ed in zend_vm_calc_used_stack (func=0x20, num_args=1) at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_execute.h:209
used_stack = 6
used_stack = <optimized out>
#1 zend_vm_stack_push_call_frame (object=0x0, called_scope=0x0, num_args=1, func=0x20, call_info=0) at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_execute.h:217
used_stack = 96
used_stack = <optimized out>
#2 ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER () at /tmp/abs/packages/php/trunk/src/php-7.3.0/Zend/zend_vm_execute.h:2172
func_name = 0x7f0ca701f440
func = 0x7f0ca701f460
Jan 7 09:58:53 vps1 postfix/smtpd[20451]: disconnect from mout.web.de[212.227.17.11] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Effective uid=1002, gid=1002, home=/home/christian
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=maildir:~/Mailbox
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: maildir++: root=/home/christian/Mailbox, index=, indexpvt=, control=, inbox=/home/christian/Mailbox, alt=
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: userdb lookup skipped, username taken from USER environment
Jan 7 09:58:53 vps1 dovecot: lda(christian): Debug: none: root=, index=, indexpvt=, control=, inbox=,
diff --git a/PKGBUILD b/PKGBUILD
index 988814c..36a9c7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ source=("http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/${pkg
"${pkgname}.patch"
"${pkgname}-excluded_files")
sha256sums=('6b579bd4ecdf86f7e70a009886c511da0b5085b831b0d6afc42442cabc249b90'
- '7814e03ea944f5ee5ff791e97c13446a5274989a1679758a92af0405d0fc7dce'
+ '58574d4b9aa4c3658b9188cafd89ad0f09c1c1b3aa86743080d0f4b1d6576541'