[FFmpeg-user] [mpeg1video @ 0x7fb9ae801800] Invalid frame dimensions 0x0.

2019-02-20 Thread
hi all, I run the example "doc/examples/decode_video.c", but get the error "[mpeg1video @ 0x7fb9ae801800] Invalid frame dimensions 0x0. Error sending a packet for decoding". The command is: ./frame2ppm ../nanyou.mp4 ../hellodeng I'm on mac, the code is just the example code, I change nothing! Doe

Re: [TurboGears] Re: HTML to PDF

2012-05-24 Thread
You can try phantomJS, it's very easy to convert html to PDF file. 2012/5/24 Matt > My apologies; I was using tg2 2.1.1, and the code seems to have changed to > pass a dictionary in 2.1.4. > > For those finding this thread after me via google, the solution I ended up > going with is using xhtml.

Re: Learn DJango first, then learn Pinax; or just learn Pinax straight-off?

2011-09-18 Thread
I suggest learn django first 2011/9/17 Alec Taylor > Good afternoon, > > I plan on using Pinax for a project I'm doing (releasing project under > New BSD or similar). > > My Learning Plan is as follows: > 1. https://docs.djangoproject.com/en/dev//intro/tutorial01/ > https://docs.djangoproject.co

访问我的图片

2011-08-08 Thread
嗨, 我创建了一个Netlog个人主页,其中包括我的图片、视频、博客和活动。非常希望邀请你成为我的朋友,一起共享我们的天地。这需要你先在Netlog上注册哦!在登录后,你也可以创建属于自己的个人主页了。 看一看: http://zh.netlog.com/go/mailurl/-bT0yODcxNjc1NzAmbD0xJmdtPTEyJnU9JTJGZ28lMkZyZWdpc3RlciUyRmlkJTNELVozUnJMV0Z3Y0Mxa1pYWmxiQzFzYVhOMFFHZHViMjFsTG05eVp3X18lMjZ1aWQlM0QxMzY1MDI5NzM_ 祝好, 邓超

[Ubuntu-zh] 访问我的图片

2011-08-08 Thread
嗨, 我创建了一个Netlog个人主页,其中包括我的图片、视频、博客和活动。非常希望邀请你成为我的朋友,一起共享我们的天地。这需要你先在Netlog上注册哦!在登录后,你也可以创建属于自己的个人主页了。 看一看: http://zh.netlog.com/go/mailurl/-bT0yODcxNjczNjUmbD0xJmdtPTEyJnU9JTJGZ28lMkZyZWdpc3RlciUyRmlkJTNELWRXSjFiblIxTFhwb1FHeHBjM1J6TG5WaWRXNTBkUzVqYjIwXyUyNnVpZCUzRDEzNjUwMjk3Mw__ 祝好, 邓超

[sqlite] 访问我的图片

2011-08-08 Thread
嗨, 我创建了一个Netlog个人主页,其中包括我的图片、视频、博客和活动。非常希望邀请你成为我的朋友,一起共享我们的天地。这需要你先在Netlog上注册哦!在登录后,你也可以创建属于自己的个人主页了。 看一看: http://zh.netlog.com/go/mailurl/-bT0yODcxNjc1NTcmbD0xJmdtPTEyJnU9JTJGZ28lMkZyZWdpc3RlciUyRmlkJTNELWMzRnNhWFJsTFhWelpYSnpRSE54YkdsMFpTNXZjbWNfJTI2dWlkJTNEMTM2NTAyOTcz 祝好, 邓超

Re: Practical Django Projects blog app admin not showing entries with draft status

2010-02-03 Thread
register the class to the admin, you can find it in the source code. And you can download the source code at apress website. 2010/2/4 neridaj > I'm following along James Bennett's tutorials and when I save an entry > as a draft it doesn't show up in the admin interface for further > editing. Whe

Re: How to display Error Message

2010-01-05 Thread
If you use django's orm, maybe you can check their document at its website. 2010/1/6 Geobase Isoscale > Hi all, > > I have a Django extension that enables me to call predefined PostgreSQL > functions from the database. I would like to know how to display on the > browser the error message gotte

Re: Generic view object_detail on a m2m relationship

2010-01-04 Thread
Try to make a loop in the template, I guess that may can work 2010/1/5 Delacroy Systems > This is how I did it in views.py: > > def businessshowservice_view(request, business_id): >business = Business.objects.get(pk=business_id) >services = Business.objects.get(pk=business_id).service_se

Re: Binary Post Data to ImageField

2009-12-21 Thread
As I know Django can not save binary data with it's default orm, you can try to select another orm like sqlalchemy, or you can try to modify the orm to make it can save binary data. 2009/12/21 Markus T. > Hi, > > I'm trying to save binary POST data to an ImageFile field - so far > with no satisf

Re: How to change this function to use generic view

2009-12-07 Thread
Anyone? Please... 2009/12/7 一千瓦的刀狼 > Hello? Anyone can help me? > > On Dec 6, 9:18 am, 邓超 wrote: > > Hi all, > > I want to change below function to use the generic view function > > update_object: > > > > @login_required > > def edit_bug_pa

How to change this function to use generic view

2009-12-05 Thread
Hi all, I want to change below function to use the generic view function update_object: @login_required def edit_bug_page(request, bug_id = None): if bug_id == None: bugInstance = Bug() else: bugInstance = get_object_or_404(Bug, pk = bug_id) members = bugInstance.

Re: Got error when update object

2009-12-01 Thread
Hi DR, Thank you very much! It works now. I will check the doc about the difference of the queryset and instance. Anyway, thanks a lot! 2009/12/1 Daniel Roseman > On Dec 1, 3:24 pm, 邓超 wrote: > > Hi all, > > I'm writing a small app, and get an error when trying to u

Got error when update object

2009-12-01 Thread
Hi all, I'm writing a small app, and get an error when trying to update the object, the error message is 'QuerySet' object has no attribute '_meta'. and It shows that I made some mistake on this line: form = ProjectForm(instance = projectInstance). But I don't know where am I wrong. The below is

Re: [TurboGears] Running FlexiGrid with error

2009-11-30 Thread
Thank you for your answer, I have solved it, there are many code need change before this sample start to run in my PC. 2009/11/30 Diez B. Roggisch > On Monday 30 November 2009 03:49:44 Titainium wrote: > > Hi all, > > I'm tring to run the sample of the jquery flexigrid, the sample is > > here:

Re: [sqlite] Problem about write data into the DB

2009-10-22 Thread
The problem has solved, it's actually the permission configuration issue about write data to the table. the apache hasn't the permission to write data into the table, I modified the rights, then everything is OK now. Thanks! 2009/10/21 邓超 > Hi sqlite-users, > I deployed a

Re: Problem about write data into the DB

2009-10-22 Thread
much! 2009/10/22 bruno desthuilliers > > On 21 oct, 17:28, 邓超 wrote: > > Hi all, > > I deployed a django app on my laptop, the whole environment is like > this: > > the OS is UBUNTU904, the web server is Apache, > > If it's only for personal use on a sin

Problem about write data into the DB

2009-10-21 Thread
Hi all, I deployed a django app on my laptop, the whole environment is like this: the OS is UBUNTU904, the web server is Apache, and the database is sqlite3. The deployment is success, but when I try to write some data into the database, I get the HTTP 500 error. And I check the error log, it sh

[sqlite] Problem about write data into the DB

2009-10-21 Thread
Hi sqlite-users, I deployed a django app on my laptop, the whole environment is like this: the OS is UBUNTU904, the web server is Apache, and the database is sqlite3. The deployment is success, but when I try to write some data into the database, I get the HTTP 500 error. And I check the error l

Re: Django and CouchDB

2009-08-17 Thread
You can google it. I have read once, but forget the link address now. 2009/8/18 sjtirtha > Hi, > > can some body share about his experience using Django and CouchDB? > I found some python API that can be used to access CouchDB, which one is > the best and suitable to Django Framework. > > Regard

How to access blob type data in django

2009-07-28 Thread
Hi all, I'm trying to setup a picture library website using django. What I want to do is store the picture into the database directly and access the db to show them in the html file when user view in the web. I have read some documents and tutorial about the django but what I have learned is just

Re: [Ubuntu-zh] ubuntu-zh 摘要, 卷 50, 发布 8

2009-07-23 Thread
我没有修改系统配置,只是重新安装了系统,我猜想可能是字体原因。但是不知道为啥会字体出错。 2009/7/23 本日主题: 1. 一个奇怪的乱码问题,请指教 (邓超) 3. Re: 一个奇怪的乱码问题,请指教 (Xie, Shaohu) 7. Re: 一个奇怪的乱码问题,请指教 (石康志) -- Message: 1 Date: Sun, 19 Jul 2009 18:33:32 +0800 From: 邓超 Subject

[Ubuntu-zh] 一个奇怪的乱码问题,请指教

2009-07-19 Thread
Hi all, 最近我遇到一个奇怪的问题,我帮我妹妹装了ubuntu904, 最近她遇到了一个奇怪的问题,nautilus打开以后,所有的文件,文件夹都显示乱码,就是那种好像汉字码长不足,显示出来的乱码;按ctrl+c键调出来的scim面板都显示方块,输入的中文,以及scim的控制面板都显示方块;firefox浏览网页的时候,同一网页中有一部分内容和nautilus内显示的状况是一样的,还有一部分显示内容正常。其他的地方都显示正常,无论是菜单栏,还是打开openoffice等其他应用软件显示的中文都是正常的。我查看了locale配置文件,都是中文,zh_CN-UTF8的。后来我换了一个系

Re: [Ubuntu-zh] ubuntu-zh 摘要, 卷 44, 发布 40

2009-01-26 Thread
祝大家新年快乐!牛年行牛运! 2009/1/26 > Send ubuntu-zh mailing list submissions to >ubuntu-zh@lists.ubuntu.com > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh > or, via email, send a message with subject or body 'help' to >

Re: How to set background for a gtk window form using .gtkrc file

2008-02-26 Thread
I have searched some articles, it's compositing manager, am I right? 在08-2-25,Bin Chen <[EMAIL PROTECTED]> 写道: > > On Mon, Feb 25, 2008 at 9:13 PM, 邓超 <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want to use .gtkrc file to set the background for a window for

How to set background for a gtk window form using .gtkrc file

2008-02-25 Thread
Hi all, I want to use .gtkrc file to set the background for a window form to transparent, how to do it? I have read the tutorial at live.gnome.com, but it looks that it just can set color for a window form. Thanks! -- Deng Chao ___ gtk-app-devel-list