Contribute to Open Source. Search issue labels to find the right project for you!

I can't upload the file!!!

danmunn/redmine_dmsf

Hi, Whenever upload the file, I get the following message :

image

I can click on the file name but get the following message, too :

image

What should I do???

Here is my information for redmine :

Environment: Redmine version 3.4.2.stable Ruby version 2.3.3-p222 (2016-11-21) [i386-mingw32] Rails version 4.2.8 Environment production Database adapter Mysql2

Redmine plugins: redmine_dmsf 1.6.0

Updated 17/10/2017 07:07 1 Comments

literal block causes `j.l.ClassCastException`

google/bamboo-soy

Hey!

I got ClassCastException while I was browsing soy files. The minimal reproducible example is: soy {template .name} {literal} <p/> {/literal} {/template}

Stack trace: In file: file:///Users/serce/work/.../file.soy: com.intellij.psi.impl.source.tree.LeafPsiElement cannot be cast to com.google.bamboo.soy.elements.TagElement java.lang.ClassCastException: com.intellij.psi.impl.source.tree.LeafPsiElement cannot be cast to com.google.bamboo.soy.elements.TagElement at com.google.bamboo.soy.elements.TagBlockElement.getOpeningTag(TagBlockElement.java:26) at com.google.bamboo.soy.insight.annotators.IncompleteBlockAnnotator.annotate(IncompleteBlockAnnotator.java:31) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:139) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:368) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:301) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:327) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:330) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:634) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:330) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:330) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:330) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:298) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:238) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:438) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1160) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:431) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:430) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:406) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:142) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:249) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:404) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:165) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

My guess is that the problem caused by the presence of the literal block.

Updated 17/10/2017 09:17 1 Comments

DFV JS error on setting page with image field.

pods-framework/pods

Package: {"meta":{"version":"2.7.0-rc-1","build":1508170307},"pods":{"380":{"id":380,"name":"slider","label":"Slider","description":"","type":"settings","storage":"none","object":"","alias":"","fields":{"images":{"id":381,"name":"images","label":"Afbeeldingen","description":"","help":"","class":"","type":"file","weight":0,"pick_object":"custom-simple","pick_val":"","sister_id":"","required":"0","file_format_type":"multi","file_uploader":"attachment","file_attachment_tab":"upload","file_edit_title":"1","file_limit":"10","file_restrict_filesize":"10MB","file_type":"images","file_add_button":"Afbeelding toevoegen","file_modal_title":"Attach a file","file_modal_add_button":"Add File","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"unique":"0","file_linked":"0","file_show_edit_link":"0","file_field_template":"rows","file_allowed_extensions":""}},"show_in_menu":1,"menu_name":"Slider","menu_location":"top","ui_style":"settings","menu_location_custom":"pods-settings-companyprofile","pll_ajax_backend":"1","enable_i18n":{"de_DE":"1","en_GB":"1","fr_FR":"1","nl_NL":"1","nl_NL_formal":"1","pl_PL":"1"}}}}

Error: Uncaught TypeError: Cannot read property 'defaults' of undefined at n.invoke (pods-dfv.min.js?ver=2.7.0-rc-1:1) at n.onChildviewAddFileClick (pods-dfv.min.js?ver=2.7.0-rc-1:1) at n._childViewEventHandler (view.js:203) at _ (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,j&load[]=query-ui-mouse,jquery-ui-sortable,thickbox,underscore,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-medi&load[]=aelement,media-views,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-s&load[]=uggest,tags-box,word-count,post&ver=4c78ed7a7a5495672893285b8210efb4:648) at m (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,j&load[]=query-ui-mouse,jquery-ui-sortable,thickbox,underscore,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-medi&load[]=aelement,media-views,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-s&load[]=uggest,tags-box,word-count,post&ver=4c78ed7a7a5495672893285b8210efb4:648) at f (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,j&load[]=query-ui-mouse,jquery-ui-sortable,thickbox,underscore,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-medi&load[]=aelement,media-views,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-s&load[]=uggest,tags-box,word-count,post&ver=4c78ed7a7a5495672893285b8210efb4:648) at n.u.trigger (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,j&load[]=query-ui-mouse,jquery-ui-sortable,thickbox,underscore,backbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-medi&load[]=aelement,media-views,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-s&load[]=uggest,tags-box,word-count,post&ver=4c78ed7a7a5495672893285b8210efb4:648) at n.triggerMethod$1 (trigger-method.js:40) at n.triggerMethod (view.js:181) at n.<anonymous> (triggers.js:35)

Updated 16/10/2017 16:58 2 Comments

Use of implicit union return type causes "'boolean' is not assignable to type 'false'"

Microsoft/TypeScript

TypeScript Version: 2.6.0-dev.20171015

This relates to the render method of React components, specifically the use of false in the union return type: render(): JSX.Element | null | false

I’ve create a stand-alone example that demonstrates the issue. See the code comments for instructions.

Code

declare class Base {
    render(): Date | false;
}

class TestImplicitReturnType extends Base {

    render() /* ': false' is required here as explicit return type to prevent a compile error */ {
       return false;
    }

}

class TestControlFlow extends Base {

    render() {
        if (new Date().getTime() % 2 === 0) {
            return new Date(); /* removing this return statement causes the false value below to be rejected  */ 
        }
        return false;
    }

} 

Expected behavior: For TestImplicitReturn I should not be required to manually add : false as return type.

For TestControlFlow I should not be required to also return a Date to satisfy the type checker.

Actual behavior:

For TestImplicitReturn the compiler outputs: Class 'TestImplicitReturnType' incorrectly extends base class 'Base'. Types of property 'render' are incompatible. Type '() => boolean' is not assignable to type '() => false | Date'. Type 'boolean' is not assignable to type 'false | Date'.

For TestImplicitReturnType the compiler outputs the following when the date return statement is removed: Class 'TestControlFlow' incorrectly extends base class 'Base'. Types of property 'render' are incompatible. Type '() => boolean' is not assignable to type '() => false | Date'. Type 'boolean' is not assignable to type 'false | Date'.

Updated 16/10/2017 19:19 4 Comments

DevTools Error: Protocol error (Tracing.start): Tracing is already started

GoogleChrome/lighthouse

Initial URL: https://www.youtube.com/watch?v=4tVjyPUxZCo Chrome Version: 61.0.3163.100 Error Message: Protocol error (Tracing.start): Tracing is already started Stack Trace: Error: Protocol error (Tracing.start): Tracing is already started at callback.resolve.Promise.resolve.then._ (https://chrome-devtools-frontend.appspot.com/serve_file/@57c9d07b416b5a2ea23d28247300e4af36329bdc/audits2_worker/audits2_worker_module.js:534:516) at <anonymous>

Updated 16/10/2017 16:19 1 Comments

Narrowing is not invalidated when side effects occur outside of current scope

Microsoft/TypeScript

Why is there an error?

TypeScript Version: 2.6.0-dev.20171015

Code ```ts enum SomeEnum { k1 = 1, k2 = 2, k3 = 3 }

class SomeClass { state: SomeEnum = SomeEnum.k1 method() { if (this.state === SomeEnum.k1) { maybeUpdate(); //error - [ts] Operator ‘===’ cannot be applied to types ‘SomeEnum.k1’ and ‘SomeEnum.k2’. if (this.state === SomeEnum.k2) { this.state = SomeEnum.k3 } } } }

const obj = new SomeClass(); obj.method(); function maybeUpdate() { if (Math.random() < 0.5) { obj.state = SomeEnum.k2; } } ```

Expected behavior: No error Actual behavior: wtf error

Updated 16/10/2017 20:19 3 Comments

support interface key can be type string union type

Microsoft/TypeScript

<!– BUGS: Please use this template. –> <!– QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript –> <!– SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md –>

<!– Please try to reproduce the issue with typescript@next. It may have already been fixed. –> TypeScript Version: 2.5.3 Code ``ts // A *self-contained* demonstration of the problem follows... // Test this by runningtsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc. interface StatesType { password: string; username: string; isLoad: boolean; } type typeNames = ‘password’ | ‘username’;

class SignIn extends React.Component<object, StatesType> { render() { const inputEvent = (type: typeNames) => (e: any) => this.setState({ [type]: e.target.value }); return <input onChange={inputEvent(‘username’)} /> } } if i give a interface to react component, react setState function only accept state with one more key in given state, like this ts { password: ‘’ } // or { username: ‘’ } i hope new state`s key is dynamic, but typescript inference it is ts interface { [x: string]: string; } ``` and not match the signature of setState and report an error. Expected behavior: no error; Actual behavior: Argument of type ‘{ [x: string]: string; }’ is not assignable to parameter of type ‘Pick<StatesType, “username” | “password” | “isLoad”>’. Property ‘username’ is missing in type ‘{ [x: string]: string; }’.

Updated 16/10/2017 17:38 1 Comments

[REFLEX 10.2-1U]CONSOLE BUG

MeGysssTaa/ReflexIssueTracker

Reflex Bug Report

Issue type (console error/false positive/bypass/other): console error

Do /reflex debug, and paste here the link you’ve got. Keep empty if on test server: Can’t load the reflex!

A video proving the bypass/false positive if reporting a bypass/false positive, a link to your server log if reporting a console error, or a link to your Reflex log if reporting a bypass/false positive: org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: rip/reflex/ah at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot.jar:git-Spigot-21fe707-e1ebe52] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-21fe707-e1ebe52] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] Caused by: java.lang.NoClassDefFoundError: rip/reflex/ah at rip.reflex.Reflex.<init>(en:135) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_131] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:76) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] … 6 more Caused by: java.lang.ClassNotFoundException: rip.reflex.ah at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131] at rip.reflex.Reflex.<init>(en:135) ~[?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_131] at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_131] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:76) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-21fe707-e1ebe52] … 6 more

Additional information (i.e. how to reproduce the issue you are experiencing etc.):

Updated 16/10/2017 18:49 1 Comments

Multi ROI cell detection fails randomly

qupath/qupath

Hello!

We had been running qupath for cell detection on a number of small images crops and it worked well. However later we decided that it would be better to make a mosaic out of input images and open one instance of qupath with a mosaic image and then run cell detection on a number of ROI.

This time it did not work well. At the begining it seemed to work, so we started integrating that. Later it turned out that it randomly messes up giving a result of one ROI in multiple ones. You can see that in the screenshot.

image

It happens only one in a 2-3 runs. What’s more today I’ve been thinking about how I want to avoid multithreading in some other project (as it is error prone) and realized that it may be the case here. So I changed the number of processors per parallel command (in preferences) and it seems that the problem no longer exists :)

To sum up, multi ROI cell detection fails randomly when multithreading is on.

Updated 16/10/2017 19:14 2 Comments

Type Inference does not work for generics with default types

Microsoft/TypeScript

<!– BUGS: Please use this template. –> <!– QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript –> <!– SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md –>

<!– Please try to reproduce the issue with typescript@next. It may have already been fixed. –> TypeScript Version: 2.6.0-dev.201xxxxx

Code

type FormattedDataProvider<T, R = {}> = {
  src: R,
  format: (item: R) => T
}

let a: FormattedDataProvider<string> = {
  src: { a: 23 },
  format: v => String(v.a)
}

Expected behavior:

This should compile and infer that v is of type {a: number}.

Actual behavior: v is inferred to the default type {}, which results in an error: error TS2339: Property ‘a’ does not exist on type ‘{}’.

Updated 16/10/2017 19:01 2 Comments

Proposal: option to disable implicit boolean cast in conditions

Microsoft/TypeScript

I came across a very silly bug in my code which the Typescript compiler did not catch. Consider the following snippet of code:

class MyClass {
    public /*get*/ flag(): boolean {
        return false;
    }

    public doStuff() {
        if(this.flag) {
            alert('hello');
        }
    }
}

The alert will always be executed, because the property has been mis-declared as a method. Instead of invoking the getter and checking its return value, we instead evaluate the body as truthy.

While this behaviour is expected in many cases, it would be nice to have a compilation flag to enable additional checks, for example - noImplicitBool. It would require expressions in classic control structures (if, while, for) to be explicitly of the boolean type.

The flag should not affect the behaviour of the || operator, which is often used for coalescing values of arbitrary types.

Updated 16/10/2017 16:39 3 Comments

When previewing : Fatal error: Class ‘ HA_Customize_Header_Image_Data_Setting ‘ not found

presscustomizr/hueman-addons

https://wordpress.org/support/topic/fatal-error-message-when-editing-a-theme-2/

Fatal error message when editing a theme Hi, I have a small problem, when I go to edit the theme, I get this error and I cant see the theme preview:

Fatal error: Class ‘ HA_Customize_Header_Image_Data_Setting ‘ not found in\/membri\/helpdesk32\/wp-content\/plugins\/hueman-addons\/addons\/skop\/czr-skop.php on line 2334

You can control the problem?

Waiting I thank you in advance.

Updated 16/10/2017 07:53 2 Comments

All points in OSM were deleted.

TraceyLauriault/COMS2200A

OSM user: Alex Hornby Hi Denis, For Crowd Sourcing Assignment 4, I went to take a screenshot of my 20 points on OSM and have found that all 20 points have been deleted for duplicate reasons so it does not show my points, only the areas they were once located (photo attached). My question is, what should I be taking a screenshot of since my points are now gone to prove I’ve done the assignment? My changesets? osm

Updated 15/10/2017 23:56 1 Comments

Huge Dupe bug (Stackables)

PrinceOfAmber/Cyclic

Minecraft version & Mod Version: 1.12.1, cyclic 1.8.6

Single player or Server: Server (Minecraft Mod Developement public server)

Describe problem (what you were doing / what happened): Shift clicking an item into a full cyclic inventory (The inventory upgrade) dupes any item that is stackable if there is space in the vanilla inventory. 2017-10-14_19 32 07 2017-10-14_19 32 09 2017-10-14_19 32 12 2017-10-14_19 32 13 2017-10-14_19 32 15 2017-10-14_19 32 16

Crash log (if any): None

(If this is a suggestion and not a bug report, delete all this and just write your suggestion!)

Updated 15/10/2017 23:33 2 Comments

無法維護遊戲桌資料

Dmans/diagonalley-bg-store-system

重現步驟:

  1. 新增一個遊戲桌名稱“T4"
  2. 新增後到查詢遊戲桌介面查出此遊戲桌,並進入維護畫面
  3. 不修改任何資料按下維護
  4. 系統顯示名稱重複,無法順利維護遊戲桌資料

<img width=“251” alt=“2017-10-14 3 24 52” src=“https://user-images.githubusercontent.com/14008567/31573723-3300dcd8-b087-11e7-83e8-0ae86a379de7.png”>

Updated 14/10/2017 07:30 1 Comments

Emit metadata with union constituents

Microsoft/TypeScript

Right now, when we emit meta data of one property that is defined as:

class A {
    @Property()
    p1: 's1' | 's2';
}

We emit the metadata as:

__metadata("design:type", String)

So, whoever is using this metadata cannot know the literal types of p1. A library author has to decorate the literal types s1 and s2 in order to access these literal types:

class A {
    @Property(strings: ['s1', 's2'])
    p1: 's1' | 's2';
}

Why don’t we just emit it as an array instead? ts __metadata("design:type", ['union', 's1', 's2'])

Related to:

12703

Updated 14/10/2017 00:50 1 Comments

Can not download pdf from remote URI

barteksc/AndroidPdfViewer

My snippet: ```

pdfView = findViewById(R.id.pdfView); pdfView.fromUri(Uri.parse(“http://dl.dropboxusercontent.com/s/2v42h36tdcd6ii8/portrait.pdf”)) .defaultPage(currentPage) .swipeHorizontal(true).load(); ```

But I get error:

 E/PDFView ( 8973): load pdf error
 E/PDFView ( 8973): java.io.FileNotFoundException: No content provider: http://dl.dropboxusercontent.com/s/2v42h36tdcd6ii8/portrait.pdf
 E/PDFView ( 8973): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:758)
 E/PDFView ( 8973): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:662)
 E/PDFView ( 8973): at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:575)
 E/PDFView ( 8973): at com.github.barteksc.pdfviewer.source.UriSource.createDocument(UriSource.java:37)
 E/PDFView ( 8973): at com.github.barteksc.pdfviewer.DecodingAsyncTask.doInBackground(DecodingAsyncTask.java:53)
 E/PDFView ( 8973): at com.github.barteksc.pdfviewer.DecodingAsyncTask.doInBackground(DecodingAsyncTask.java:25)
 E/PDFView ( 8973): at android.os.AsyncTask$2.call(AsyncTask.java:287)
 E/PDFView ( 8973): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
 E/PDFView ( 8973): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
 E/PDFView ( 8973): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
 E/PDFView ( 8973): at java.lang.Thread.run(Thread.java:841)

Is method pdfView.fromUri not work with remote url?

Updated 16/10/2017 11:53 6 Comments

The type or method xxx cannot be used for 'Extension' development

Microsoft/AL

Codeunit 12 - UnapplyCustLedgEntry Table 5994 - SendProfile Table 36 - IsApprovedForPostingBatch Codeunit 1535 - DeleteApprovalEntry Codeunit 1004 - FromPurchaseLineToJnlLine Codeunit 1535 - PrePostApprovalCheckPurch

Need to have access to Profile Metadata table, as MS has create Profiles using config mode, we are not able to delete some actions on Role centers which are not required and must to remove from our end.

Updated 13/10/2017 15:39 2 Comments

Broken rendering of Midnight Commander (Ncurses console application)

Microsoft/BashOnWindows

Windows 10 64bit vesion 1703 build 15063.674 English

How to reproduce

  1. Install Midnight Commander by: apt-get install mc
  2. Start Midnight Commander: mc
  3. Rendering will have black areas, already broken
  4. To reproduce the behavior on the screenshot open the menu by pressing F9, then press ENTER to drop down the menu, then press Left/Right arrows to navigate between the menus

Screenshot

image

Updated 13/10/2017 20:15 1 Comments

Different timezones causing elapsed time to be incorrectly displayed

OpenEVSE/ESP8266_WiFi_v2.x

As reported:

https://community.openenergymonitor.org/t/openevse-wifi-gateway-fw-stable-release-v2-4-1/5340/2?u=glyn.hudson

I notice in your screenshots that your Elapsed Time always has leading zeros. My Elapsed Time always leads with 19. I live in Atlanta, GA. I am assuming this is due to GMT-5 Eastern Time Zone? Screenshot below: (I was charging for 4 min 21 sec. not 19 hours 4 min and 21 sec.)

Updated 13/10/2017 00:27

Untangled duplicate Tirana records

whosonfirst-data/whosonfirst-data

Fixes https://github.com/whosonfirst-data/whosonfirst-data/issues/983

  • Deprecated, added is_current=0, and superseded one Tirana record into the other, added superseded_by to the current record.
  • Brought over all extra name:*, qs:*, and gn:* properties
  • Brought over all concordances
  • Used the wof:concordances_alt property for the second qs concordance id

Kept the Tirana record beginning with 421, deprecated the record beginning with 890 due to work done here: https://github.com/whosonfirst-data/whosonfirst-data/pull/735/files

Updated 16/10/2017 22:35

error building asciidoctor-maven-examples

asciidoctor/asciidoctor-maven-examples

Trace $ mvn [INFO] Scanning for projects… [INFO] [INFO] ———————————————————————— [INFO] Building Asciidoc to reveal.js Maven example 1.0.0-SNAPSHOT [INFO] ———————————————————————— [INFO] [INFO] — download-maven-plugin:1.2.1:wget (install-asciidoctor-revealjs) @ asciidoc-to-revealjs-example — Downloading: https://github.com/asciidoctor/asciidoctor-reveal.js/archive/master.zip [INFO] /? [INFO] — download-maven-plugin:1.2.1:wget (install-revealjs) @ asciidoc-to-revealjs-example — Downloading: https://github.com/hakimel/reveal.js/archive/3.5.0.zip [INFO] /? [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ asciidoc-to-revealjs-example — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Fred\Downloads\asciidoctor-maven-examples-master\asciidoc-to-revealjs-example\src\main\resources [INFO] [INFO] — asciidoctor-maven-plugin:1.5.6:process-asciidoc (generate-slides) @ asciidoc-to-revealjs-example — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] Copying 1 resource oct. 12, 2017 10:32:00 PM org.asciidoctor.internal.JRubyAsciidoctor renderFile GRAVE: (RuntimeError) Could not find a converter to handle transform: document [INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 46.392 s [INFO] Finished at: 2017-10-12T22:32:00+02:00 [INFO] Final Memory: 31M/197M [INFO] ———————————————————————— [ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.6:process-asciidoc (generate-slides) on project asciidoc-to-revealjs-example: Execution generate-slides of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.6:process-asciidoc failed: org.jruby.exceptions.RaiseException: (RuntimeError) Could not find a converter to handle transform: document -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Updated 13/10/2017 16:53 4 Comments

Modify search result

wildan3105/github-langs

Current behavior: Results are shown like this : current2

Expected behavior: It would be good to show the amount of unique language(s) accross repo(s) of github’s account. I made a simple sketch of it :

new

I think it’s more clean and informative. Or maybe we could add the icon of repo and language (?) Suggestions are welcome.

Updated 16/10/2017 13:31 11 Comments

issue with SeverityLevel in ver 1.0.10 of logback implementation

Microsoft/ApplicationInsights-Java

After update to 1.0.10 we stopped getting data in AI. Specifically statements like this would no longer come through:

this.logger.debug(“Starting Services:debug”); this.logger.error(“Starting Services:error”); this.logger.info(“Starting Services:info”); this.logger.trace(“Starting Services:trace”); this.logger.warn(“Starting Services:warn”);

However if I used the TelemetryClient directly, it worked just fine: this.telemetry.trackTrace(“Starting services:custom trace:”+new java.util.Date());

After some digging around, whenever SeverityLevel was set on a TraceTelemetry object, it would not come through.

I could get it working again by doing my own implementation of ApplicationInsightsLogEvent.java which would always return null in the getNormalizedSeverityLevel method.

For now, I just downgraded to ver 1.0.9 and everything is working again

Br /Lars

Updated 17/10/2017 09:27 2 Comments

URL and tab bar do not hide in full screen mode

brave/browser-laptop

Description

URL and tab bar are not hidden in full screen mode while Windows' task bar gets hidden (i.e. browser is indeed going into full screen mode).

Steps to Reproduce

I cannot get rid of this bug.

Actual result: Bars are present.

Expected result: They should not.

Reproduces how often: Reproducible on my machine 100% of cases.

Brave Version

Brave | 0.19.44 rev | e391af1 Muon | 4.4.28 libchromiumcontent | 61.0.3163.100 V8 | 6.1.534.41 Node.js | 7.9.0 Update Channel | Beta OS Platform | Microsoft Windows OS Release | 6.1.7601 OS Architecture | x64

Same on 0.18.36.

Reproducible on current live release: Yes.

Additional Information

https://imgur.com/a/jbLSt It worked for few days first. Restart, reboot or installing Brave for different user changes nothing. It is very interesting how can there be any state saved between users which causes this bug. I can provide more information and try to debug this if there are guides about that.

Updated 17/10/2017 08:56 3 Comments

Suggestion: Allow named functions to use predefined types

Microsoft/TypeScript

Currently there is no way to use a predefined type with a named function in typescript. I find this regularly causes issues with functional stateless components in React.

function NamedComponent() {
  return <div />;
}
// [ts] Property 'propTypes' does not exist on type '() => Element'.
NamedComponent.propTypes = {};

const ConstComponent: React.SFC<{}> = () => {
  return <div />;
};
ConstComponent.propTypes = {};

I’m propose a method to type traditionally named functions.

Grammar Options

Option 1

function: React.SFC<{}>  NamedComponent() {
  return <div />;
}

Option 2

function NamedComponent: React.SFC<{}> () {
  return <div />;
}
Updated 12/10/2017 11:00 4 Comments

Copy of primitive array with @Nullable / Optional<int[]>

immutables/immutables

Setup: Immutables 2.5.6

It seems, that primitive array-values annotated with @Nullable are not copied. The generated builder does call .clone().

Value-Class ```java @Value.Immutable public interface DummyTest {

int[] primitive1();

@Nullable int[] primitive2();

Optional<int[]> primitive3();

byte[] bytePrimitive2();

String[] stringArray(); } ```

Tests: - Nullable ```java @Test public void name() throws Exception { int[] i = new int[]{1, 2, 3}; int[] iCopy = Arrays.copyOf(i, 3);

DummyTest build = ImmutableDummyTest.builder()
    .primitive1(1, 2, 3)
    .primitive2(i)
    .primitive3(new int[]{1, 2, 3
    })
    .bytePrimitive2((byte) 1)
    .stringArray("v1", "v2")
    .build();

i[0] = 666;

assertThat(build.primitive2()).containsExactly(iCopy);

} ```

  • Optional ```java @Test public void name2() throws Exception { int[] i = new int[]{1, 2, 3};

    int[] iCopy = Arrays.copyOf(i, 3);

    DummyTest build = ImmutableDummyTest.builder() .primitive1(1, 2, 3) .primitive2(i) .primitive3(i) .bytePrimitive2((byte) 1) .stringArray(“v1”, “v2”) .build();

    i[0] = 666;

    assertThat(build.primitive3().isPresent()).isTrue(); assertThat(build.primitive3().get()).containsExactly(iCopy); } ```

Generated: java /** * @return A cloned {@code primitive2} array */ @Override public @Nullable int[] primitive2() { return primitive2; }

Generated - Should be: java @Override public @Nullable int[] primitive2() { if(primitive2 != null) { return primitive2.clone(); } return null; }

Updated 16/10/2017 17:03 2 Comments

Name collisions in intersection types should be of a union type

Microsoft/TypeScript

<!– BUGS: Please use this template. –> <!– QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript –> <!– SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md –>

TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx)

Code

const x = Object.assign({}, {type: '42'}, { type: 42 });
let type = x.type;
type.substring(0); // runtime failure

Expected behavior: Variable type should be number | string. Actual behavior: It is number & string.

In general we cannot presume that every function that produces intersections will also intersect any properties.

Updated 11/10/2017 17:30 1 Comments

Please allow software rendering contexts.

glfw/glfw

The context creation hardcodes checks for accelerated contexts. My application doesn’t mind having a non-accelerated software rendering context, and it would be very helpful if I could tell glfw that HW acceleration is not required so that I can test my software in virtualbox and other systems that don’t have HW accelerated drivers installed.

Updated 15/10/2017 17:32 3 Comments

Support for Family Tree

dabeng/OrgChart

I want to create Family Tree Structure using this OrgChart, but I am not sure currently there is any support to have 2 parent nodes for one child node. Please let me know if there is any support for Family Tree Structure.

Updated 16/10/2017 00:55 2 Comments

How Do I File A DMCA?

bigbangthemes/TicketLab_Issue_Tests

I truly love VIM – it’s one of only a handful of applications I’ve every come across that make you feel warm and fuzzy inside. However, for PHP development, I still use PDT Eclipse although I would love to switch. The reason I can’t quite at the moment is the CTRL+SPACE code-assist functionality that I rely on so much – it’s so useful, especially when type hinting, or using PHPDoc variable comment blocks. I know there are cool plugins for VIM out there that can probably replicate this functionality and then some – but what are they?

-----------------------------Reply 1

Look at SuperTab for making tab-autocompletion in Vim a bit easier to use than the standard bindings. You may also want to look into ctags, if you're into code indexing. Google "php vim ctags" and you'll see plenty of articles describing how to set it up.

The official Vim Wiki has a PHP section with some good tips, like integrating the official PHP documentation. —————————–Reply 2

Hi,

I’m going to mark this ticket as solved. In case there’s anything else you’d like to know, please let us know and we’ll be happy to help! —————————–Reply 3

&lt;h4&gt;I can&#039;t insert images?&lt;/h4&gt;

 

Updated 11/10/2017 04:48

Preference Box on High Res Screen

jasp-stats/jasp-desktop

On my infamous laptop screen, the preference box looks suboptimal (see screenshot). However, I can fix that by simply resizing the box. 1. It would be nice if it looked good without having to resize; 2. The boxes for “OK” and “Cancel” are slightly too small, and I can’t resize those. E.J. prefboxonhighresscreen

Updated 11/10/2017 08:33

tttt

yugalshah12/yugals

tttt

Event: {“function”: “process_migration”, “exception”: {“stacktrace”: “Traceback (most recent call last):\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 215, in process_migration\n return self.process_migration()\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 433, in process_migration\n set_statistic_props(group, trend)\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 96, in set_statistic_props\n series_or_group[‘numeric’] = ‘{};numeric’.format( trend_data[‘numeric’] )\nKeyError: ‘numeric’\n”, “class”: “KeyError”}, “level”: “ERROR”, “timestamp”: “17-10-10 13:04:57,287936”, “cid”: 102, “client_ip”: “115.119.239.228”, “pathname”: “/opt/loggly/web/app/otf_migration/migrator.py”, “lineno”: 221, “msg”: {“action”: “migrate widget”, “status”: “failed”, “reason”: “‘numeric’”}, “session_key”: “w8e0fivjqbhlbmkbda55ybtw6qe4co7r”, “error_msg”: “‘numeric’”, “unique_id”: “APPcf2cd203-01da-4bf6-9836-bdb3ef780e86”, “user”: “logdog1_admin12”}

Permalink: https://testloggly001.qa3.loggly.net/search#terms=json.exception.stacktrace:*&from=2017-10-10T12:50:01.559Z&until=2017-10-10T13:10:01.559Z&source_group=43247

Updated 10/10/2017 13:19 1 Comments

1010171010:)

yugalshah12/test2

Event: {“function”: “process_migration”, “exception”: {“stacktrace”: “Traceback (most recent call last):\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 215, in process_migration\n return self.process_migration()\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 433, in process_migration\n set_statistic_props(group, trend)\n File \”/opt/loggly/web/app/otf_migration/migrator.py\“, line 96, in set_statistic_props\n series_or_group[‘numeric’] = ‘{};numeric’.format( trend_data[‘numeric’] )\nKeyError: ‘numeric’\n”, “class”: “KeyError”}, “level”: “ERROR”, “timestamp”: “17-10-10 13:04:57,287936”, “cid”: 102, “client_ip”: “115.119.239.228”, “pathname”: “/opt/loggly/web/app/otf_migration/migrator.py”, “lineno”: 221, “msg”: {“action”: “migrate widget”, “status”: “failed”, “reason”: “‘numeric’”}, “session_key”: “w8e0fivjqbhlbmkbda55ybtw6qe4co7r”, “error_msg”: “‘numeric’”, “unique_id”: “APPcf2cd203-01da-4bf6-9836-bdb3ef780e86”, “user”: “logdog1_admin12”}

Permalink: https://testloggly001.qa3.loggly.net/search?terms=tag:file_upload&from=-20m&until=now&source_group=&newtab=1#terms=json.exception.stacktrace:*&from=2017-10-10T12:50:01.559Z&until=2017-10-10T13:10:01.559Z&source_group=

Updated 10/10/2017 13:16 1 Comments

Show upload progression

git-ftp/git-ftp

First, thanks for the amazing tool! This issue is an enhancement suggestion.

Enhancement

Currently the terminal only shows an “Uploading…” message while the files are being transferred. This is fine but if you’re uploading a large amount of files, you may believe it’s stuck.

It would be great to see the progression instead. Either a progressbar, a percentage, and/or an ETA would be ideal. Most CLI programs do it already, it would only make Git-FTP better.

Thanks for considering!

Updated 14/10/2017 10:00 1 Comments

Fork me on GitHub